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" 31 PXR_NAMESPACE_OPEN_SCOPE
34 class HdPrman_RenderParam;
49 HdDirtyBits *dirtyBits)
override;
56 riley::MaterialId GetMaterialId()
const {
return _materialId; }
57 riley::DisplacementId GetDisplacementId()
const {
return _displacementId; }
71 void _ResetMaterial(HdPrman_RenderParam *renderParam);
73 riley::MaterialId _materialId;
74 riley::DisplacementId _displacementId;
83 HdPrman_ConvertHdMaterialNetwork2ToRmanNodes(
86 std::vector<riley::ShadingNode> *result);
92 HdPrmanMaterial_GetFallbackSurfaceMaterialNetwork();
94 PXR_NAMESPACE_CLOSE_SCOPE
96 #endif // EXT_RMANPKG_24_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_MATERIAL_H The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Synchronizes state from the delegate to this object.
void Finalize(HdRenderParam *renderParam) override
Finalizes object resources.
Adapter class providing data exchange with the client scene graph.
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...
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.
HdMaterialNetwork2 const & GetMaterialNetwork() const
Return the material network after filtering.
Hydra Schema for a material object.
static TfTokenVector const & GetShaderSourceTypes()
Return the static list of tokens supported.
bool IsValid() const
Return true if this material is valid.
Container of nodes and top-level terminal connections.