diff options
Diffstat (limited to 'demo/DemoAppD3D11/imguiGraphD3D11.h')
| -rw-r--r-- | demo/DemoAppD3D11/imguiGraphD3D11.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/demo/DemoAppD3D11/imguiGraphD3D11.h b/demo/DemoAppD3D11/imguiGraphD3D11.h new file mode 100644 index 0000000..54e022f --- /dev/null +++ b/demo/DemoAppD3D11/imguiGraphD3D11.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. + * + * NVIDIA CORPORATION and its licensors retain all intellectual property + * and proprietary rights in and to this software, related documentation + * and any modifications thereto. Any use, reproduction, disclosure or + * distribution of this software and related documentation without an express + * license agreement from NVIDIA CORPORATION is strictly prohibited. + */ + +#ifndef IMGUI_GRAPH_D3D11_H +#define IMGUI_GRAPH_D3D11_H + +#include <stdint.h> + +#include "../DemoApp/imguiGraph.h" + +struct ID3D11Device; +struct ID3D11DeviceContext; + +struct ImguiGraphDesc +{ + ID3D11Device* device = nullptr; + ID3D11DeviceContext* deviceContext = nullptr; + int winW; + int winH; + + uint32_t maxVertices = 64 * 4096u; + + ImguiGraphDesc() {} +}; + +#endif
\ No newline at end of file |