Skip to content

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;
TypeDescription
const void *nextPointer for Vulkan extension chaining, usually NULL.
VkBufferCreateFlags flagsVulkan buffer creation flags.
VkDeviceSize sizeSize of the buffer in bytes.
VkBufferUsageFlags useFlagsVulkan usage flags indicating how the buffer will be used (vertex, index, uniform, etc.).
VkSharingMode sharingSpecifies whether the buffer is exclusive to a single queue or shared across multiple queues.
uint32_t _fIndexNumber of elements in the fIndex array.
uint32_t *fIndexOptional array of queue family indices for sharing the buffer across multiple queues.

This struct should be created manually and used as a param for a finite buffer function: