#include <memory.h>
◆ Data
◆ UniformMemory()
Engine::UniformMemory::UniformMemory |
( |
VkDevice | vkLogicalDevice, |
|
|
uint | bufferSize, |
|
|
ShaderBufferType | bufferType ) |
- Parameters
-
The | logical-device from which memory will-be allocated. |
Size | in bytes of device-memory to allocate. |
The | buffer-type to create. |
◆ ~UniformMemory()
virtual Engine::UniformMemory::~UniformMemory |
( |
| ) |
|
|
virtual |
◆ allocate() [1/2]
virtual void Engine::UniformMemory::allocate |
( |
| ) |
|
|
virtual |
◆ allocate() [2/2]
void Engine::UniformMemory::allocate |
( |
VkCommandBuffer | commandBuffer | ) |
|
◆ allocated()
bool Engine::UniformMemory::allocated |
( |
VkCommandBuffer | commandBuffer | ) |
|
|
inline |
◆ destroyBuffer()
void Engine::UniformMemory::destroyBuffer |
( |
VkCommandBuffer | commandBuffer | ) |
|
◆ flushBuffer()
void Engine::UniformMemory::flushBuffer |
( |
VkCommandBuffer | commandBuffer | ) |
|
◆ getBuffer()
VkBuffer Engine::UniformMemory::getBuffer |
( |
VkCommandBuffer | commandBuffer | ) |
|
◆ getBufferSize()
uint Engine::UniformMemory::getBufferSize |
( |
| ) |
|
|
inline |
◆ getData()
void * Engine::UniformMemory::getData |
( |
VkCommandBuffer | commandBuffer | ) |
|
◆ hasBuffer()
bool Engine::UniformMemory::hasBuffer |
( |
VkCommandBuffer | commandBuffer | ) |
|
◆ buffer
◆ bufferSize
uint Engine::UniformMemory::bufferSize |
|
protected |
◆ bufferType
◆ cache
◆ flags
uint Engine::UniformMemory::flags |
|
protected |
◆ pAllocator
The documentation for this class was generated from the following file:
- src/application/implementation/vulkan/memory.h