24 #ifndef EXT_RMANPKG_24_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_MATERIAL_H
25 #define EXT_RMANPKG_24_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_MATERIAL_H
28 #include "pxr/imaging/hd/material.h"
29 #include "hdPrman/matfiltFilterChain.h"
32 PXR_NAMESPACE_OPEN_SCOPE
35 struct HdPrman_Context;
50 HdDirtyBits *dirtyBits)
override;
57 riley::MaterialId GetMaterialId()
const {
return _materialId; }
58 riley::DisplacementId GetDisplacementId()
const {
return _displacementId; }
75 void _ResetMaterial(HdPrman_Context *context);
77 riley::MaterialId _materialId;
78 riley::DisplacementId _displacementId;
85 HdPrman_ConvertHdMaterialNetwork2ToRmanNodes(
88 std::vector<riley::ShadingNode> *result);
90 PXR_NAMESPACE_CLOSE_SCOPE
92 #endif // EXT_RMANPKG_24_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_MATERIAL_H
virtual void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Synchronizes state from the delegate to this object.
static MatfiltFilterChain GetFilterChain()
Get material filtering chain.
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
Adapter class providing data exchange with the client scene graph.
virtual HdDirtyBits GetInitialDirtyBitsMask() const override
Returns the minimal set of dirty bits to place in the change tracker for use in the first sync of thi...
static void SetFilterChain(MatfiltFilterChain const &chain)
Set material filtering chain.
std::vector< TfToken > TfTokenVector
Convenience types.
A path value used to locate objects in layers or scenegraphs.
A representation for materials (including displacement) in prman.
virtual void Finalize(HdRenderParam *renderParam) override
Finalizes object resources.
Hydra Schema for a material object.
bool IsValid() const
Return true if this material is valid.
static TfTokenVector const & GetShaderSourceTypes()
Return the static list of tokens supported.
Container of nodes and top-level terminal connections.