24 #ifndef PXR_IMAGING_HD_RENDER_DELEGATE_H
25 #define PXR_IMAGING_HD_RENDER_DELEGATE_H
222 virtual bool Pause();
255 virtual bool Stop(
bool blocking =
true);
515 const HdSceneIndexBaseRefPtr &terminalSceneIndex);
557 void _SetRendererDisplayName(
const std::string &displayName) {
558 _displayName = displayName;
566 #endif //PXR_IMAGING_HD_RENDER_DELEGATE_H
virtual HD_API void SetRenderSetting(TfToken const &key, VtValue const &value)
virtual void DestroyRprim(HdRprim *rPrim)=0
virtual const TfTokenVector & GetSupportedSprimTypes() const =0
virtual void DestroySprim(HdSprim *sprim)=0
virtual HD_API TfTokenVector GetMaterialRenderContexts() const
std::shared_ptr< class HdRenderPassState > HdRenderPassStateSharedPtr
HD_API const std::string & GetRendererDisplayName()
Populated when instantiated via the HdRendererPluginRegistry.
virtual HdResourceRegistrySharedPtr GetResourceRegistry() const =0
virtual HdSprim * CreateSprim(TfToken const &typeId, SdfPath const &sprimId)=0
virtual HD_API ~HdRenderDelegate()
virtual HD_API VtValue GetRenderSetting(TfToken const &key) const
std::shared_ptr< class HdRenderPass > HdRenderPassSharedPtr
std::shared_ptr< class HdResourceRegistry > HdResourceRegistrySharedPtr
virtual HD_API void Update()
std::vector< HdRenderSettingDescriptor > HdRenderSettingDescriptorList
virtual HdBprim * CreateFallbackBprim(TfToken const &typeId)=0
virtual HD_API bool Resume()
GLsizei const GLchar *const * string
virtual HD_API void SetDrivers(HdDriverVector const &drivers)
virtual HD_API bool IsPaused() const
virtual HdBprim * CreateBprim(TfToken const &typeId, SdfPath const &bprimId)=0
TF_DECLARE_REF_PTRS(HdSceneIndexBase)
virtual HD_API bool IsStopSupported() const
virtual HD_API bool InvokeCommand(const TfToken &command, const HdCommandArgs &args=HdCommandArgs())
virtual HdRenderPassSharedPtr CreateRenderPass(HdRenderIndex *index, HdRprimCollection const &collection)=0
virtual HD_API HdRenderSettingDescriptorList GetRenderSettingDescriptors() const
HdRenderSettingsMap _settingsMap
Render settings state.
virtual const TfTokenVector & GetSupportedRprimTypes() const =0
virtual HD_API TfToken GetMaterialNetworkSelector() const
virtual HD_API bool IsPrimvarFilteringNeeded() const
unsigned int _settingsVersion
virtual HD_API TfTokenVector GetRenderSettingsNamespaces() const
std::vector< HdDriver * > HdDriverVector
virtual HD_API bool Stop(bool blocking=true)
std::vector< HdCommandDescriptor > HdCommandDescriptors
HdRenderDelegate & operator=(const HdRenderDelegate &)=delete
std::vector< TfToken > TfTokenVector
Convenience types.
bool IsParallelSyncEnabled(TfToken primType) const
Whether or not multithreaded sync is enabled for the specified prim type.
GLuint const GLchar * name
virtual HD_API HdCommandDescriptors GetCommandDescriptors() const
virtual HdRprim * CreateRprim(TfToken const &typeId, SdfPath const &rprimId)=0
virtual void DestroyBprim(HdBprim *bprim)=0
virtual HD_API HdAovDescriptor GetDefaultAovDescriptor(TfToken const &name) const
virtual HD_API ~HdRenderParam()
virtual HD_API bool IsStopped() const
virtual HD_API TfTokenVector GetShaderSourceTypes() const
virtual HD_API void SetTerminalSceneIndex(const HdSceneIndexBaseRefPtr &terminalSceneIndex)
virtual HD_API HdRenderPassStateSharedPtr CreateRenderPassState() const
virtual HdSprim * CreateFallbackSprim(TfToken const &typeId)=0
virtual HD_API bool Pause()
virtual HD_API bool Restart()
HD_API void _PopulateDefaultSettings(HdRenderSettingDescriptorList const &defaultSettings)
virtual void DestroyInstancer(HdInstancer *instancer)=0
virtual HdInstancer * CreateInstancer(HdSceneDelegate *delegate, SdfPath const &id)=0
virtual void CommitResources(HdChangeTracker *tracker)=0
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
VtDictionary HdCommandArgs
T GetRenderSetting(TfToken const &key, T const &defValue) const
static VtValue Cast(VtValue const &val)
HD_API HdRenderDelegate()
This class must be derived from.
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual const TfTokenVector & GetSupportedBprimTypes() const =0
TfHashMap< TfToken, VtValue, TfToken::HashFunctor > HdRenderSettingsMap
**If you just want to fire and args
virtual HD_API TfToken GetMaterialBindingPurpose() const
virtual HD_API bool IsPauseSupported() const
virtual HD_API VtDictionary GetRenderStats() const
virtual HD_API HdRenderParam * GetRenderParam() const
virtual HD_API unsigned int GetRenderSettingsVersion() const
virtual HD_API HdContainerDataSourceHandle GetCapabilities() const