CORGI
An open source project by
FPL.
|
Struct used for keeping track of and sorting our render lists. More...
#include <rendermesh.h>
Struct used for keeping track of and sorting our render lists.
Public Member Functions | |
RenderlistEntry (EntityRef entity_, RenderMeshData *data_) | |
Constructor for RenderlistEntry. | |
bool | operator< (const RenderlistEntry &other) const |
The greater than operator for RenderlistEntry. More... | |
bool | operator> (const RenderlistEntry &other) const |
The less than operator for RenderlistEntry. More... | |
Public Attributes | |
EntityRef | entity |
The Entity associated with this RenderlistEntry. | |
RenderMeshData * | data |
The RenderMeshData associated with the entity in this RenderlistEntry. | |
|
inline |
The greater than operator for RenderlistEntry.
[in] | other | The other RenderlistEntry to compare if its RenderMeshData->z_depth is greater than this RenderlistEntry's. |
true
if other
's RenderMeshData->z_depth
is greater than this RenderlistEntry's. Otherwise, it returns false
.
|
inline |
The less than operator for RenderlistEntry.
[in] | other | The other RenderlistEntry to compare if its RenderMeshData->z_depth is less than this RenderlistEntry's. |
true
if other
's RenderMeshData->z_depth
is less than this RenderlistEntry's. Otherwise, it returns false
.