Class that knows how to sort the Commands. More...
#include <CCRenderer.h>
Public Member Functions | |
void | push_back (RenderCommand *command) |
ssize_t | size () const |
void | sort () |
RenderCommand * | operator[] (ssize_t index) const |
local | operator[] ( local index) |
void | clear () |
Protected Attributes | |
std::vector< RenderCommand * > | _queueNegZ |
std::vector< RenderCommand * > | _queue0 |
var | _queue0 |
local | _queue0 |
std::vector< RenderCommand * > | _queuePosZ |
var | _queuePosZ |
local | _queuePosZ |
Class that knows how to sort the Commands.
Since the commands that have z==0 are "pushed back" in the correct order, the only Commands that need to be sorted, are the ones that have z <0 and z >0. And that is what this class does.
void clear | ( | ) |
var clear | ( | ) |
local clear | ( | ) |
RenderCommand* operator[] | ( | ssize_t | index) | const |
RenderCommand* operator[] | ( | var | index) |
RenderCommand* operator[] | ( | local | index) |
void push_back | ( | RenderCommand * | command) |
var push_back | ( | var | command) |
local push_back | ( | local | command) |
ssize_t size | ( | ) | const |
var size | ( | ) |
local size | ( | ) |
void sort | ( | ) |
var sort | ( | ) |
local sort | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |