FiniteRenderBufferInfo
The FiniteRenderBufferInfo struct stores information required to create a Vulkan buffer in the FiniteRender system.
typedef struct { const void *next; VkBufferCreateFlags flags; VkDeviceSize size; VkBufferUsageFlags useFlags; VkSharingMode sharing; uint32_t _fIndex; uint32_t *fIndex;} FiniteRenderBufferInfo;Properties
Section titled “Properties”| Type | Description |
|---|---|
const void *next | Pointer for Vulkan extension chaining, usually NULL. |
VkBufferCreateFlags flags | Vulkan buffer creation flags. |
VkDeviceSize size | Size of the buffer in bytes. |
VkBufferUsageFlags useFlags | Vulkan usage flags indicating how the buffer will be used (vertex, index, uniform, etc.). |
VkSharingMode sharing | Specifies whether the buffer is exclusive to a single queue or shared across multiple queues. |
uint32_t _fIndex | Number of elements in the fIndex array. |
uint32_t *fIndex | Optional array of queue family indices for sharing the buffer across multiple queues. |
Standard Usage
Section titled “Standard Usage”This struct should be created manually and used as a param for a finite buffer function: