# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

CVPSwizzle Struct Reference

Swizzle of an operand in a vertex program. More...

#include <vertex_program_parse.h>

List of all members.

Public Types

enum  EComp { X = 0, Y = 1, Z = 2, W = 3 }

Public Methods

bool isScalar () const
bool isIdentity () const

Public Attributes

EComp Comp [4]


Detailed Description

Swizzle of an operand in a vertex program.

Definition at line 35 of file vertex_program_parse.h.


Member Enumeration Documentation

enum CVPSwizzle::EComp
 

Enumeration values:
X 
Y 
Z 
W 

Definition at line 37 of file vertex_program_parse.h.

Referenced by letterToSwizzleComp.


Member Function Documentation

bool CVPSwizzle::isIdentity   const [inline]
 

Definition at line 47 of file vertex_program_parse.h.

References Comp, W, X, Y, and Z.

Referenced by dumpSwizzle, and NL3D::CDriverGL::setupEXTVertexShader.

bool CVPSwizzle::isScalar   const [inline]
 

Definition at line 40 of file vertex_program_parse.h.

References Comp.

Referenced by dumpSwizzle, CVPParser::parseInstruction, and NL3D::CDriverGL::setupEXTVertexShader.


Member Data Documentation

EComp CVPSwizzle::Comp[4]
 

Definition at line 38 of file vertex_program_parse.h.

Referenced by dumpSwizzle, isIdentity, isScalar, CVPParser::parseOperand, CVPParser::parseSwizzle, and NL3D::CDriverGL::setupEXTVertexShader.


The documentation for this struct was generated from the following file: