RenderManAPI  24.0
RixContext Class Referenceabstract

Rix interfaces are obtained from an RixContext. More...

#include <RixInterfaces.h>

Inherited by RixBakeContext, RixDisplayFilterContext, RixIntegratorContext, RixLightContext, RixLightFilterContext, RixProjectionContext, RixSampleFilterContext, and RixShadingContext.

Public Member Functions

virtual RixInterfaceGetRixInterface (RixInterfaceId id) const =0
 Get the specified interface from this context. More...
 
virtual ~RixContext ()
 Destructor is for internal use only. More...
 

Detailed Description

Rix interfaces are obtained from an RixContext.

Not all interfaces are available from a given RixContext. For example, the global RixContext does not permit access to RixLocalData. In some library-only configurations you may be able to get ahold of an interface directly.

Constructor & Destructor Documentation

◆ ~RixContext()

virtual RixContext::~RixContext ( )
inlinevirtual

Destructor is for internal use only.

Member Function Documentation

◆ GetRixInterface()

virtual RixInterface* RixContext::GetRixInterface ( RixInterfaceId  id) const
pure virtual

Get the specified interface from this context.

The generic interface that is returned must be cast to the appropriate type before use.

Referenced by PxrGeoAOV::disableIntegratorAOVs(), RixIES::ReadIESProfile(), RixBXLookupLobeByName(), RixDebugBasis(), RixGetSceneColorSpace(), RixIsHoldout(), and RixIsMatte().


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