// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. #pragma once #include "../IncludeDirectXHeaders.h" #if GRAPHICS_API_DIRECTX11 /// /// Interface for objects that can be bound to the shader slots in DirectX 11. /// class IShaderResourceDX11 { public: IShaderResourceDX11() { } public: /// /// Gets handle to the shader resource view object. /// /// SRV virtual ID3D11ShaderResourceView* SRV() const = 0; /// /// Gets CPU to the unordered access view object. /// /// UAV virtual ID3D11UnorderedAccessView* UAV() const = 0; }; #endif