RenderManAPI  24.0
RixDisplacement Class Referenceabstract

#include <RixDisplacement.h>

Public Member Functions

 RixDisplacement (RixShadingContext const *sCtx, RixDisplacementFactory *fact)
 
virtual ~RixDisplacement ()
 
virtual bool GetDisplacement (RtPoint3 *P)=0
 
RixShadingContext const * GetShadingCtx () const
 
RixDisplacementFactoryGetDisplacementFactory () const
 
virtual void Release ()
 Release does any cleanup that might be needed (often none and the base implementation is fine) and then calls the base implementation. More...
 

Protected Attributes

RixShadingContext const * shadingCtx
 
RixDisplacementFactorydisplacementFactory
 

Constructor & Destructor Documentation

◆ RixDisplacement()

RixDisplacement::RixDisplacement ( RixShadingContext const *  sCtx,
RixDisplacementFactory fact 
)
inline

◆ ~RixDisplacement()

virtual RixDisplacement::~RixDisplacement ( )
inlinevirtual

Member Function Documentation

◆ GetDisplacement()

virtual bool RixDisplacement::GetDisplacement ( RtPoint3 P)
pure virtual

◆ GetDisplacementFactory()

RixDisplacementFactory* RixDisplacement::GetDisplacementFactory ( ) const
inline

References displacementFactory.

◆ GetShadingCtx()

RixShadingContext const* RixDisplacement::GetShadingCtx ( ) const
inline

References shadingCtx.

◆ Release()

virtual void RixDisplacement::Release ( )
inlinevirtual

Release does any cleanup that might be needed (often none and the base implementation is fine) and then calls the base implementation.

A RixDisplacement that contains another RixDisplacement would need to call Release on its child as part of its own Release.

References displacementFactory, and RixDisplacementFactory::EndDisplacement().

Member Data Documentation

◆ displacementFactory

RixDisplacementFactory* RixDisplacement::displacementFactory
protected

Referenced by GetDisplacementFactory(), and Release().

◆ shadingCtx

RixShadingContext const* RixDisplacement::shadingCtx
protected

Referenced by GetShadingCtx().


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