#include <CCGLBufferedNode.h>
Public Member Functions | |
GLBufferedNode () | |
ctor () | |
GLBufferedNode () | |
virtual | ~GLBufferedNode () |
void | setGLBufferData (void *buf, GLuint bufSize, int slot) |
Load the given data into this Node's GL Buffer. More... | |
var | setGLBufferData ( var buf, var bufSize, var slot) |
Load the given data into this Node's GL Buffer. More... | |
local | setGLBufferData ( local buf, local bufSize, local slot) |
Load the given data into this Node's GL Buffer. More... | |
void | setGLIndexData (void *buf, GLuint bufSize, int slot) |
Public Attributes | |
GLuint | _bufferObject [BUFFER_SLOTS] |
GLuint | _bufferSize [BUFFER_SLOTS] |
var | _bufferSize () |
local | _bufferSize () |
GLuint | _indexBufferObject [BUFFER_SLOTS] |
var | _indexBufferObject () |
local | _indexBufferObject () |
GLuint | _indexBufferSize [BUFFER_SLOTS] |
var | _indexBufferSize () |
local | _indexBufferSize () |
GLBufferedNode | ( | ) |
var ctor | ( | ) |
local GLBufferedNode | ( | ) |
|
virtual |
void setGLBufferData | ( | void * | buf, |
GLuint | bufSize, | ||
int | slot | ||
) |
Load the given data into this Node's GL Buffer.
Needed for WebGL, as it does not support client-side arrays.
var setGLBufferData | ( | var | buf, |
var | bufSize, | ||
var | slot | ||
) |
Load the given data into this Node's GL Buffer.
Needed for WebGL, as it does not support client-side arrays.
local setGLBufferData | ( | local | buf, |
local | bufSize, | ||
local | slot | ||
) |
Load the given data into this Node's GL Buffer.
Needed for WebGL, as it does not support client-side arrays.
void setGLIndexData | ( | void * | buf, |
GLuint | bufSize, | ||
int | slot | ||
) |
var setGLIndexData | ( | var | buf, |
var | bufSize, | ||
var | slot | ||
) |
local setGLIndexData | ( | local | buf, |
local | bufSize, | ||
local | slot | ||
) |
GLuint _bufferObject[BUFFER_SLOTS] |
GLuint _bufferObject[BUFFER_SLOTS] |
GLuint _bufferObject[BUFFER_SLOTS] |
GLuint _bufferSize[BUFFER_SLOTS] |
GLuint _bufferSize[BUFFER_SLOTS] |
GLuint _bufferSize[BUFFER_SLOTS] |
GLuint _indexBufferObject[BUFFER_SLOTS] |
GLuint _indexBufferObject[BUFFER_SLOTS] |
GLuint _indexBufferObject[BUFFER_SLOTS] |
GLuint _indexBufferSize[BUFFER_SLOTS] |
GLuint _indexBufferSize[BUFFER_SLOTS] |
GLuint _indexBufferSize[BUFFER_SLOTS] |