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:
parent
d870b6ff38
commit
55a6b80919
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user