cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GLBufferedNode Class Reference

#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 ()

Constructor & Destructor Documentation

var ctor ( )
local GLBufferedNode ( )
virtual ~GLBufferedNode ( )
virtual

Member Function Documentation

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 
)

Member Data Documentation

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]

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