diff options
Diffstat (limited to 'demo/DemoAppD3D11/computeContextD3D11.h')
| -rw-r--r-- | demo/DemoAppD3D11/computeContextD3D11.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/demo/DemoAppD3D11/computeContextD3D11.h b/demo/DemoAppD3D11/computeContextD3D11.h new file mode 100644 index 0000000..43ad5b1 --- /dev/null +++ b/demo/DemoAppD3D11/computeContextD3D11.h @@ -0,0 +1,30 @@ +/* +* 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. +*/ + +#pragma once + +#include "../DemoApp/computeContext.h" + +struct ComputeContextDesc +{ + ID3D11Device* device; + ID3D11DeviceContext* deviceContext; +}; + +struct ComputeResourceDesc +{ + ID3D11ShaderResourceView* srv; +}; + +struct ComputeResourceRWDesc +{ + ComputeResourceDesc resource; + ID3D11UnorderedAccessView* uav; +};
\ No newline at end of file |