18#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_GEOMETRY_INSTANCE_SCHEMA_H
19#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_GEOMETRY_INSTANCE_SCHEMA_H
23#include "hdPrman/api.h"
26#include "pxr/imaging/hd/schema.h"
27#include "pxr/imaging/hd/version.h"
32PXR_NAMESPACE_OPEN_SCOPE
37#define HD_PRMAN_RILEY_GEOMETRY_INSTANCE_SCHEMA_TOKENS \
38 (RileyGeometryInstance) \
47 HD_PRMAN_RILEY_GEOMETRY_INSTANCE_SCHEMA_TOKENS);
52class HdPrmanRileyGeometryInstanceSchema :
public HdSchema
58 HdPrmanRileyGeometryInstanceSchema(HdContainerDataSourceHandle container)
67 static HdPrmanRileyGeometryInstanceSchema GetFromParent(
68 const HdContainerDataSourceHandle &fromParentContainer);
79 HdPathDataSourceHandle GetGroupPrototype()
80#if HD_API_VERSION >= 66
88 HdPathDataSourceHandle GetGeoPrototype()
89#if HD_API_VERSION >= 66
97 HdPathDataSourceHandle GetMaterial()
98#if HD_API_VERSION >= 66
106 HdPathArrayDataSourceHandle GetCoordsys()
107#if HD_API_VERSION >= 66
115 HdMatrixDataSourceHandle GetXform()
116#if HD_API_VERSION >= 66
125#if HD_API_VERSION >= 66
140 static const TfToken &GetSchemaToken();
194 static HdContainerDataSourceHandle
196 const HdPathDataSourceHandle &groupPrototype,
197 const HdPathDataSourceHandle &geoPrototype,
198 const HdPathDataSourceHandle &material,
199 const HdPathArrayDataSourceHandle &coordsys,
200 const HdMatrixDataSourceHandle &xform,
201 const HdContainerDataSourceHandle &attributes
215 const HdPathDataSourceHandle &groupPrototype);
218 const HdPathDataSourceHandle &geoPrototype);
221 const HdPathDataSourceHandle &material);
224 const HdPathArrayDataSourceHandle &coordsys);
227 const HdMatrixDataSourceHandle &xform);
230 const HdContainerDataSourceHandle &attributes);
234 HdContainerDataSourceHandle
Build();
237 HdPathDataSourceHandle _groupPrototype;
238 HdPathDataSourceHandle _geoPrototype;
239 HdPathDataSourceHandle _material;
240 HdPathArrayDataSourceHandle _coordsys;
241 HdMatrixDataSourceHandle _xform;
242 HdContainerDataSourceHandle _attributes;
249PXR_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...
HDPRMAN_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Schema to describe RtParamList.
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.