35#ifndef PXR_IMAGING_HD_RENDER_PASS_SCHEMA_H
36#define PXR_IMAGING_HD_RENDER_PASS_SCHEMA_H
40#include "pxr/imaging/hd/api.h"
41#include "pxr/imaging/hd/schemaTypeDefs.h"
43#include "pxr/imaging/hd/schema.h"
48PXR_NAMESPACE_OPEN_SCOPE
53#define HD_RENDER_PASS_SCHEMA_TOKENS \
59 HD_RENDER_PASS_SCHEMA_TOKENS);
64class HdRenderPassSchema :
public HdSchema
70 HdRenderPassSchema(HdContainerDataSourceHandle container)
79 static HdRenderPassSchema GetFromParent(
80 const HdContainerDataSourceHandle &fromParentContainer);
91 HdTokenDataSourceHandle GetPassType()
const;
94 HdPathDataSourceHandle GetRenderSource()
const;
104 static const TfToken &GetSchemaToken();
142 static HdContainerDataSourceHandle
144 const HdTokenDataSourceHandle &passType,
145 const HdPathDataSourceHandle &renderSource
159 const HdTokenDataSourceHandle &passType);
162 const HdPathDataSourceHandle &renderSource);
166 HdContainerDataSourceHandle
Build();
169 HdTokenDataSourceHandle _passType;
170 HdPathDataSourceHandle _renderSource;
177PXR_NAMESPACE_CLOSE_SCOPE
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...
HD_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.