#import <CC3ShaderSemantics.h>
Properties | |
NSString * | name |
GLenum | semantic |
GLuint | semanticIndex |
A CC3GLSLVariableConfiguration carries information for configuring a single CC3GLSLVariable.
An implementation of the CC3ShaderSemanticsDelegate protocol will typically contain a collection of instances of this class, or a subclass, to configure the variables associated with a CC3ShaderProgram.
This base implementation maps a variable name to a semantic value. Subclasses may add additional variable configuration information.
|
readwritenonatomicretain |
The name of the variable.
Typically this is the name of the variable as declared in the GLSL program source code.
|
readwritenonatomicassign |
A symbolic constant indicating the semantic meaning of this variable.
See the description of the same property on the CC3GLSLVariable class for a full description.
The initial value of this property is kCC3SemanticNone.
|
readwritenonatomicassign |
When the semantic refers to an element of a structure that may have multiple instances, this property indicates to which instance this variable refers.
See the description of the same property on the CC3GLSLVariable class for a full description.
The initial value of this property is zero.