GL Studio API
Public Member Functions | List of all members
VertexAttribIndexLookup Class Referenceabstract
Inheritance diagram for VertexAttribIndexLookup:
GlsRenderEffect Effect_DiffNormSpecRefl Effect_DirectXShader

Public Member Functions

virtual GLint GetVertexAttribIndexForSemantic (int semanticEnum)=0
 

Member Function Documentation

virtual GLint 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 Effect_DirectXShader.


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