mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 22:29:15 +01:00
[dxvk] Rearrange DxvkBufferCreateInfo
This commit is contained in:
parent
bd6b7aedc1
commit
43e636cf42
@ -15,26 +15,26 @@ namespace dxvk {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Buffer create info
|
* \brief Buffer create info
|
||||||
*
|
*
|
||||||
* The properties of a buffer that are
|
* The properties of a buffer that are
|
||||||
* passed to \ref DxvkDevice::createBuffer
|
* passed to \ref DxvkDevice::createBuffer
|
||||||
*/
|
*/
|
||||||
struct DxvkBufferCreateInfo {
|
struct DxvkBufferCreateInfo {
|
||||||
/// Buffer create flags
|
|
||||||
VkBufferCreateFlags flags = 0;
|
|
||||||
|
|
||||||
/// Size of the buffer, in bytes
|
/// Size of the buffer, in bytes
|
||||||
VkDeviceSize size;
|
VkDeviceSize size = 0u;
|
||||||
|
|
||||||
/// Buffer usage flags
|
/// Buffer usage flags
|
||||||
VkBufferUsageFlags usage;
|
VkBufferUsageFlags usage = 0u;
|
||||||
|
|
||||||
/// Pipeline stages that can access
|
/// Pipeline stages that can access
|
||||||
/// the contents of the buffer.
|
/// the contents of the buffer.
|
||||||
VkPipelineStageFlags stages;
|
VkPipelineStageFlags stages = 0u;
|
||||||
|
|
||||||
/// Allowed access patterns
|
/// Allowed access patterns
|
||||||
VkAccessFlags access;
|
VkAccessFlags access = 0u;
|
||||||
|
|
||||||
|
/// Buffer create flags
|
||||||
|
VkBufferCreateFlags flags = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user