18#ifndef PXR_IMAGING_HD_MATERIAL_SCHEMA_H
19#define PXR_IMAGING_HD_MATERIAL_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
26#include "pxr/imaging/hd/schema.h"
31PXR_NAMESPACE_OPEN_SCOPE
36#define HD_MATERIAL_SCHEMA_TOKENS \
38 ((universalRenderContext, "")) \
41 HD_MATERIAL_SCHEMA_TOKENS);
57class HdMaterialSchema :
public HdSchema
63 HdMaterialSchema(HdContainerDataSourceHandle container)
72 static HdMaterialSchema GetFromParent(
73 const HdContainerDataSourceHandle &fromParentContainer);
145 HdMaterialNetworkSchema GetMaterialNetwork();
148 HdMaterialNetworkSchema GetMaterialNetwork(
TfToken const &context);
163 static const TfToken &GetSchemaToken();
175 static HdContainerDataSourceHandle
179 const HdDataSourceBaseHandle *values);
184PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.