18#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_LIGHT_INSTANCE_SCHEMA_H
19#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_LIGHT_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_LIGHT_INSTANCE_SCHEMA_TOKENS \
38 (RileyLightInstance) \
48 HD_PRMAN_RILEY_LIGHT_INSTANCE_SCHEMA_TOKENS);
53class HdPrmanRileyLightInstanceSchema :
public HdSchema
59 HdPrmanRileyLightInstanceSchema(HdContainerDataSourceHandle container)
68 static HdPrmanRileyLightInstanceSchema GetFromParent(
69 const HdContainerDataSourceHandle &fromParentContainer);
80 HdPathDataSourceHandle GetGroupPrototype()
81#if HD_API_VERSION >= 66
89 HdPathDataSourceHandle GetGeoPrototype()
90#if HD_API_VERSION >= 66
98 HdPathDataSourceHandle GetMaterial()
99#if HD_API_VERSION >= 66
107 HdPathDataSourceHandle GetLightShader()
108#if HD_API_VERSION >= 66
116 HdPathArrayDataSourceHandle GetCoordsys()
117#if HD_API_VERSION >= 66
125 HdMatrixDataSourceHandle GetXform()
126#if HD_API_VERSION >= 66
135#if HD_API_VERSION >= 66
150 static const TfToken &GetSchemaToken();
208 static HdContainerDataSourceHandle
210 const HdPathDataSourceHandle &groupPrototype,
211 const HdPathDataSourceHandle &geoPrototype,
212 const HdPathDataSourceHandle &material,
213 const HdPathDataSourceHandle &lightShader,
214 const HdPathArrayDataSourceHandle &coordsys,
215 const HdMatrixDataSourceHandle &xform,
216 const HdContainerDataSourceHandle &attributes
230 const HdPathDataSourceHandle &groupPrototype);
233 const HdPathDataSourceHandle &geoPrototype);
236 const HdPathDataSourceHandle &material);
239 const HdPathDataSourceHandle &lightShader);
242 const HdPathArrayDataSourceHandle &coordsys);
245 const HdMatrixDataSourceHandle &xform);
248 const HdContainerDataSourceHandle &attributes);
252 HdContainerDataSourceHandle
Build();
255 HdPathDataSourceHandle _groupPrototype;
256 HdPathDataSourceHandle _geoPrototype;
257 HdPathDataSourceHandle _material;
258 HdPathDataSourceHandle _lightShader;
259 HdPathArrayDataSourceHandle _coordsys;
260 HdMatrixDataSourceHandle _xform;
261 HdContainerDataSourceHandle _attributes;
268PXR_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.