The IOFX renderable represents a unit of rendering. It contains complete information to render a batch of particles with the same material/mesh in the same render volume. More...
#include <IofxRenderable.h>
Public Types | |
enum | Type { SPRITE, MESH } |
Type of IOFX renderable. More... | |
Public Member Functions | |
virtual Type | getType () const =0 |
Return Type of this renderable. | |
virtual const IofxSpriteRenderData * | getSpriteRenderData () const =0 |
Return Sprite render data for Sprite renderable and NULL for other types. | |
virtual const IofxMeshRenderData * | getMeshRenderData () const =0 |
Return Mesh render data for Mesh renderable and NULL for other types. | |
virtual const physx::PxBounds3 & | getBounds () const =0 |
Return AABB of this renderable. |
The IOFX renderable represents a unit of rendering. It contains complete information to render a batch of particles with the same material/mesh in the same render volume.