#include <memory.h>
◆ AllocateExclusiveBlock()
Alloc CoreGraphics::MemoryPool::AllocateExclusiveBlock |
( |
DeviceSize | alignment, |
|
|
DeviceSize | size ) |
|
private |
◆ AllocateMemory()
Alloc CoreGraphics::MemoryPool::AllocateMemory |
( |
uint | alignment, |
|
|
uint | size ) |
◆ Clear()
void CoreGraphics::MemoryPool::Clear |
( |
| ) |
|
◆ CreateBlock()
DeviceMemory CoreGraphics::MemoryPool::CreateBlock |
( |
void ** | outMappedPtr | ) |
|
|
private |
◆ DeallocateMemory()
bool CoreGraphics::MemoryPool::DeallocateMemory |
( |
const Alloc & | alloc | ) |
|
Deallocates memory, if a GPU block was freed this function returns true.
◆ DestroyBlock()
void CoreGraphics::MemoryPool::DestroyBlock |
( |
DeviceMemory | mem | ) |
|
|
private |
◆ GetMappedMemory()
void * CoreGraphics::MemoryPool::GetMappedMemory |
( |
const Alloc & | alloc | ) |
|
◆ allocators
◆ blockMappedPointers
Util::Array<void*> CoreGraphics::MemoryPool::blockMappedPointers |
◆ blockPool
◆ blocks
Util::Array<DeviceMemory> CoreGraphics::MemoryPool::blocks |
◆ blockSize
DeviceSize CoreGraphics::MemoryPool::blockSize |
◆ budgetCounter
const char* CoreGraphics::MemoryPool::budgetCounter |
◆ DedicatedBlockNodeIndex
uint CoreGraphics::MemoryPool::DedicatedBlockNodeIndex = 0xFFFFFFFF |
|
staticconstexprprivate |
◆ heap
◆ mapMemory
bool CoreGraphics::MemoryPool::mapMemory |
◆ maxSize
DeviceSize CoreGraphics::MemoryPool::maxSize |
◆ memoryType
uint CoreGraphics::MemoryPool::memoryType |
◆ size
DeviceSize CoreGraphics::MemoryPool::size |
The documentation for this struct was generated from the following files:
- /github/workspace/code/render/coregraphics/memory.h
- /github/workspace/code/render/coregraphics/memory.cc
- /github/workspace/code/render/coregraphics/vk/vkmemory.cc