Loading...
Searching...
No Matches
rileyIntegratorSchema.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_INTEGRATOR_SCHEMA_H
19#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_INTEGRATOR_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_INTEGRATOR_SCHEMA_TOKENS \
38 (rileyIntegrator) \
39 (integratorNode) \
40
41TF_DECLARE_PUBLIC_TOKENS(HdPrmanRileyIntegratorSchemaTokens, HDPRMAN_API,
42 HD_PRMAN_RILEY_INTEGRATOR_SCHEMA_TOKENS);
43
44//-----------------------------------------------------------------------------
45
46
47class HdPrmanRileyIntegratorSchema : public HdSchema
48{
49public:
52
53 HdPrmanRileyIntegratorSchema(HdContainerDataSourceHandle container)
54 : HdSchema(container) {}
55
61 HDPRMAN_API
62 static HdPrmanRileyIntegratorSchema GetFromParent(
63 const HdContainerDataSourceHandle &fromParentContainer);
64
66
67// --(BEGIN CUSTOM CODE: Schema Methods)--
68// --(END CUSTOM CODE: Schema Methods)--
69
72
73 HDPRMAN_API
74 HdPrmanRileyShadingNodeSchema GetIntegratorNode()
75#if HD_API_VERSION >= 66
76 const;
77#else
78 ;
79#endif
80
81
83
86
89 HDPRMAN_API
90 static const TfToken &GetSchemaToken();
91
94 HDPRMAN_API
95 static const HdDataSourceLocator &GetDefaultLocator();
96
98
107
109 HDPRMAN_API
110 static const HdDataSourceLocator &GetIntegratorNodeLocator();
112
115
123 HDPRMAN_API
124 static HdContainerDataSourceHandle
125 BuildRetained(
126 const HdContainerDataSourceHandle &integratorNode
127 );
128
136 {
137 public:
138 HDPRMAN_API
139 Builder &SetIntegratorNode(
140 const HdContainerDataSourceHandle &integratorNode);
141
143 HDPRMAN_API
144 HdContainerDataSourceHandle Build();
145
146 private:
147 HdContainerDataSourceHandle _integratorNode;
148
149 };
150
152};
153
154PXR_NAMESPACE_CLOSE_SCOPE
155
156#endif
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 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