#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 |
|
BlendFunc | getBlendType () const |
|
const Mat4 & | getModelView () const |
|
Public Member Functions inherited from RenderCommand |
float | getGlobalOrder () const |
| Get Render Command Id. More...
|
|
Type | getType () const |
| Returns the Command type. More...
|
|
bool | isTransparent () const |
| Retruns whether is transparent. More...
|
|
void | setTransparent (bool isTransparent) |
| set transparent flag More...
|
|
void generateMaterialID |
( |
| ) |
|
|
protected |
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.
void useMaterial |
( |
| ) |
const |
The documentation for this class was generated from the following file: