RenderManAPI  24.0
RixSGManager Class Referenceabstract

Entry point for constructing and manipulating scene graphs. More...

#include <RixSceneGraph.h>

Inherits RixInterface.

Public Types

enum  Type {
  k_Float, k_Integer, k_StringV, k_Color,
  k_Normal, k_Vector, k_Point, k_HPoint,
  k_MPoint, k_Matrix
}
 

Public Member Functions

virtual RixSGSceneCreateScene (RtParamList const &config, RtParamList const &renderConfig, stats::Session &statsSession)=0
 Create a scene graph interface with an application-provided stats Session. More...
 
virtual RixSGError DeleteScene (RixSGScene *scene)=0
 Delete a scene graph interface. More...
 
virtual int GetVersion () const
 Get the version number of this interface. More...
 

Protected Member Functions

 RixSGManager ()
 
 ~RixSGManager () override=default
 

Protected Attributes

int m_version
 Version number of this interface. More...
 

Detailed Description

Entry point for constructing and manipulating scene graphs.

Member Enumeration Documentation

◆ Type

enum RixInterface::Type
inherited
Enumerator
k_Float 
k_Integer 
k_StringV 
k_Color 
k_Normal 
k_Vector 
k_Point 
k_HPoint 
k_MPoint 
k_Matrix 

Constructor & Destructor Documentation

◆ RixSGManager()

RixSGManager::RixSGManager ( )
inlineprotected

◆ ~RixSGManager()

RixSGManager::~RixSGManager ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateScene()

virtual RixSGScene* RixSGManager::CreateScene ( RtParamList const &  config,
RtParamList const &  renderConfig,
stats::Session &  statsSession 
)
pure virtual

Create a scene graph interface with an application-provided stats Session.

Parameters
[in]configScene configuration options.
[in]renderConfigThe renderer configuration options.
[in]statsSessionRoz stats Session.
Returns
Scene graph interface

◆ DeleteScene()

virtual RixSGError RixSGManager::DeleteScene ( RixSGScene scene)
pure virtual

Delete a scene graph interface.

Parameters
[in]scenegraph interface
Returns
Error code

◆ GetVersion()

virtual int RixInterface::GetVersion ( ) const
inlinevirtualinherited

Get the version number of this interface.

Different interfaces might have different version numbers in a given release.

References RixInterface::m_version.

Member Data Documentation

◆ m_version

int RixInterface::m_version
protectedinherited

Version number of this interface.

Referenced by RixInterface::GetVersion().


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