RenderManAPI  24.0
RixInterface Class Reference

Base class for all Rix interfaces. More...

#include <RixInterfaces.h>

Inherited by RixColorManager, RixCustomLPE, RixDeepTexture, RixDspy, RixEventCallbacks, RixGeoDebugger, RixHashUtils, RixIES, RixLightingServices, RixLPE, RixLPEInfo, RixMessages, RixRenderState, RixResourceResolver, RixRIB, RixRIBParser, RixRiCtl, RixRileyManager, RixSGManager, RixShadeFunctions, RixShaderInfo, RixStats, RixStorage, RixSymbolResolver, RixTexture, RixTexture3d, RixThreadUtils, RixTimer, RixTransform, RixVolumeServices, and RixXcpt.

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 int GetVersion () const
 Get the version number of this interface. More...
 

Protected Member Functions

 RixInterface (int version)
 Interfaces should not be constructed by users. More...
 
virtual ~RixInterface ()
 Interfaces should not be deleted by users. More...
 

Protected Attributes

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

Detailed Description

Base class for all Rix interfaces.

Interfaces should never be deleted. Most interfaces are thread safe and can be used indefinitely, but some interfaces can be used only in the context from which they were obtained.

Member Enumeration Documentation

◆ Type

Enumerator
k_Float 
k_Integer 
k_StringV 
k_Color 
k_Normal 
k_Vector 
k_Point 
k_HPoint 
k_MPoint 
k_Matrix 

Constructor & Destructor Documentation

◆ RixInterface()

RixInterface::RixInterface ( int  version)
inlineprotected

Interfaces should not be constructed by users.

◆ ~RixInterface()

virtual RixInterface::~RixInterface ( )
inlineprotectedvirtual

Interfaces should not be deleted by users.

Member Function Documentation

◆ GetVersion()

virtual int RixInterface::GetVersion ( ) const
inlinevirtual

Get the version number of this interface.

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

References m_version.

Member Data Documentation

◆ m_version

int RixInterface::m_version
protected

Version number of this interface.

Referenced by GetVersion().


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