Base class of any actor that can be rendered. More...
#include <Renderable.h>
Public Member Functions | |
virtual void | dispatchRenderResources (UserRenderer &renderer)=0 |
virtual PxBounds3 | getBounds () const =0 |
Base class of any actor that can be rendered.
virtual void nvidia::apex::Renderable::dispatchRenderResources | ( | UserRenderer & | renderer | ) | [pure virtual] |
When called, this method will use the UserRenderer interface to render itself (if visible, etc) by calling renderer.renderResource( RenderContext& ) as many times as necessary. See locking semantics for RenderDataProvider::lockRenderResources().
virtual PxBounds3 nvidia::apex::Renderable::getBounds | ( | ) | const [pure virtual] |
Returns AABB covering rendered data. The actor's world bounds is updated each frame during Scene::fetchResults(). This function does not require the Renderable actor to be locked.