KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
Karma
src
Platform
Windows
Core
WindowsPlatformMemory.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "krpch.h"
13
14
#include "
Core/TrueCore/GenericPlatformMemory.h
"
15
16
namespace
Karma
17
{
21
struct
KARMA_API
FWindowsPlatformMemory
:
public
FGenericPlatformMemory
22
{
23
enum
EMemoryCounterRegion
24
{
25
MCR_Invalid,
// not memory
26
MCR_Physical,
// main system memory
27
MCR_GPU,
// memory directly a GPU (graphics card, etc)
28
MCR_GPUSystem,
// system memory directly accessible by a GPU
29
MCR_TexturePool,
// presized texture pools
30
MCR_StreamingPool,
// amount of texture pool available for streaming.
31
MCR_UsedStreamingPool,
// amount of texture pool used for streaming.
32
MCR_GPUDefragPool,
// presized pool of memory that can be defragmented.
33
MCR_SamplePlatformSpecifcMemoryRegion,
34
MCR_PhysicalLLM,
// total physical memory displayed in the LLM stats (on consoles CPU + GPU)
35
MCR_MAX
36
};
37
};
38
39
typedef
FWindowsPlatformMemory
FPlatformMemory;
40
}
KARMA_API
#define KARMA_API
Defining Karma's API macro for storage class information.
Definition
Core.h:41
GenericPlatformMemory.h
This file contains the FGenericPlatformMemory for general purpose memory operations.
Karma::FGenericPlatformMemory
Base class for Platform based memory operations.
Definition
GenericPlatformMemory.h:92
Karma::FWindowsPlatformMemory
Definition
WindowsPlatformMemory.h:22
Generated by
1.15.0