Loading...
Searching...
No Matches
rileyShadingNodeSchema.h
Go to the documentation of this file.
1//
2// Copyright 2023 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
8
9/* ************************************************************************** */
10/* ** ** */
11/* ** This file is generated by a script. ** */
12/* ** ** */
13/* ** Do not edit it directly (unless it is within a CUSTOM CODE section)! ** */
14/* ** Edit hdSchemaDefs.py instead to make changes. ** */
15/* ** ** */
16/* ************************************************************************** */
17
18#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_SHADING_NODE_SCHEMA_H
19#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_SHADING_NODE_SCHEMA_H
20
22
23#include "hdPrman/api.h"
25
26#include "pxr/imaging/hd/schema.h"
27#include "pxr/imaging/hd/version.h"
28
29// --(BEGIN CUSTOM CODE: Includes)--
30// --(END CUSTOM CODE: Includes)--
31
32PXR_NAMESPACE_OPEN_SCOPE
33
34// --(BEGIN CUSTOM CODE: Declares)--
35// --(END CUSTOM CODE: Declares)--
36
37#define HD_PRMAN_RILEY_SHADING_NODE_SCHEMA_TOKENS \
38 (type) \
39 (name) \
40 (handle) \
41 (params) \
42 (pattern) \
43 (bxdf) \
44 (integrator) \
45 (light) \
46 (lightFilter) \
47 (projection) \
48 (displacement) \
49 (sampleFilter) \
50 (displayFilter) \
51
52TF_DECLARE_PUBLIC_TOKENS(HdPrmanRileyShadingNodeSchemaTokens, HDPRMAN_API,
53 HD_PRMAN_RILEY_SHADING_NODE_SCHEMA_TOKENS);
54
55//-----------------------------------------------------------------------------
56
57
58class HdPrmanRileyShadingNodeSchema : public HdSchema
59{
60public:
63
64 HdPrmanRileyShadingNodeSchema(HdContainerDataSourceHandle container)
65 : HdSchema(container) {}
66
68
69// --(BEGIN CUSTOM CODE: Schema Methods)--
70// --(END CUSTOM CODE: Schema Methods)--
71
74
75 HDPRMAN_API
76 HdTokenDataSourceHandle GetType()
77#if HD_API_VERSION >= 66
78 const;
79#else
80 ;
81#endif
82
83
84 HDPRMAN_API
85 HdTokenDataSourceHandle GetName()
86#if HD_API_VERSION >= 66
87 const;
88#else
89 ;
90#endif
91
92
93 HDPRMAN_API
94 HdTokenDataSourceHandle GetHandle()
95#if HD_API_VERSION >= 66
96 const;
97#else
98 ;
99#endif
100
101
102 HDPRMAN_API
104#if HD_API_VERSION >= 66
105 const;
106#else
107 ;
108#endif
109
110
112
115
123 HDPRMAN_API
124 static HdContainerDataSourceHandle
125 BuildRetained(
126 const HdTokenDataSourceHandle &type,
127 const HdTokenDataSourceHandle &name,
128 const HdTokenDataSourceHandle &handle,
129 const HdContainerDataSourceHandle &params
130 );
131
139 {
140 public:
141 HDPRMAN_API
142 Builder &SetType(
143 const HdTokenDataSourceHandle &type);
144 HDPRMAN_API
145 Builder &SetName(
146 const HdTokenDataSourceHandle &name);
147 HDPRMAN_API
148 Builder &SetHandle(
149 const HdTokenDataSourceHandle &handle);
150 HDPRMAN_API
151 Builder &SetParams(
152 const HdContainerDataSourceHandle &params);
153
155 HDPRMAN_API
156 HdContainerDataSourceHandle Build();
157
158 private:
159 HdTokenDataSourceHandle _type;
160 HdTokenDataSourceHandle _name;
161 HdTokenDataSourceHandle _handle;
162 HdContainerDataSourceHandle _params;
163
164 };
165
179 HDPRMAN_API
180 static HdTokenDataSourceHandle BuildTypeDataSource(
181 const TfToken &type);
182
184};
185
186PXR_NAMESPACE_CLOSE_SCOPE
187
188#endif
Schema to describe RtParamList.
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...
Definition: schema.h:26
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Definition: staticTokens.h:92