Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
BufferVK Class Reference

Simple wrapper class to manage a Vulkan buffer. More...

#include <BufferVK.h>

Public Attributes

Ref< MemoryVKmMemory
 The memory block that contains the buffer (note that filling this in is optional if you do your own buffer allocation)
 
VkBuffer mBuffer = VK_NULL_HANDLE
 The Vulkan buffer handle.
 
VkDeviceSize mOffset = 0
 Offset in the memory block where the buffer starts.
 
VkDeviceSize mSize = 0
 Real size of the buffer.
 

Detailed Description

Simple wrapper class to manage a Vulkan buffer.

Member Data Documentation

◆ mBuffer

VkBuffer BufferVK::mBuffer = VK_NULL_HANDLE

The Vulkan buffer handle.

◆ mMemory

Ref<MemoryVK> BufferVK::mMemory

The memory block that contains the buffer (note that filling this in is optional if you do your own buffer allocation)

◆ mOffset

VkDeviceSize BufferVK::mOffset = 0

Offset in the memory block where the buffer starts.

◆ mSize

VkDeviceSize BufferVK::mSize = 0

Real size of the buffer.


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