|
bool | initWithFile (const std::string &file, ssize_t capacity) |
| Initializes a TextureAtlas with a filename and with a certain capacity for Quads. More...
|
|
bool | initWithTexture (Texture2D *texture, ssize_t capacity) |
| Initializes a TextureAtlas with a previously initialized Texture2D object, and with an initial capacity for Quads. More...
|
|
void | updateQuad (V3F_C4B_T2F_Quad *quad, ssize_t index) |
| Updates a Quad (texture, vertex and color) at a certain index. More...
|
|
void | insertQuad (V3F_C4B_T2F_Quad *quad, ssize_t index) |
| Inserts a Quad (texture, vertex and color) at a certain index. More...
|
|
void | insertQuads (V3F_C4B_T2F_Quad *quads, ssize_t index, ssize_t amount) |
| Inserts a c array of quads at a given index. More...
|
|
void | insertQuadFromIndex (ssize_t fromIndex, ssize_t newIndex) |
| Removes the quad that is located at a certain index and inserts it at a new index. More...
|
|
void | removeQuadAtIndex (ssize_t index) |
| Removes a quad at a given index number. More...
|
|
void | removeQuadsAtIndex (ssize_t index, ssize_t amount) |
| Removes a amount of quads starting from index. More...
|
|
void | removeAllQuads () |
| Removes all Quads. More...
|
|
var | removeAllQuads () |
| Removes all Quads. More...
|
|
local | removeAllQuads () |
| Removes all Quads. More...
|
|
bool | resizeCapacity (ssize_t capacity) |
| Resize the capacity of the TextureAtlas. More...
|
|
void | increaseTotalQuadsWith (ssize_t amount) |
| Used internally by ParticleBatchNode. More...
|
|
var | increaseTotalQuadsWith ( var amount) |
| Used internally by ParticleBatchNode. More...
|
|
local | increaseTotalQuadsWith ( local amount) |
| Used internally by ParticleBatchNode. More...
|
|
void | moveQuadsFromIndex (ssize_t oldIndex, ssize_t amount, ssize_t newIndex) |
| Moves an amount of quads from oldIndex at newIndex. More...
|
|
var | moveQuadsFromIndex ( var oldIndex, var amount, var newIndex) |
| Moves an amount of quads from oldIndex at newIndex. More...
|
|
local | moveQuadsFromIndex ( local oldIndex, local amount, local newIndex) |
| Moves an amount of quads from oldIndex at newIndex. More...
|
|
void | moveQuadsFromIndex (ssize_t index, ssize_t newIndex) |
| Moves quads from index till totalQuads to the newIndex. More...
|
|
void | fillWithEmptyQuadsFromIndex (ssize_t index, ssize_t amount) |
| Ensures that after a realloc quads are still empty. More...
|
|
void | drawNumberOfQuads (ssize_t n) |
| Draws n quads. More...
|
|
local | drawNumberOfQuads ( local n) |
| Draws n quads. More...
|
|
void | drawNumberOfQuads (ssize_t numberOfQuads, ssize_t start) |
| Draws n quads from an index (offset). More...
|
|
var | drawNumberOfQuads ( var numberOfQuads, var start) |
| Draws n quads from an index (offset). More...
|
|
local | drawNumberOfQuads ( local numberOfQuads, local start) |
| Draws n quads from an index (offset). More...
|
|
void | drawQuads () |
| Draws all the Atlas's Quads.
|
|
void | listenRendererRecreated (EventCustom *event) |
| Listen the event that renderer was recreated on Android.
|
|
var | listenRendererRecreated ( var event) |
| Listen the event that renderer was recreated on Android.
|
|
local | listenRendererRecreated ( local event) |
| Listen the event that renderer was recreated on Android.
|
|
bool | isDirty () |
| Whether or not the array buffer of the VBO needs to be updated. More...
|
|
void | setDirty (bool bDirty) |
| Specify if the array buffer of the VBO needs to be updated. More...
|
|
local | setDirty ( local bDirty) |
| Specify if the array buffer of the VBO needs to be updated. More...
|
|
virtual std::string | getDescription () const |
| Get quads total amount.
|
|
ssize_t | getTotalQuads () const |
| Gets the quantity of quads that are going to be drawn. More...
|
|
local | getTotalQuads () |
| Gets the quantity of quads that are going to be drawn. More...
|
|
ssize_t | getCapacity () const |
| Gets the quantity of quads that can be stored with the current texture atlas size. More...
|
|
Texture2D * | getTexture () const |
| Gets the texture of the texture atlas. More...
|
|
local | getTexture () |
| Gets the texture of the texture atlas. More...
|
|
void | setTexture (Texture2D *texture) |
| Sets the texture for the texture atlas. More...
|
|
var | setTexture ( var texture) |
| Sets the texture for the texture atlas. More...
|
|
local | setTexture ( local texture) |
| Sets the texture for the texture atlas. More...
|
|
V3F_C4B_T2F_Quad * | getQuads () |
| Gets the quads that are going to be rendered. More...
|
|
local | getQuads () |
| Gets the quads that are going to be rendered. More...
|
|
void | setQuads (V3F_C4B_T2F_Quad *quads) |
| Sets the quads that are going to be rendered. More...
|
|
var | setQuads ( var quads) |
| Sets the quads that are going to be rendered. More...
|
|
local | setQuads ( local quads) |
| Sets the quads that are going to be rendered. More...
|
|
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Releases the ownership immediately. More...
|
|
local | release () |
| Releases the ownership immediately. More...
|
|
Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
local | getReferenceCount () |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
| Destructor. More...
|
|