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

VkBuffer handle
 The handle to the internal buffer. More...
 
VkBufferUsageFlagBits usage
 The usage flags. More...
 
b8 is_locked
 Indicates if the buffer's memory is currently locked. More...
 
VkDeviceMemory memory
 The memory used by the buffer. 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...
 

Detailed Description

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

Field Documentation

◆ handle

VkBuffer handle

The handle to the internal buffer.

◆ is_locked

b8 is_locked

Indicates if the buffer's memory is currently locked.

◆ memory

VkDeviceMemory memory

The memory used by the buffer.

◆ 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.

◆ usage

VkBufferUsageFlagBits usage

The usage flags.


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