VV::V1::Buffer struct

A linear array of data.

Buffers represent linear arrays of data which are used for various purposes by binding them to a graphics or compute pipeline via descriptor sets or via certain commands, or by directly specifying them as parameters to certain commands.

Specification

Derived classes

struct VV::V2::Buffer
A linear array of data.

Public types

struct CopyInfo
Specification
struct CreateInfo
Specification
struct Memory_Barrier
Specification
using Handle = VkBuffer
Specification
using ECreateFlag = EBufferCreateFlag
using CreateFlags = Bitfield<EBufferCreateFlag, VkBufferCreateFlags>
Specification
using UsageFlags = Bitfield<EBufferUsage, VkBufferUsageFlags>
Specification

Public static functions

static auto BindMemory(LogicalDevice::Handle _device, Handle _buffer, Memory::Handle _memory, DeviceSize _memoryOffset) -> EResult
Attach memory to a buffer object.
static auto Create(LogicalDevice::Handle _device, const CreateInfo& _createInfo, const Memory::AllocationCallbacks* _allocator, Handle& _buffer) -> EResult
Create a new buffer object.
static void Destroy(LogicalDevice::Handle _device, Handle _buffer, const Memory::AllocationCallbacks* _allocator)
Destroy a buffer object.
static void GetMemoryRequirements(LogicalDevice::Handle _device, Handle _buffer, Memory::Requirements& _memoryRequirements)
Specification