Blender  V3.3
Public Member Functions | List of all members
HdCyclesDelegate Class Referencefinal

#include <render_delegate.h>

Inheritance diagram for HdCyclesDelegate:

Public Member Functions

 HdCyclesDelegate (const PXR_NS::HdRenderSettingsMap &settingsMap, CCL_NS::Session *session_=nullptr, const bool keep_nodes=false)
 
 ~HdCyclesDelegate () override
 
void SetDrivers (const PXR_NS::HdDriverVector &drivers) override
 
bool IsDisplaySupported () const
 
PXR_NS::Hgi * GetHgi () const
 
const PXR_NS::TfTokenVector & GetSupportedRprimTypes () const override
 
const PXR_NS::TfTokenVector & GetSupportedSprimTypes () const override
 
const PXR_NS::TfTokenVector & GetSupportedBprimTypes () const override
 
PXR_NS::HdRenderParam * GetRenderParam () const override
 
PXR_NS::HdResourceRegistrySharedPtr GetResourceRegistry () const override
 
PXR_NS::HdRenderSettingDescriptorList GetRenderSettingDescriptors () const override
 
bool IsPauseSupported () const override
 
bool Pause () override
 
bool Resume () override
 
PXR_NS::HdRenderPassSharedPtr CreateRenderPass (PXR_NS::HdRenderIndex *index, const PXR_NS::HdRprimCollection &collection) override
 
PXR_NS::HdInstancer * CreateInstancer (PXR_NS::HdSceneDelegate *delegate, const PXR_NS::SdfPath &id, const PXR_NS::SdfPath &instancerId) override
 
void DestroyInstancer (PXR_NS::HdInstancer *instancer) override
 
PXR_NS::HdRprim * CreateRprim (const PXR_NS::TfToken &typeId, const PXR_NS::SdfPath &rprimId, const PXR_NS::SdfPath &instancerId) override
 
void DestroyRprim (PXR_NS::HdRprim *rPrim) override
 
PXR_NS::HdSprim * CreateSprim (const PXR_NS::TfToken &typeId, const PXR_NS::SdfPath &sprimId) override
 
PXR_NS::HdSprim * CreateFallbackSprim (const PXR_NS::TfToken &typeId) override
 
void DestroySprim (PXR_NS::HdSprim *sPrim) override
 
PXR_NS::HdBprim * CreateBprim (const PXR_NS::TfToken &typeId, const PXR_NS::SdfPath &bprimId) override
 
PXR_NS::HdBprim * CreateFallbackBprim (const PXR_NS::TfToken &typeId) override
 
void DestroyBprim (PXR_NS::HdBprim *bPrim) override
 
void CommitResources (PXR_NS::HdChangeTracker *tracker) override
 
PXR_NS::TfToken GetMaterialBindingPurpose () const override
 
PXR_NS::TfToken GetMaterialNetworkSelector () const override
 
PXR_NS::VtDictionary GetRenderStats () const override
 
PXR_NS::HdAovDescriptor GetDefaultAovDescriptor (const PXR_NS::TfToken &name) const override
 
void SetRenderSetting (const PXR_NS::TfToken &key, const PXR_NS::VtValue &value) override
 
PXR_NS::VtValue GetRenderSetting (const PXR_NS::TfToken &key) const override
 

Detailed Description

Definition at line 26 of file render_delegate.h.

Constructor & Destructor Documentation

◆ HdCyclesDelegate()

HdCyclesDelegate::HdCyclesDelegate ( const PXR_NS::HdRenderSettingsMap &  settingsMap,
CCL_NS::Session *  session_ = nullptr,
const bool  keep_nodes = false 
)

Definition at line 115 of file render_delegate.cpp.

References SetRenderSetting().

◆ ~HdCyclesDelegate()

HdCyclesDelegate::~HdCyclesDelegate ( )
override

Definition at line 134 of file render_delegate.cpp.

Member Function Documentation

◆ CommitResources()

void HdCyclesDelegate::CommitResources ( PXR_NS::HdChangeTracker *  tracker)
override

Definition at line 335 of file render_delegate.cpp.

References lock.

Referenced by HdCyclesFileReader::read().

◆ CreateBprim()

HdBprim * HdCyclesDelegate::CreateBprim ( const PXR_NS::TfToken &  typeId,
const PXR_NS::SdfPath &  bprimId 
)
override

Definition at line 310 of file render_delegate.cpp.

Referenced by CreateFallbackBprim().

◆ CreateFallbackBprim()

HdBprim * HdCyclesDelegate::CreateFallbackBprim ( const PXR_NS::TfToken &  typeId)
override

Definition at line 325 of file render_delegate.cpp.

References CreateBprim().

◆ CreateFallbackSprim()

HdSprim * HdCyclesDelegate::CreateFallbackSprim ( const PXR_NS::TfToken &  typeId)
override

Definition at line 300 of file render_delegate.cpp.

References CreateSprim().

◆ CreateInstancer()

