GL Studio C++ Runtime API
|
#include <gls_render_effect.h>
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 | |
virtual GLint | GetVertexAttribIndexForSemantic (int semanticEnum)=0 |
Abstract interface that is needed to tell the GlsGeometryResource which vertex attrib indices to use for a given rendering pass. (e.g. the attribute index to use can vary depending on the shader used).
The AttributeSemanticEnum enumeration. These are the predefined semantic values from the Cg language. Users should be able to define their own in the future, but these will be it for now.
|
pure virtual |
semanticEnum | The sematic value (see AttributeSemanticEnum) |
Implemented in Effect_DiffNormSpecRefl, and Effect_DirectXShader.