Kohi Game Engine
vulkan_buffer Struct Reference

Represents a Vulkan-specific buffer. Used to load data onto the GPU. More...

#include <vulkan_types.h>

Data Fields

u8 handle_count
 
vkbuffer_infoinfos
 An array of vulkan buffer infos, 3 if triple-buffering, otherwise 1. More...
 
VkBufferUsageFlags usage
 The usage flags. More...
 
b8 is_locked
 Indicates if the buffer's memory is currently locked. More...
 
VkMemoryRequirements memory_requirements
 The memory requirements for this buffer. More...
 
i32 memory_index
 The index of the memory used by the buffer. More...
 
u32 memory_property_flags
 The property flags for the memory used by the buffer. More...
 
u64 size
 
kname name
 
renderbuffer_type type
 
renderbuffer_flags flags
 

Detailed Description

Represents a Vulkan-specific buffer. Used to load data onto the GPU.

Field Documentation

◆ flags

◆ handle_count

u8 handle_count

◆ infos

vkbuffer_info* infos

An array of vulkan buffer infos, 3 if triple-buffering, otherwise 1.

◆ is_locked

b8 is_locked

Indicates if the buffer's memory is currently locked.

◆ memory_index

i32 memory_index

The index of the memory used by the buffer.

◆ memory_property_flags

u32 memory_property_flags

The property flags for the memory used by the buffer.

◆ memory_requirements

VkMemoryRequirements memory_requirements

The memory requirements for this buffer.

◆ name

kname name

◆ size

u64 size

◆ type

◆ usage

VkBufferUsageFlags usage

The usage flags.


The documentation for this struct was generated from the following file: