#include <memory.h>
◆ ImageMemory() [1/2]
Engine::ImageMemory::ImageMemory |
( |
VkDevice | vkLogicalDevice, |
|
|
VkImage | image, |
|
|
TextureType | TextureType, |
|
|
VkFormat | format, |
|
|
uint | mipLevels ) |
Pre-allocated image memory(ie. swapchain-image)
◆ ImageMemory() [2/2]
Engine::ImageMemory::ImageMemory |
( |
VkDevice | vkLogicalDevice, |
|
|
const VkImageCreateInfo & | createInfo ) |
◆ ~ImageMemory()
virtual Engine::ImageMemory::~ImageMemory |
( |
| ) |
|
|
virtual |
◆ allocate()
void Engine::ImageMemory::allocate |
( |
| ) |
|
|
virtual |
◆ flushBuffer()
void Engine::ImageMemory::flushBuffer |
( |
| ) |
|
◆ getBuffer()
VkBuffer Engine::ImageMemory::getBuffer |
( |
| ) |
|
|
inline |
◆ getImage()
VkImage Engine::ImageMemory::getImage |
( |
| ) |
|
|
inline |
◆ getImageData()
const void * Engine::ImageMemory::getImageData |
( |
| ) |
|
- Returns
- Pointer to the allocated image-memory or nullptr if pre-allocated.
◆ getStageBufferData()
const void * Engine::ImageMemory::getStageBufferData |
( |
| ) |
|
|
inline |
◆ getStageCommandBuffer()
◆ getStageMemoryRequirements()
const VkMemoryRequirements & Engine::ImageMemory::getStageMemoryRequirements |
( |
| ) |
|
|
inline |
◆ getView()
VkImageView Engine::ImageMemory::getView |
( |
| ) |
|
|
inline |
◆ setImage()
void Engine::ImageMemory::setImage |
( |
VkImage | image, |
|
|
TextureType | textureType, |
|
|
VkFormat | format, |
|
|
uint | mipLevels ) |
◆ stageComplete()
void Engine::ImageMemory::stageComplete |
( |
| ) |
|
◆ image
VkImage Engine::ImageMemory::image |
|
protected |
◆ imageAllocationHandle
◆ pImageAllocator
◆ pStageAllocator
◆ pStageBufferData
void* Engine::ImageMemory::pStageBufferData |
|
protected |
◆ pStageCommandBuffer
◆ stageBuffer
VkBuffer Engine::ImageMemory::stageBuffer |
|
protected |
◆ stageBufferAllocationHandle
◆ stageMemoryRequirements
VkMemoryRequirements Engine::ImageMemory::stageMemoryRequirements |
|
protected |
◆ view
VkImageView Engine::ImageMemory::view |
|
protected |
The documentation for this class was generated from the following file:
- src/application/implementation/vulkan/memory.h