CC3OpenGLES11StateTrackerElementArrayBufferBinding Class Reference

CC3OpenGLES11StateTrackerElementArrayBufferBinding tracks binding and filling a vertex element (index) array. More...

#import <CC3OpenGLES11VertexArrays.h>

Inheritance diagram for CC3OpenGLES11StateTrackerElementArrayBufferBinding:
CC3OpenGLES11StateTrackerArrayBufferBinding CC3OpenGLES11StateTrackerInteger CC3OpenGLES11StateTrackerPrimitive CC3OpenGLES11StateTracker

List of all members.


Detailed Description

Reading the value from the GL engine uses a different GL enumeration name than setting the value in the GL engine. The property queryName is the GL enumeration name used when reading the GL value.

Uses the GL name GL_ELEMENT_ARRAY_BUFFER to set the GL value. Uses the GL query name GL_ELEMENT_ARRAY_BUFFER_BINDING to read the GL value.

In addition to binding an array, this class can also load buffer data for the vertex array using the loadBufferData:ofLength:forUse: method.

The originalValueHandling property is set to kCC3GLESStateOriginalValueReadOnceAndRestore, which will cause the state to be automatically read once, on the first invocation of the open method, and to be automatically restored on each invocation of the close method.


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