Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
|
#include <memory_profiler.h>
Public Attributes | |
GpuResource * | resource |
WString | name |
uint64_t | total_size |
D3D12_RESOURCE_DIMENSION | dimension |
DXGI_FORMAT | format |
uint32_t | total_count |
Used for condensing data into a single struct inside of the MemoryProfiler.
When there is more than one instance of a GpuResource with a name, this will help condensing all of the GpuResource data into a single struct.
D3D12_RESOURCE_DIMENSION blowbox::MemoryProfiler::ResourceData::dimension |
Dimension of the struct.
DXGI_FORMAT blowbox::MemoryProfiler::ResourceData::format |
The format of the resource being described.
WString blowbox::MemoryProfiler::ResourceData::name |
The name of the resource being described.
GpuResource* blowbox::MemoryProfiler::ResourceData::resource |
The resource this ResourceData describes.
uint32_t blowbox::MemoryProfiler::ResourceData::total_count |
The number of GpuResources that are condensed in this ResourceData.
uint64_t blowbox::MemoryProfiler::ResourceData::total_size |
The total (condensed) size of the different ResourceData.