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. | |
Protected Member Functions | |
virtual | ~IofxRenderable () |
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.
virtual nvidia::apex::IofxRenderable::~IofxRenderable | ( | ) | [inline, protected, virtual] |
virtual const physx::PxBounds3& nvidia::apex::IofxRenderable::getBounds | ( | ) | const [pure virtual] |
Return AABB of this renderable.
virtual const IofxMeshRenderData* nvidia::apex::IofxRenderable::getMeshRenderData | ( | ) | const [pure virtual] |
Return Mesh render data for Mesh renderable and NULL for other types.
virtual const IofxSpriteRenderData* nvidia::apex::IofxRenderable::getSpriteRenderData | ( | ) | const [pure virtual] |
Return Sprite render data for Sprite renderable and NULL for other types.
virtual Type nvidia::apex::IofxRenderable::getType | ( | ) | const [pure virtual] |
Return Type of this renderable.