Loading...
Searching...
No Matches
collectionMaterialBindingsSchema.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 PXR_USD_IMAGING_USD_IMAGING_COLLECTION_MATERIAL_BINDINGS_SCHEMA_H
19#define PXR_USD_IMAGING_USD_IMAGING_COLLECTION_MATERIAL_BINDINGS_SCHEMA_H
20
22
23#include "pxr/usdImaging/usdImaging/api.h"
24
25#include "pxr/imaging/hd/schema.h"
26
27// --(BEGIN CUSTOM CODE: Includes)--
28
29#include "pxr/imaging/hd/vectorSchema.h"
30
31// --(END CUSTOM CODE: Includes)--
32
33PXR_NAMESPACE_OPEN_SCOPE
34
35// --(BEGIN CUSTOM CODE: Declares)--
36
39
40// --(END CUSTOM CODE: Declares)--
41
42#define USD_IMAGING_COLLECTION_MATERIAL_BINDINGS_SCHEMA_TOKENS \
43 (collectionMaterialBindings) \
44 ((allPurpose, "")) \
45
46TF_DECLARE_PUBLIC_TOKENS(UsdImagingCollectionMaterialBindingsSchemaTokens, USDIMAGING_API,
47 USD_IMAGING_COLLECTION_MATERIAL_BINDINGS_SCHEMA_TOKENS);
48
49//-----------------------------------------------------------------------------
50
51
52class UsdImagingCollectionMaterialBindingsSchema : public HdSchema
53{
54public:
57
58 UsdImagingCollectionMaterialBindingsSchema(HdContainerDataSourceHandle container)
59 : HdSchema(container) {}
60
66 USDIMAGING_API
67 static UsdImagingCollectionMaterialBindingsSchema GetFromParent(
68 const HdContainerDataSourceHandle &fromParentContainer);
69
71
72// --(BEGIN CUSTOM CODE: Schema Methods)--
73
76 USDIMAGING_API
77 TfTokenVector GetPurposes();
78
81 GetCollectionMaterialBindings();
82
85 GetCollectionMaterialBindings(const TfToken &purpose);
86
87// --(END CUSTOM CODE: Schema Methods)--
88
91
93
96
99 USDIMAGING_API
100 static const TfToken &GetSchemaToken();
101
104 USDIMAGING_API
105 static const HdDataSourceLocator &GetDefaultLocator();
106
108
111
113};
114
115PXR_NAMESPACE_CLOSE_SCOPE
116
117#endif
Represents an object that can identify the location of a data source.
Template class wrapping a vector data source whose children are container data source conforming to a...
Definition: vectorSchema.h:81
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:81
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440