HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stormCheck.h
Go to the documentation of this file.
1 //
2 // Copyright 2025 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_IMAGING_HDX_STORM_CHECK_H
8 #define PXR_IMAGING_HDX_STORM_CHECK_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/imaging/hdx/api.h"
12 
14 
15 class HdRenderDelegate;
16 
17 // This function should only be used to check for storm when creating a
18 // HdxTaskControllerSceneIndex. It is intended to be temporary since we don't
19 // want scene indices to configure themselves based on render delegate.
20 //
21 // \deprecated Use HdRenderDelegate::RequiresStormTasks().
22 //
23 HDX_API
24 bool HdxIsStorm(const HdRenderDelegate* delegate);
25 
27 
28 #endif // #endif // PXR_IMAGING_HDX_STORM_CHECK_H
29 
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
#define HDX_API
Definition: api.h:23
HDX_API bool HdxIsStorm(const HdRenderDelegate *delegate)
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74