Definition GraphicsBufferVK.hpp:8
VkImage heapImage
Definition GraphicsBufferVK.hpp:23
VkBuffer heapBuffer
Definition GraphicsBufferVK.hpp:22
void Init() override
Run the initialization logic of this object. Should be overriden by deriving classes.
Definition GraphicsBufferVK.cpp:44
uint32 GetMemoryType()
Definition GraphicsBufferVK.cpp:184
void Destroy() override
Run the destruction logic of this class. This also frees its memory.
Definition GraphicsBufferVK.cpp:130
void TransitionResource(VkCommandBuffer commandBuffer, GraphicsResourceState state)
Definition GraphicsBufferVK.cpp:152
VkDeviceMemory heapMemory
Definition GraphicsBufferVK.hpp:21
void Upload(uint8 *data) override
Prepare the given data so it can be uploaded to the graphics adapter. This buffer must be created as ...
Definition GraphicsBufferVK.cpp:147
A buffer storing graphics related data. Created by GraphicsAdapter::CreateBuffer.
Definition GraphicsBuffer.hpp:20
GraphicsResourceState
Describes the state of a graphics buffer.
Definition GraphicsBuffer.hpp:9
uint32_t uint32
Definition Primitives.hpp:12
uint8_t uint8
Definition Primitives.hpp:6