#include <CCMeshCommand.h>
|
| MeshCommand () |
| ~MeshCommand () |
void | init (float globalOrder, GLuint textureID, GLProgramState *glProgramState, BlendFunc blendType, GLuint vertexBuffer, GLuint indexBuffer, GLenum primitive, GLenum indexType, ssize_t indexCount, const Mat4 &mv) |
var | init ( var globalOrder, var textureID, var glProgramState, var blendType, var vertexBuffer, var indexBuffer, var primitive, var indexType, var indexCount, var mv) |
local | init ( local globalOrder, local textureID, local glProgramState, local blendType, local vertexBuffer, local indexBuffer, local primitive, local indexType, local indexCount, local mv) |
void | setCullFaceEnabled (bool enable) |
local | setCullFaceEnabled ( local enable) |
void | setCullFace (GLenum cullFace) |
void | setDepthTestEnabled (bool enable) |
void | setDepthWriteEnabled (bool enable) |
void | setDisplayColor (const Vec4 &color) |
void | setMatrixPalette (const Vec4 *matrixPalette) |
void | setMatrixPaletteSize (int size) |
void | execute () |
Public Member Functions inherited from RenderCommand |
float | getGlobalOrder () const |
| Get Render Command Id. More...
|
|
Type | getType () const |
| Returns the Command type. More...
|
|
void applyRenderState |
( |
| ) |
|
|
protected |
local applyRenderState |
( |
| ) |
|
|
protected |
void init |
( |
float |
globalOrder, |
|
|
GLuint |
textureID, |
|
|
GLProgramState * |
glProgramState, |
|
|
BlendFunc |
blendType, |
|
|
GLuint |
vertexBuffer, |
|
|
GLuint |
indexBuffer, |
|
|
GLenum |
primitive, |
|
|
GLenum |
indexType, |
|
|
ssize_t |
indexCount, |
|
|
const Mat4 & |
mv |
|
) |
| |
var init |
( |
var |
globalOrder, |
|
|
var |
textureID, |
|
|
var |
glProgramState, |
|
|
var |
blendType, |
|
|
var |
vertexBuffer, |
|
|
var |
indexBuffer, |
|
|
var |
primitive, |
|
|
var |
indexType, |
|
|
var |
indexCount, |
|
|
var |
mv |
|
) |
| |
local init |
( |
local |
globalOrder, |
|
|
local |
textureID, |
|
|
local |
glProgramState, |
|
|
local |
blendType, |
|
|
local |
vertexBuffer, |
|
|
local |
indexBuffer, |
|
|
local |
primitive, |
|
|
local |
indexType, |
|
|
local |
indexCount, |
|
|
local |
mv |
|
) |
| |
var MatrixPalleteCallBack |
( |
var |
glProgram, |
|
|
var |
uniform |
|
) |
| |
|
protected |
local MatrixPalleteCallBack |
( |
local |
glProgram, |
|
|
local |
uniform |
|
) |
| |
|
protected |
void restoreRenderState |
( |
| ) |
|
|
protected |
var restoreRenderState |
( |
| ) |
|
|
protected |
local restoreRenderState |
( |
| ) |
|
|
protected |
void setCullFace |
( |
GLenum |
cullFace | ) |
|
var setCullFace |
( |
var |
cullFace | ) |
|
local setCullFace |
( |
local |
cullFace | ) |
|
void setCullFaceEnabled |
( |
bool |
enable | ) |
|
var setCullFaceEnabled |
( |
var |
enable | ) |
|
local setCullFaceEnabled |
( |
local |
enable | ) |
|
void setDepthTestEnabled |
( |
bool |
enable | ) |
|
var setDepthTestEnabled |
( |
var |
enable | ) |
|
local setDepthTestEnabled |
( |
local |
enable | ) |
|
void setDepthWriteEnabled |
( |
bool |
enable | ) |
|
var setDepthWriteEnabled |
( |
var |
enable | ) |
|
local setDepthWriteEnabled |
( |
local |
enable | ) |
|
void setDisplayColor |
( |
const Vec4 & |
color | ) |
|
var setDisplayColor |
( |
var |
color | ) |
|
local setDisplayColor |
( |
local |
color | ) |
|
void setMatrixPalette |
( |
const Vec4 * |
matrixPalette | ) |
|
|
inline |
var setMatrixPalette |
( |
var |
matrixPalette | ) |
|
|
inline |
local setMatrixPalette |
( |
local |
matrixPalette | ) |
|
|
inline |
void setMatrixPaletteSize |
( |
int |
size | ) |
|
|
inline |
var setMatrixPaletteSize |
( |
var |
size | ) |
|
|
inline |
local setMatrixPaletteSize |
( |
local |
size | ) |
|
|
inline |
const Vec4* _matrixPalette |
|
protected |
The documentation for this class was generated from the following file: