Class that knows how to sort RenderCommand
objects.
More...
#include <CCRenderer.h>
Public Member Functions | |
void | push_back (RenderCommand *command) |
local | push_back ( local command) |
ssize_t | size () const |
var | size () |
local | size () |
void | sort () |
var | sort () |
local | sort () |
RenderCommand * | operator[] (ssize_t index) const |
void | clear () |
var | clear () |
local | 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 RenderCommand
objects.
Since the commands that have z == 0
are "pushed back" in the correct order, the only RenderCommand
objects that need to be sorted, are the ones that have z < 0
and z > 0
.
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 |