Blender V5.3
HdCyclesDelegate Class Referencefinal

#include <render_delegate.h>

Inherits PXR_NS::HdRenderDelegate.

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) override
void DestroyInstancer (PXR_NS::HdInstancer *instancer) override
PXR_NS::HdRprim * CreateRprim (const PXR_NS::TfToken &typeId, const PXR_NS::SdfPath &rprimId) 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::TfTokenVector GetMaterialRenderContexts () 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 27 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 123 of file render_delegate.cpp.

References SetRenderSetting().

◆ ~HdCyclesDelegate()

HdCyclesDelegate::~HdCyclesDelegate ( )
overridedefault

Member Function Documentation

◆ CommitResources()

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

Definition at line 303 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

◆ CreateFallbackBprim()

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

Definition at line 293 of file render_delegate.cpp.

References CreateBprim().

◆ CreateFallbackSprim()

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

Definition at line 268 of file render_delegate.cpp.

References CreateSprim().

◆ CreateInstancer()

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

Definition at line 212 of file render_delegate.cpp.

References HdCyclesInstancer::HdCyclesInstancer().

◆ CreateRenderPass()

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

Definition at line 206 of file render_delegate.cpp.

References HdCyclesRenderPass::HdCyclesRenderPass(), and index.

◆ CreateRprim()

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

◆ CreateSprim()

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

◆ DestroyBprim()

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

Definition at line 298 of file render_delegate.cpp.

◆ DestroyInstancer()

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

Definition at line 218 of file render_delegate.cpp.

◆ DestroyRprim()

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

Definition at line 244 of file render_delegate.cpp.

◆ DestroySprim()

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

Definition at line 273 of file render_delegate.cpp.

◆ GetDefaultAovDescriptor()

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

Definition at line 350 of file render_delegate.cpp.

References IsDisplaySupported().

◆ GetHgi()

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

Definition at line 38 of file render_delegate.h.

◆ GetMaterialBindingPurpose()

TfToken HdCyclesDelegate::GetMaterialBindingPurpose ( ) const
override

Definition at line 312 of file render_delegate.cpp.

◆ GetMaterialRenderContexts()

TfTokenVector HdCyclesDelegate::GetMaterialRenderContexts ( ) const
override

Definition at line 317 of file render_delegate.cpp.

◆ GetRenderParam()

HdRenderParam * HdCyclesDelegate::GetRenderParam ( ) const
override

Definition at line 179 of file render_delegate.cpp.

Referenced by HdCyclesFileReader::read().

◆ GetRenderSetting()

◆ GetRenderSettingDescriptors()

HdRenderSettingDescriptorList HdCyclesDelegate::GetRenderSettingDescriptors ( ) const
override

◆ GetRenderStats()

VtDictionary HdCyclesDelegate::GetRenderStats ( ) const
override

◆ GetResourceRegistry()

HdResourceRegistrySharedPtr HdCyclesDelegate::GetResourceRegistry ( ) const
override

Definition at line 184 of file render_delegate.cpp.

◆ GetSupportedBprimTypes()

const TfTokenVector & HdCyclesDelegate::GetSupportedBprimTypes ( ) const
override

Definition at line 174 of file render_delegate.cpp.

◆ GetSupportedRprimTypes()

const TfTokenVector & HdCyclesDelegate::GetSupportedRprimTypes ( ) const
override

Definition at line 164 of file render_delegate.cpp.

◆ GetSupportedSprimTypes()

const TfTokenVector & HdCyclesDelegate::GetSupportedSprimTypes ( ) const
override

Definition at line 169 of file render_delegate.cpp.

◆ IsDisplaySupported()

bool HdCyclesDelegate::IsDisplaySupported ( ) const

Definition at line 155 of file render_delegate.cpp.

Referenced by GetDefaultAovDescriptor(), and ~HdCyclesDelegate().

◆ IsPauseSupported()

bool HdCyclesDelegate::IsPauseSupported ( ) const
override

Definition at line 189 of file render_delegate.cpp.

◆ Pause()

bool HdCyclesDelegate::Pause ( )
override

Definition at line 194 of file render_delegate.cpp.

◆ Resume()

bool HdCyclesDelegate::Resume ( )
override

Definition at line 200 of file render_delegate.cpp.

◆ SetDrivers()

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

Definition at line 145 of file render_delegate.cpp.

Referenced by ~HdCyclesDelegate().

◆ SetRenderSetting()


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