HdInstancer * HdCyclesDelegate::CreateInstancer ( PXR_NS::HdSceneDelegate *  delegate,
const PXR_NS::SdfPath &  id,
const PXR_NS::SdfPath &  instancerId 
)
override

Definition at line 205 of file render_delegate.cpp.

◆ CreateRenderPass()

HdRenderPassSharedPtr HdCyclesDelegate::CreateRenderPass ( PXR_NS::HdRenderIndex *  index,
const PXR_NS::HdRprimCollection &  collection 
)
override

Definition at line 199 of file render_delegate.cpp.

◆ CreateRprim()

HdRprim * HdCyclesDelegate::CreateRprim ( const PXR_NS::TfToken &  typeId,
const PXR_NS::SdfPath &  rprimId,
const PXR_NS::SdfPath &  instancerId 
)
override

Definition at line 227 of file render_delegate.cpp.

◆ CreateSprim()

HdSprim * HdCyclesDelegate::CreateSprim ( const PXR_NS::TfToken &  typeId,
const PXR_NS::SdfPath &  sprimId 
)
override

Definition at line 279 of file render_delegate.cpp.

Referenced by CreateFallbackSprim().

◆ DestroyBprim()

void HdCyclesDelegate::DestroyBprim ( PXR_NS::HdBprim *  bPrim)
override

Definition at line 330 of file render_delegate.cpp.

◆ DestroyInstancer()

void HdCyclesDelegate::DestroyInstancer ( PXR_NS::HdInstancer *  instancer)
override

Definition at line 222 of file render_delegate.cpp.

◆ DestroyRprim()

void HdCyclesDelegate::DestroyRprim ( PXR_NS::HdRprim *  rPrim)
override

Definition at line 274 of file render_delegate.cpp.

◆ DestroySprim()

void HdCyclesDelegate::DestroySprim ( PXR_NS::HdSprim *  sPrim)
override

Definition at line 305 of file render_delegate.cpp.

◆ GetDefaultAovDescriptor()

HdAovDescriptor HdCyclesDelegate::GetDefaultAovDescriptor ( const PXR_NS::TfToken &  name) const
override

Definition at line 387 of file render_delegate.cpp.

References IsDisplaySupported().

◆ GetHgi()

PXR_NS::Hgi* HdCyclesDelegate::GetHgi ( ) const
inline

Definition at line 37 of file render_delegate.h.

◆ GetMaterialBindingPurpose()

TfToken HdCyclesDelegate::GetMaterialBindingPurpose ( ) const
override

Definition at line 344 of file render_delegate.cpp.

◆ GetMaterialNetworkSelector()

TfToken HdCyclesDelegate::GetMaterialNetworkSelector ( ) const
override

Definition at line 350 of file render_delegate.cpp.

◆ GetRenderParam()

HdRenderParam * HdCyclesDelegate::GetRenderParam ( ) const
override

Definition at line 172 of file render_delegate.cpp.

Referenced by HdCyclesFileReader::read().

◆ GetRenderSetting()

VtValue HdCyclesDelegate::GetRenderSetting ( const PXR_NS::TfToken &  key) const
override

◆ GetRenderSettingDescriptors()

HdRenderSettingDescriptorList HdCyclesDelegate::GetRenderSettingDescriptors ( ) const
override

◆ GetRenderStats()

VtDictionary HdCyclesDelegate::GetRenderStats ( ) const
override

◆ GetResourceRegistry()

HdResourceRegistrySharedPtr HdCyclesDelegate::GetResourceRegistry ( ) const
override

Definition at line 177 of file render_delegate.cpp.

◆ GetSupportedBprimTypes()

const TfTokenVector & HdCyclesDelegate::GetSupportedBprimTypes ( ) const
override

Definition at line 167 of file render_delegate.cpp.

◆ GetSupportedRprimTypes()

const TfTokenVector & HdCyclesDelegate::GetSupportedRprimTypes ( ) const
override

Definition at line 157 of file render_delegate.cpp.

◆ GetSupportedSprimTypes()

const TfTokenVector & HdCyclesDelegate::GetSupportedSprimTypes ( ) const
override

Definition at line 162 of file render_delegate.cpp.

◆ IsDisplaySupported()

bool HdCyclesDelegate::IsDisplaySupported ( ) const

Definition at line 148 of file render_delegate.cpp.

Referenced by GetDefaultAovDescriptor().

◆ IsPauseSupported()

bool HdCyclesDelegate::IsPauseSupported ( ) const
override

Definition at line 182 of file render_delegate.cpp.

◆ Pause()

bool HdCyclesDelegate::Pause ( )
override

Definition at line 187 of file render_delegate.cpp.

◆ Resume()

bool HdCyclesDelegate::Resume ( )
override

Definition at line 193 of file render_delegate.cpp.

◆ SetDrivers()

void HdCyclesDelegate::SetDrivers ( const PXR_NS::HdDriverVector &  drivers)
override

Definition at line 138 of file render_delegate.cpp.

◆ SetRenderSetting()

void HdCyclesDelegate::SetRenderSetting ( const PXR_NS::TfToken &  key,
const PXR_NS::VtValue &  value 
)
override

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