mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[dxvk] Add method to retrieve buffer view format info
This commit is contained in:
parent
c29314de5a
commit
c6ea115ca3
@ -564,6 +564,14 @@ namespace dxvk {
|
||||
const DxvkBufferCreateInfo& bufferInfo() const {
|
||||
return m_buffer->info();
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief View format info
|
||||
* \returns View format info
|
||||
*/
|
||||
const DxvkFormatInfo* formatInfo() const {
|
||||
return imageFormatInfo(m_info.format);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Retrieves buffer slice handle
|
||||
|
Loading…
x
Reference in New Issue
Block a user