#include <CCTrianglesCommand.h>
|
| TrianglesCommand () |
| ~TrianglesCommand () |
void | init (float globalOrder, GLuint textureID, GLProgramState *glProgramState, BlendFunc blendType, const Triangles &triangles, const Mat4 &mv) |
| Initializes the command with a globalZOrder, a texture ID, a GLProgram , a blending function, a pointer to triangles, quantity of quads, and the Model View transform to be used for the quads. More...
|
|
void | useMaterial () const |
uint32_t | getMaterialID () const |
GLuint | getTextureID () const |
const Triangles & | getTriangles () const |
ssize_t | getVertexCount () const |
ssize_t | getIndexCount () const |
const V3F_C4B_T2F * | getVertices () const |
const unsigned short * | getIndices () const |
GLProgramState * | getGLProgramState () const |
var | getGLProgramState () |
local | getGLProgramState () |
BlendFunc | getBlendType () const |
const Mat4 & | getModelView () const |
Public Member Functions inherited from RenderCommand |
float | getGlobalOrder () const |
| Get Render Command Id. More...
|
|
var | () |
| Get Render Command Id. More...
|
|
local | getGlobalOrder () |
| Get Render Command Id. More...
|
|
Type | getType () const |
| Returns the Command type. More...
|
|
bool | isTransparent () const |
| Retruns whether is transparent. More...
|
|
local | isTransparent () |
| Retruns whether is transparent. More...
|
|
void | setTransparent (bool isTransparent) |
| set transparent flag More...
|
|
void generateMaterialID |
( |
| ) |
|
|
protected |
var generateMaterialID |
( |
| ) |
|
|
protected |
local generateMaterialID |
( |
| ) |
|
|
protected |
var getGLProgramState |
( |
| ) |
|
|
inline |
local getGLProgramState |
( |
| ) |
|
|
inline |
const unsigned short* getIndices |
( |
| ) |
const |
|
inline |
const Mat4& getModelView |
( |
| ) |
const |
|
inline |
GLuint getTextureID |
( |
| ) |
const |
|
inline |
Initializes the command with a globalZOrder, a texture ID, a GLProgram
, a blending function, a pointer to triangles, quantity of quads, and the Model View transform to be used for the quads.
var init |
( |
var |
globalOrder, |
|
|
var |
textureID, |
|
|
var |
glProgramState, |
|
|
var |
blendType, |
|
|
var |
triangles, |
|
|
var |
mv |
|
) |
| |
Initializes the command with a globalZOrder, a texture ID, a GLProgram
, a blending function, a pointer to triangles, quantity of quads, and the Model View transform to be used for the quads.
local init |
( |
local |
globalOrder, |
|
|
local |
textureID, |
|
|
local |
glProgramState, |
|
|
local |
blendType, |
|
|
local |
triangles, |
|
|
local |
mv |
|
) |
| |
Initializes the command with a globalZOrder, a texture ID, a GLProgram
, a blending function, a pointer to triangles, quantity of quads, and the Model View transform to be used for the quads.
void useMaterial |
( |
| ) |
const |
The documentation for this class was generated from the following file: