28 #ifndef PXR_IMAGING_HD_SPHERE_SCHEMA_H 29 #define PXR_IMAGING_HD_SPHERE_SCHEMA_H 31 #include "pxr/imaging/hd/api.h" 33 #include "pxr/imaging/hd/schema.h" 35 PXR_NAMESPACE_OPEN_SCOPE
39 #define HDSPHERE_SCHEMA_TOKENS \ 44 HDSPHERE_SCHEMA_TOKENS);
48 class HdSphereSchema :
public HdSchema 51 HdSphereSchema(HdContainerDataSourceHandle container)
57 HdDoubleDataSourceHandle GetRadius();
67 static HdContainerDataSourceHandle
69 const HdDoubleDataSourceHandle &radius
83 const HdDoubleDataSourceHandle &radius);
87 HdContainerDataSourceHandle
Build();
90 HdDoubleDataSourceHandle _radius;
99 static HdSphereSchema GetFromParent(
100 const HdContainerDataSourceHandle &fromParentContainer);
109 PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
Schema classes represent a structured view of the inherently unstructured container data source passe...