Loading...
Searching...
No Matches
rileyRenderViewSchema.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_RENDER_VIEW_SCHEMA_H
19#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_RENDER_VIEW_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_RENDER_VIEW_SCHEMA_TOKENS \
38 (rileyRenderView) \
39 (renderTarget) \
40 (camera) \
41 (integrator) \
42 (displayFilters) \
43 (sampleFilters) \
44 (params) \
45 (importance) \
46 (weighted) \
47
48TF_DECLARE_PUBLIC_TOKENS(HdPrmanRileyRenderViewSchemaTokens, HDPRMAN_API,
49 HD_PRMAN_RILEY_RENDER_VIEW_SCHEMA_TOKENS);
50
51//-----------------------------------------------------------------------------
52
53
54class HdPrmanRileyRenderViewSchema : public HdSchema
55{
56public:
59
60 HdPrmanRileyRenderViewSchema(HdContainerDataSourceHandle container)
61 : HdSchema(container) {}
62
68 HDPRMAN_API
69 static HdPrmanRileyRenderViewSchema GetFromParent(
70 const HdContainerDataSourceHandle &fromParentContainer);
71
73
74// --(BEGIN CUSTOM CODE: Schema Methods)--
75// --(END CUSTOM CODE: Schema Methods)--
76
79
80 HDPRMAN_API
81 HdPathDataSourceHandle GetRenderTarget()
82#if HD_API_VERSION >= 66
83 const;
84#else
85 ;
86#endif
87
88
89 HDPRMAN_API
90 HdPathDataSourceHandle GetCamera()
91#if HD_API_VERSION >= 66
92 const;
93#else
94 ;
95#endif
96
97
98 HDPRMAN_API
99 HdPathDataSourceHandle GetIntegrator()
100#if HD_API_VERSION >= 66
101 const;
102#else
103 ;
104#endif
105
106
107 HDPRMAN_API
108 HdPathArrayDataSourceHandle GetDisplayFilters()
109#if HD_API_VERSION >= 66
110 const;
111#else
112 ;
113#endif
114
115
116 HDPRMAN_API
117 HdPathArrayDataSourceHandle GetSampleFilters()
118#if HD_API_VERSION >= 66
119 const;
120#else
121 ;
122#endif
123
124
125 HDPRMAN_API
127#if HD_API_VERSION >= 66
128 const;
129#else
130 ;
131#endif
132
133
135
138
141 HDPRMAN_API
142 static const TfToken &GetSchemaToken();
143
146 HDPRMAN_API
147 static const HdDataSourceLocator &GetDefaultLocator();
148
150
159
161 HDPRMAN_API
162 static const HdDataSourceLocator &GetRenderTargetLocator();
163
165 HDPRMAN_API
166 static const HdDataSourceLocator &GetCameraLocator();
167
169 HDPRMAN_API
170 static const HdDataSourceLocator &GetIntegratorLocator();
171
173 HDPRMAN_API
174 static const HdDataSourceLocator &GetDisplayFiltersLocator();
175
177 HDPRMAN_API
178 static const HdDataSourceLocator &GetSampleFiltersLocator();
179
181 HDPRMAN_API
182 static const HdDataSourceLocator &GetParamsLocator();
184
187
195 HDPRMAN_API
196 static HdContainerDataSourceHandle
197 BuildRetained(
198 const HdPathDataSourceHandle &renderTarget,
199 const HdPathDataSourceHandle &camera,
200 const HdPathDataSourceHandle &integrator,
201 const HdPathArrayDataSourceHandle &displayFilters,
202 const HdPathArrayDataSourceHandle &sampleFilters,
203 const HdContainerDataSourceHandle &params
204 );
205
213 {
214 public:
215 HDPRMAN_API
216 Builder &SetRenderTarget(
217 const HdPathDataSourceHandle &renderTarget);
218 HDPRMAN_API
219 Builder &SetCamera(
220 const HdPathDataSourceHandle &camera);
221 HDPRMAN_API
222 Builder &SetIntegrator(
223 const HdPathDataSourceHandle &integrator);
224 HDPRMAN_API
225 Builder &SetDisplayFilters(
226 const HdPathArrayDataSourceHandle &displayFilters);
227 HDPRMAN_API
228 Builder &SetSampleFilters(
229 const HdPathArrayDataSourceHandle &sampleFilters);
230 HDPRMAN_API
231 Builder &SetParams(
232 const HdContainerDataSourceHandle &params);
233
235 HDPRMAN_API
236 HdContainerDataSourceHandle Build();
237
238 private:
239 HdPathDataSourceHandle _renderTarget;
240 HdPathDataSourceHandle _camera;
241 HdPathDataSourceHandle _integrator;
242 HdPathArrayDataSourceHandle _displayFilters;
243 HdPathArrayDataSourceHandle _sampleFilters;
244 HdContainerDataSourceHandle _params;
245
246 };
247
254 HDPRMAN_API
255 static HdTokenDataSourceHandle BuildFilterModeDataSource(
256 const TfToken &filterMode);
257
259};
260
261PXR_NAMESPACE_CLOSE_SCOPE
262
263#endif
Represents an object that can identify the location of a data source.
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