Loading...
Searching...
No Matches
stormCheck.h
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
13PXR_NAMESPACE_OPEN_SCOPE
14
15class 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//
23HDX_API
24bool HdxIsStorm(const HdRenderDelegate* delegate);
25
26PXR_NAMESPACE_CLOSE_SCOPE
27
28#endif // #endif // PXR_IMAGING_HDX_STORM_CHECK_H
29