v2.0.2
Properties | List of all members
CC3GLSLAttribute Class Reference

#import <CC3GLSLVariable.h>

Inheritance diagram for CC3GLSLAttribute:
Inheritance graph
[legend]

Properties

GLenum type
 
- Properties inherited from CC3GLSLVariable
GLuint index
 
BOOL isGLStateKnown
 
GLint location
 
NSString * name
 
CC3ShaderProgramprogram
 
CC3GLSLVariableScope scope
 
GLenum semantic
 
GLuint semanticIndex
 
GLint size
 
GLuint storageElementCount
 
GLenum type
 
GLuint typeStorageElementCount
 

Additional Inherited Members

- Instance Methods inherited from CC3GLSLVariable
(id) - copyAsClass:
 
(id) - copyWithZone:asClass:
 
(NSString *) - fullDescription
 
(id) - initInProgram:atIndex:
 
(void) - normalizeName
 
(void) - populateFrom:
 
- Class Methods inherited from CC3GLSLVariable
(id) + variableInProgram:atIndex:
 

Detailed Description

Represents an attribute variable used in a GLSL shader program.

Property Documentation

- (GLenum) type
readnonatomicassign

Returns a symbolic constant indicating the type of content held by this variable.

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

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