diff --git a/src/d3d11/d3d11_texture.h b/src/d3d11/d3d11_texture.h index a5afcf29..f4df6e12 100644 --- a/src/d3d11/d3d11_texture.h +++ b/src/d3d11/d3d11_texture.h @@ -100,6 +100,14 @@ namespace dxvk { return &m_desc; } + /** + * \brief Retrieves D3D11 texture type + * \returns D3D11 resource dimension + */ + D3D11_RESOURCE_DIMENSION GetDimension() const { + return m_dimension; + } + /** * \brief Retrieves Vulkan image type *