18#ifndef PXR_IMAGING_HD_MESH_SCHEMA_H
19#define PXR_IMAGING_HD_MESH_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
27#include "pxr/imaging/hd/schema.h"
32PXR_NAMESPACE_OPEN_SCOPE
37#define HD_MESH_SCHEMA_TOKENS \
45 HD_MESH_SCHEMA_TOKENS);
56 HdMeshSchema(HdContainerDataSourceHandle container)
65 static HdMeshSchema GetFromParent(
66 const HdContainerDataSourceHandle &fromParentContainer);
77 HdMeshTopologySchema GetTopology()
const;
80 HdTokenDataSourceHandle GetSubdivisionScheme()
const;
83 HdSubdivisionTagsSchema GetSubdivisionTags()
const;
86 HdBoolDataSourceHandle GetDoubleSided()
const;
96 static const TfToken &GetSchemaToken();
142 static HdContainerDataSourceHandle
144 const HdContainerDataSourceHandle &topology,
145 const HdTokenDataSourceHandle &subdivisionScheme,
146 const HdContainerDataSourceHandle &subdivisionTags,
147 const HdBoolDataSourceHandle &doubleSided
161 const HdContainerDataSourceHandle &topology);
164 const HdTokenDataSourceHandle &subdivisionScheme);
167 const HdContainerDataSourceHandle &subdivisionTags);
170 const HdBoolDataSourceHandle &doubleSided);
174 HdContainerDataSourceHandle
Build();
177 HdContainerDataSourceHandle _topology;
178 HdTokenDataSourceHandle _subdivisionScheme;
179 HdContainerDataSourceHandle _subdivisionTags;
180 HdBoolDataSourceHandle _doubleSided;
187PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
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.