18#ifndef PXR_IMAGING_HD_RENDER_PASS_SCHEMA_H
19#define PXR_IMAGING_HD_RENDER_PASS_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
24#include "pxr/imaging/hd/schemaTypeDefs.h"
26#include "pxr/imaging/hd/schema.h"
31PXR_NAMESPACE_OPEN_SCOPE
36#define HD_RENDER_PASS_SCHEMA_TOKENS \
42 HD_RENDER_PASS_SCHEMA_TOKENS);
47class HdRenderPassSchema :
public HdSchema
53 HdRenderPassSchema(HdContainerDataSourceHandle container)
62 static HdRenderPassSchema GetFromParent(
63 const HdContainerDataSourceHandle &fromParentContainer);
74 HdTokenDataSourceHandle GetPassType()
const;
77 HdPathDataSourceHandle GetRenderSource()
const;
87 static const TfToken &GetSchemaToken();
125 static HdContainerDataSourceHandle
127 const HdTokenDataSourceHandle &passType,
128 const HdPathDataSourceHandle &renderSource
142 const HdTokenDataSourceHandle &passType);
145 const HdPathDataSourceHandle &renderSource);
149 HdContainerDataSourceHandle
Build();
152 HdTokenDataSourceHandle _passType;
153 HdPathDataSourceHandle _renderSource;
160PXR_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.