#include <CCPrimitiveCommand.h>
Public Member Functions | |
PrimitiveCommand () | |
~PrimitiveCommand () | |
void | init (float globalOrder, GLuint textureID, GLProgramState *glProgramState, BlendFunc blendType, Primitive *primitive, const Mat4 &mv) |
local | init ( local globalOrder, local textureID, local glProgramState, local blendType, local primitive, local mv) |
uint32_t | getMaterialID () const |
GLuint | getTextureID () const |
GLProgramState * | getGLProgramState () const |
BlendFunc | getBlendType () const |
const Mat4 & | getModelView () const |
void | execute () 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... | |
local | isTransparent () |
Retruns whether is transparent. More... | |
void | setTransparent (bool isTransparent) |
set transparent flag More... | |
var | setTransparent ( var isTransparent) |
set transparent flag More... | |
local | setTransparent ( local isTransparent) |
set transparent flag More... | |
Protected Attributes | |
uint32_t | _materialID |
GLuint | _textureID |
GLProgramState * | _glProgramState |
BlendFunc | _blendType |
Primitive * | _primitive |
Mat4 | _mv |
Protected Attributes inherited from RenderCommand | |
Type | _type |
float | _globalOrder |
local | _globalOrder |
bool | _isTransparent |
var | _isTransparent |
local | _isTransparent |
Additional Inherited Members | |
Public Types inherited from RenderCommand | |
enum | Type { UNKNOWN_COMMAND, QUAD_COMMAND, CUSTOM_COMMAND, BATCH_COMMAND, GROUP_COMMAND, MESH_COMMAND, PRIMITIVE_COMMAND, TRIANGLES_COMMAND } |
Protected Member Functions inherited from RenderCommand | |
RenderCommand () | |
RenderCommand () | |
virtual | ~RenderCommand () |
local | ~RenderCommand () |
void | printID () |
local | printID () |
PrimitiveCommand | ( | ) |
var PrimitiveCommand | ( | ) |
local PrimitiveCommand | ( | ) |
~PrimitiveCommand | ( | ) |
var ~PrimitiveCommand | ( | ) |
local ~PrimitiveCommand | ( | ) |
void execute | ( | ) | const |
var execute | ( | ) |
local execute | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void init | ( | float | globalOrder, |
GLuint | textureID, | ||
GLProgramState * | glProgramState, | ||
BlendFunc | blendType, | ||
Primitive * | primitive, | ||
const Mat4 & | mv | ||
) |
var init | ( | var | globalOrder, |
var | textureID, | ||
var | glProgramState, | ||
var | blendType, | ||
var | primitive, | ||
var | mv | ||
) |
local init | ( | local | globalOrder, |
local | textureID, | ||
local | glProgramState, | ||
local | blendType, | ||
local | primitive, | ||
local | mv | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |