18#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_RENDER_TARGET_SCHEMA_H
19#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_RENDER_TARGET_SCHEMA_H
23#include "hdPrman/api.h"
26#include "pxr/imaging/hd/schema.h"
27#include "pxr/imaging/hd/version.h"
32PXR_NAMESPACE_OPEN_SCOPE
37#define HD_PRMAN_RILEY_RENDER_TARGET_SCHEMA_TOKENS \
48 HD_PRMAN_RILEY_RENDER_TARGET_SCHEMA_TOKENS);
53class HdPrmanRileyRenderTargetSchema :
public HdSchema
59 HdPrmanRileyRenderTargetSchema(HdContainerDataSourceHandle container)
68 static HdPrmanRileyRenderTargetSchema GetFromParent(
69 const HdContainerDataSourceHandle &fromParentContainer);
80 HdPathArrayDataSourceHandle GetRenderOutputs()
81#if HD_API_VERSION >= 66
89 HdVec3iDataSourceHandle GetExtent()
90#if HD_API_VERSION >= 66
98 HdTokenDataSourceHandle GetFilterMode()
99#if HD_API_VERSION >= 66
107 HdFloatDataSourceHandle GetPixelVariance()
108#if HD_API_VERSION >= 66
117#if HD_API_VERSION >= 66
132 static const TfToken &GetSchemaToken();
182 static HdContainerDataSourceHandle
184 const HdPathArrayDataSourceHandle &renderOutputs,
185 const HdVec3iDataSourceHandle &extent,
186 const HdTokenDataSourceHandle &filterMode,
187 const HdFloatDataSourceHandle &pixelVariance,
188 const HdContainerDataSourceHandle ¶ms
202 const HdPathArrayDataSourceHandle &renderOutputs);
205 const HdVec3iDataSourceHandle &extent);
208 const HdTokenDataSourceHandle &filterMode);
211 const HdFloatDataSourceHandle &pixelVariance);
214 const HdContainerDataSourceHandle ¶ms);
218 HdContainerDataSourceHandle
Build();
221 HdPathArrayDataSourceHandle _renderOutputs;
222 HdVec3iDataSourceHandle _extent;
223 HdTokenDataSourceHandle _filterMode;
224 HdFloatDataSourceHandle _pixelVariance;
225 HdContainerDataSourceHandle _params;
236 static HdTokenDataSourceHandle BuildFilterModeDataSource(
242PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Schema to describe RtParamList.
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...
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.