ScummVM API documentation
hpl::iRenderableContainer Class Referenceabstract
Inheritance diagram for hpl::iRenderableContainer:
hpl::cPortalContainer

Public Member Functions

virtual bool Add (iRenderable *apRenderable, bool abStatic)=0
 
virtual bool Remove (iRenderable *apRenderable)=0
 
virtual void GetVisible (cFrustum *apFostrum, cRenderList *apRenderList)=0
 
virtual void Compile ()=0
 

Member Function Documentation

◆ Add()

virtual bool hpl::iRenderableContainer::Add ( iRenderable apRenderable,
bool  abStatic 
)
pure virtual

Add a new object to the container.

Parameters
*apRenderablethe object
abStatictrue if the object will not move, else false.
Returns
true if success, else false

Implemented in hpl::cPortalContainer.

◆ Remove()

virtual bool hpl::iRenderableContainer::Remove ( iRenderable apRenderable)
pure virtual

Removes the object, only non static are guaranteed to be found.

Parameters
*apRenderablethe object
Returns
true if success, else false

Implemented in hpl::cPortalContainer.

◆ GetVisible()

virtual void hpl::iRenderableContainer::GetVisible ( cFrustum apFostrum,
cRenderList apRenderList 
)
pure virtual

Populate the renderlist with all objects visible in a fostrum.

Parameters
apFostrum
*apRenderList

Implemented in hpl::cPortalContainer.

◆ Compile()

virtual void hpl::iRenderableContainer::Compile ( )
pure virtual

Sets up things like octrees so that the container is ready to use.

Implemented in hpl::cPortalContainer.


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