5#include <unordered_map>
12#include "misc/Error.h"
15 class DynamicCpuWriteShaderResourceArray;
16 class DynamicCpuWriteShaderResourceArraySlot;
17 class ShaderCpuWriteResourceBinding;
56 std::variant<std::unique_ptr<DynamicCpuWriteShaderResourceArraySlot>,
Error>
100 std::unordered_map<std::string, std::unique_ptr<DynamicCpuWriteShaderResourceArray>>>
Definition: DynamicCpuWriteShaderResourceArrayManager.h:27
DynamicCpuWriteShaderResourceArray * getArrayForShaderResource(const std::string &sShaderResourceName)
Definition: DynamicCpuWriteShaderResourceArrayManager.cpp:94
GpuResourceManager *const pResourceManager
Definition: DynamicCpuWriteShaderResourceArrayManager.h:92
static std::string formatBytesToMegabytes(size_t iSizeInBytes)
Definition: DynamicCpuWriteShaderResourceArrayManager.cpp:118
std::variant< std::unique_ptr< DynamicCpuWriteShaderResourceArraySlot >, Error > reserveSlotsInArray(ShaderCpuWriteResourceBinding *pShaderResource)
Definition: DynamicCpuWriteShaderResourceArrayManager.cpp:16
std::pair< std::recursive_mutex, std::unordered_map< std::string, std::unique_ptr< DynamicCpuWriteShaderResourceArray > > > mtxCpuWriteShaderResourceArrays
Definition: DynamicCpuWriteShaderResourceArrayManager.h:101
void removeEmptyArrays()
Definition: DynamicCpuWriteShaderResourceArrayManager.cpp:107
Definition: DynamicCpuWriteShaderResourceArray.h:118
Definition: GpuResourceManager.h:43
Definition: ShaderCpuWriteResourceBinding.h:25