18#ifndef PXR_USD_IMAGING_USD_IMAGING_USD_SCENE_INDEX_INPUT_ARGS_SCHEMA_H
19#define PXR_USD_IMAGING_USD_IMAGING_USD_SCENE_INDEX_INPUT_ARGS_SCHEMA_H
23#include "pxr/usdImaging/usdImaging/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35using UsdStageRefPtrDataSourceHandle = UsdStageRefPtrDataSource::Handle;
38#define USD_IMAGING_USD_SCENE_INDEX_INPUT_ARGS_SCHEMA_TOKENS \
41 (includeUnloadedPrims) \
42 (displayUnloadedPrimsWithBounds) \
43 (addDrawModeSceneIndex) \
46 USD_IMAGING_USD_SCENE_INDEX_INPUT_ARGS_SCHEMA_TOKENS);
53class UsdImagingUsdSceneIndexInputArgsSchema :
public HdSchema
59 UsdImagingUsdSceneIndexInputArgsSchema(HdContainerDataSourceHandle container)
68 static UsdImagingUsdSceneIndexInputArgsSchema GetFromParent(
69 const HdContainerDataSourceHandle &fromParentContainer);
80 UsdStageRefPtrDataSourceHandle GetStage()
const;
83 HdBoolDataSourceHandle GetIncludeUnloadedPrims()
const;
86 HdBoolDataSourceHandle GetDisplayUnloadedPrimsWithBounds()
const;
89 HdBoolDataSourceHandle GetAddDrawModeSceneIndex()
const;
99 static const TfToken &GetSchemaToken();
119 static HdContainerDataSourceHandle
121 const UsdStageRefPtrDataSourceHandle &stage,
122 const HdBoolDataSourceHandle &includeUnloadedPrims,
123 const HdBoolDataSourceHandle &displayUnloadedPrimsWithBounds,
124 const HdBoolDataSourceHandle &addDrawModeSceneIndex
138 const UsdStageRefPtrDataSourceHandle &stage);
140 Builder &SetIncludeUnloadedPrims(
141 const HdBoolDataSourceHandle &includeUnloadedPrims);
143 Builder &SetDisplayUnloadedPrimsWithBounds(
144 const HdBoolDataSourceHandle &displayUnloadedPrimsWithBounds);
146 Builder &SetAddDrawModeSceneIndex(
147 const HdBoolDataSourceHandle &addDrawModeSceneIndex);
151 HdContainerDataSourceHandle
Build();
154 UsdStageRefPtrDataSourceHandle _stage;
155 HdBoolDataSourceHandle _includeUnloadedPrims;
156 HdBoolDataSourceHandle _displayUnloadedPrimsWithBounds;
157 HdBoolDataSourceHandle _addDrawModeSceneIndex;
164PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Schema classes represent a structured view of the inherently unstructured container data source passe...
A datasource representing a concretely-typed sampled value.
Token for efficient comparison, assignment, and hashing of known strings.
The outermost container for scene description, which owns and presents composed prims as a scenegraph...
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.