Python Script Engine  8.0
GL Studio Editor Python Script API
VertexAttribIndexLookup Class Referenceabstract
+ Inheritance diagram for VertexAttribIndexLookup:

Public Types

enum  AttributeSemanticEnum {
  ATTRIB_UNDEFINED = 0,
  ATTRIB_POSITION = 0x80000000,
  ATTRIB_NORMAL,
  ATTRIB_BLENDWEIGHT,
  ATTRIB_TANGENT,
  ATTRIB_BINORMAL,
  ATTRIB_BLENDINDICES,
  ATTRIB_PSIZE,
  ATTRIB_TEXCOORD0,
  ATTRIB_TEXCOORD1,
  ATTRIB_TEXCOORD2,
  ATTRIB_TEXCOORD3,
  ATTRIB_TEXCOORD4,
  ATTRIB_TEXCOORD5,
  ATTRIB_TEXCOORD6,
  ATTRIB_TEXCOORD7
}
 

Public Member Functions

int GetVertexAttribIndexForSemantic (int semanticEnum)=0
 

Member Enumeration Documentation

Enumerator
ATTRIB_UNDEFINED 
ATTRIB_POSITION 
ATTRIB_NORMAL 
ATTRIB_BLENDWEIGHT 
ATTRIB_TANGENT 
ATTRIB_BINORMAL 
ATTRIB_BLENDINDICES 
ATTRIB_PSIZE 
ATTRIB_TEXCOORD0 
ATTRIB_TEXCOORD1 
ATTRIB_TEXCOORD2 
ATTRIB_TEXCOORD3 
ATTRIB_TEXCOORD4 
ATTRIB_TEXCOORD5 
ATTRIB_TEXCOORD6 
ATTRIB_TEXCOORD7 

Member Function Documentation

int VertexAttribIndexLookup::GetVertexAttribIndexForSemantic ( int  semanticEnum)
pure virtual
Returns
The attributeIndex that should be used to pass the vertex attributes or -1 if they are not needed (see glVertexAttrib)
Parameters
semanticEnumThe sematic value (see AttributeSemanticEnum)

Implemented in Effect_DiffNormSpecRefl, and GlsRenderEffect.


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