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);
49class HdRenderPassSchema :
public HdSchema
55 HdRenderPassSchema(HdContainerDataSourceHandle container)
64 static HdRenderPassSchema GetFromParent(
65 const HdContainerDataSourceHandle &fromParentContainer);
76 HdTokenDataSourceHandle GetPassType()
const;
79 HdPathDataSourceHandle GetRenderSource()
const;
89 static const TfToken &GetSchemaToken();
127 static HdContainerDataSourceHandle
129 const HdTokenDataSourceHandle &passType,
130 const HdPathDataSourceHandle &renderSource
144 const HdTokenDataSourceHandle &passType);
147 const HdPathDataSourceHandle &renderSource);
151 HdContainerDataSourceHandle
Build();
154 HdTokenDataSourceHandle _passType;
155 HdPathDataSourceHandle _renderSource;
162PXR_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.