1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-13 16:08:50 +01:00

[d3d11] Add method to query D3D11 resource dimension from texture

This commit is contained in:
Philip Rebohle 2022-02-09 04:35:59 +01:00
parent d870b6ff38
commit 55a6b80919
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -100,6 +100,14 @@ namespace dxvk {
return &m_desc; 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 * \brief Retrieves Vulkan image type
* *