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, "")) \
39 ((_universalRenderContextToken, "universalRenderContext")) \
47 HD_MATERIAL_SCHEMA_TOKENS);
81 const HdContainerDataSourceHandle &fromParentContainer);
210 static HdContainerDataSourceHandle
214 const HdDataSourceBaseHandle *values);
219PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
The MaterialNetwork schema is a container schema that defines a material for a specific render contex...
The Material schema is a container schema that provides the correct material definition per render co...
static HD_API HdMaterialSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
Retrieves a container data source with the schema's default name token "material" from the parent con...
HD_API TfTokenVector GetRenderContexts() const
The following diagram depicts an example scene index prim "Plastic_Material".
static HD_API const TfToken & GetSchemaToken()
Returns a token where the container representing this schema is found in a container by default.
static HD_API const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
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.
std::vector< TfToken > TfTokenVector
Convenience types.