Loading...
Searching...
No Matches
rendererCreateArgs.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_HD_RENDERER_CREATE_ARGS_H
8#define PXR_IMAGING_HD_RENDERER_CREATE_ARGS_H
9
10#include "pxr/pxr.h"
11
12PXR_NAMESPACE_OPEN_SCOPE
13
14class Hgi;
15
21{
22 // Whether the GPU is available or not.
23 bool gpuEnabled { true };
24 // An Hgi instance to check backend support against.
25 Hgi* hgi { nullptr };
26};
27
28PXR_NAMESPACE_CLOSE_SCOPE
29
30#endif
Hydra Graphics Interface.
Definition: hgi.h:95
HdRendererCreateArgs contains members indicating the resources available when creating a renderer plu...