23#ifndef PXR_IMAGING_HD_ST_RENDER_DELEGATE_H
24#define PXR_IMAGING_HD_ST_RENDER_DELEGATE_H
27#include "pxr/imaging/hdSt/api.h"
28#include "pxr/imaging/hd/renderDelegate.h"
33PXR_NAMESPACE_OPEN_SCOPE
37using HdStDrawItemsCacheUniquePtr =
38 std::unique_ptr<class HdSt_DrawItemsCache>;
39using HdStDrawItemsCachePtr = HdSt_DrawItemsCache *;
41using HdStResourceRegistrySharedPtr =
42 std::shared_ptr<class HdStResourceRegistry>;
67 void SetDrivers(HdDriverVector
const& drivers)
override;
79 HdResourceRegistrySharedPtr GetResourceRegistry()
const override;
85 HdRenderPassStateSharedPtr CreateRenderPassState()
const override;
92 void DestroyInstancer(
HdInstancer *instancer)
override;
96 SdfPath const& rprimId)
override;
98 void DestroyRprim(
HdRprim *rPrim)
override;
102 SdfPath const& sprimId)
override;
106 void DestroySprim(
HdSprim *sPrim)
override;
110 SdfPath const& bprimId)
override;
114 void DestroyBprim(
HdBprim *bPrim)
override;
126 bool IsPrimvarFilteringNeeded()
const override;
129 HdRenderSettingDescriptorList
130 GetRenderSettingDescriptors()
const override;
137 GetDefaultAovDescriptor(
TfToken const& name)
const override;
146 static bool IsSupported();
151 HdStDrawItemsCachePtr GetDrawItemsCache()
const;
158 void _ApplyTextureSettings();
159 HdSprim *_CreateFallbackMaterialPrim();
168 HdStResourceRegistrySharedPtr _resourceRegistry;
170 HdRenderSettingDescriptorList _settingDescriptors;
174 std::unique_ptr<HdStRenderParam> _renderParam;
176 HdStDrawItemsCacheUniquePtr _drawItemsCache;
180PXR_NAMESPACE_CLOSE_SCOPE
Bprim (buffer prim) is a base class of managing a blob of data that is used to communicate between th...
Tracks changes from the HdSceneDelegate, providing invalidation cues to the render engine.
This class exists to facilitate point cloud style instancing.
The Hydra render index is a flattened representation of the client scene graph, which may be composed...
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
A named, semantic collection of objects.
The render engine state for a given rprim from the scene graph.
Adapter class providing data exchange with the client scene graph.
Sprim (state prim) is a base class of managing state for non-drawable scene entity (e....
The render delegate can create an object of type HdRenderParam, to pass to each prim during Sync().
Hydra Graphics Interface.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
A map with string keys and VtValue values.
A bundle of state describing an AOV ("Arbitrary Output Variable") display channel.
std::vector< TfToken > TfTokenVector
Convenience types.