CC3GLSLAttribute Class Reference
Inherits from | CC3GLSLVariable : NSObject |
Declared in | CC3GLSLVariable.h |
Properties
type
Returns a symbolic constant indicating the type of content held by this variable.
@property (nonatomic, readonly) GLenum type
Discussion
The returned value will be one of the following symbolic constants: – GL_FLOAT, GL_FLOAT_VEC2, GL_FLOAT_VEC3, GL_FLOAT_VEC4, – GL_FLOAT_MAT2, GL_FLOAT_MAT3, or GL_FLOAT_MAT4
Declared In
CC3GLSLVariable.h