nvidia::apex::Renderable Class Reference
Base class of any actor that can be rendered. More...
#include <Renderable.h>
Inheritance diagram for nvidia::apex::Renderable:
Public Member Functions | |
virtual void | dispatchRenderResources (UserRenderer &renderer)=0 |
virtual PxBounds3 | getBounds () const =0 |
Detailed Description
Base class of any actor that can be rendered.
Member Function Documentation
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.
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:58:40 Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.