Public Types | Public Member Functions | Protected Member Functions
nvidia::apex::IofxRenderable Class Reference

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>

List of all members.

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 IofxMeshRenderDatagetMeshRenderData () 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 ()

Detailed Description

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.


Member Enumeration Documentation

Type of IOFX renderable.

Enumerator:
SPRITE 

Sprite particles type.

MESH 

Mesh particles type.


Constructor & Destructor Documentation

virtual nvidia::apex::IofxRenderable::~IofxRenderable ( ) [inline, protected, virtual]

Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Sat Dec 1 2018 15:52:37

Copyright © 2012-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.