v2.0.2
Protected Attributes | List of all members
CC3VertexAttr Struct Reference

#import <CC3OpenGL.h>

Protected Attributes

GLint elementSize
 
GLenum elementType
 
GLenum glName
 
BOOL isEnabled: 1
 
BOOL isEnabledKnown: 1
 
BOOL isKnown: 1
 
GLenum semantic
 
BOOL shouldNormalize: 1
 
GLsizei vertexStride
 
GLvoid * vertices
 
BOOL wasBound: 1
 

Detailed Description

GL state tracking for vertex attributes.

Member Data Documentation

- (GLint) elementSize
protected

The number of elements in each vertex.

- (GLenum) elementType
protected

The data type of each element.

- (GLenum) glName
protected

The GL content name, used to enable a vertex array under OGLES 1.1.

- (BOOL) isEnabled
protected

Indicates whether these attributes are enabled in the GL engine.

- (BOOL) isEnabledKnown
protected

Indicates whether it is known if these attributes are enabled in the GL engine.

- (BOOL) isKnown
protected

Indicates whether the GL state value are known.

- (GLenum) semantic
protected

The Cocos3D semantic of this content array, under OGLES 1.1.

- (BOOL) shouldNormalize
protected

Indicates whether the vertex content should be normalized by the GL engine.

- (GLsizei) vertexStride
protected

The stride in bytes between vertices.

- (GLvoid*) vertices
protected

A pointer to the vertex content.

- (BOOL) wasBound
protected

Indicates whether the attributes have been bound to the GL engine.


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