Loading...
Searching...
No Matches
rendererSettings.h
1//
2// Copyright 2018 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7
9
10#ifndef PXR_USD_IMAGING_USD_IMAGING_GL_RENDERER_SETTINGS_H
11#define PXR_USD_IMAGING_USD_IMAGING_GL_RENDERER_SETTINGS_H
12
13#include "pxr/pxr.h"
14#include "pxr/base/tf/token.h"
15#include "pxr/base/vt/value.h"
16
17PXR_NAMESPACE_OPEN_SCOPE
18
19struct UsdImagingGLRendererSetting {
20 enum Type {
21 TYPE_FLAG,
22 TYPE_INT,
23 TYPE_FLOAT,
24 TYPE_STRING
25 };
26 std::string name;
27 TfToken key;
28 Type type;
29 VtValue defValue;
30};
31
32typedef std::vector<UsdImagingGLRendererSetting>
33 UsdImagingGLRendererSettingsList;
34
35PXR_NAMESPACE_CLOSE_SCOPE
36
37#endif // PXR_USD_IMAGING_USD_IMAGING_GL_RENDERER_SETTINGS_H
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
Provides a container which may hold any type, and provides introspection and iteration over array typ...
Definition: value.h:90
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...