The IDrawable video object interface. More...

#include "murl_video_i_drawable.h"

Inheritance diagram for Murl::Video::IDrawable:

Public Member Functions

virtual IObjectGetObjectInterface ()=0
 Get the mutable Video::IObject interface. More...
 
virtual const IObjectGetObjectInterface () const =0
 Get the constant Video::IObject interface. More...
 
virtual Bool Draw ()=0
 Draw the object. More...
 
virtual Bool IsDynamicBatchingAllowed () const =0
 Check if the drawable allows for dynamic batching. More...
 
virtual Bool HasDataToDraw () const =0
 Check if the drawable is actually containing any geometry data. More...
 
virtual UInt32 GetNumberOfBones () const =0
 Get the number of bones affecting the drawable. More...
 
virtual UInt32 GetSignature () const =0
 Get the drawable's signature. More...
 

Detailed Description

The IDrawable video object interface.

This is the base class of a drawable object.

Member Function Documentation

◆ GetObjectInterface() [1/2]

virtual IObject* Murl::Video::IDrawable::GetObjectInterface ( )
pure virtual

Get the mutable Video::IObject interface.

Returns
The IObject interface.

◆ GetObjectInterface() [2/2]

virtual const IObject* Murl::Video::IDrawable::GetObjectInterface ( ) const
pure virtual

Get the constant Video::IObject interface.

Returns
The IObject interface.

◆ Draw()

virtual Bool Murl::Video::IDrawable::Draw ( )
pure virtual

Draw the object.

Returns
true if successful.

◆ IsDynamicBatchingAllowed()

virtual Bool Murl::Video::IDrawable::IsDynamicBatchingAllowed ( ) const
pure virtual

Check if the drawable allows for dynamic batching.

Returns
true if dynamic batching is allowed.

◆ HasDataToDraw()

virtual Bool Murl::Video::IDrawable::HasDataToDraw ( ) const
pure virtual

Check if the drawable is actually containing any geometry data.

Returns
true if the object has data to draw.

◆ GetNumberOfBones()

virtual UInt32 Murl::Video::IDrawable::GetNumberOfBones ( ) const
pure virtual

Get the number of bones affecting the drawable.

Returns
The number of bones needed.

◆ GetSignature()

virtual UInt32 Murl::Video::IDrawable::GetSignature ( ) const
pure virtual

Get the drawable's signature.

Returns
The signature.

Implemented in Murl::Video::IVertices, and Murl::Video::IIndices.


The documentation for this interface was generated from the following file:
  • murl_video_i_drawable.h


Copyright © 2011-2024 Spraylight GmbH.