18#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_PRIMVAR_SCHEMA_H
19#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_PRIMVAR_SCHEMA_H
23#include "hdPrman/api.h"
25#include "pxr/imaging/hd/schema.h"
26#include "pxr/imaging/hd/version.h"
31PXR_NAMESPACE_OPEN_SCOPE
36#define HD_PRMAN_RILEY_PRIMVAR_SCHEMA_TOKENS \
48 HD_PRMAN_RILEY_PRIMVAR_SCHEMA_TOKENS);
53class HdPrmanRileyPrimvarSchema :
public HdSchema
59 HdPrmanRileyPrimvarSchema(HdContainerDataSourceHandle container)
71 HdSampledDataSourceHandle GetValue()
72#if HD_API_VERSION >= 66
80 HdTokenDataSourceHandle GetDetailType()
81#if HD_API_VERSION >= 66
91 HdTokenDataSourceHandle GetRole()
92#if HD_API_VERSION >= 66
112 static HdContainerDataSourceHandle
114 const HdSampledDataSourceHandle &value,
115 const HdTokenDataSourceHandle &detailType,
116 const HdTokenDataSourceHandle &role
130 const HdSampledDataSourceHandle &value);
133 const HdTokenDataSourceHandle &detailType);
136 const HdTokenDataSourceHandle &role);
140 HdContainerDataSourceHandle
Build();
143 HdSampledDataSourceHandle _value;
144 HdTokenDataSourceHandle _detailType;
145 HdTokenDataSourceHandle _role;
160 static HdTokenDataSourceHandle BuildDetailTypeDataSource(
166PXR_NAMESPACE_CLOSE_SCOPE
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 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.