4#include <Foundation/Containers/HashTable.h>
5#include <Foundation/Strings/HashedString.h>
6#include <RendererFoundation/RendererFoundationDLL.h>
11 void SetDebugName(
const char* szName)
const
13#if PL_ENABLED(PL_COMPILE_FOR_DEVELOPMENT)
14 m_sDebugName.Assign(szName);
17 SetDebugNamePlatform(szName);
27 virtual void SetDebugNamePlatform(
const char* szName)
const = 0;
29#if PL_ENABLED(PL_COMPILE_FOR_DEVELOPMENT)
35template <
typename CreationDescription>
39 PL_ALWAYS_INLINE
plGALResource(
const CreationDescription& description)
40 : m_Description(description)
44 PL_ALWAYS_INLINE
const CreationDescription& GetDescription()
const {
return m_Description; }
47 const CreationDescription m_Description;
The plRenderDevice class is the primary interface for interactions with rendering APIs It contains a ...
Definition Device.h:19
Base class for GAL resources, stores a creation description of the object and also allows for referen...
Definition Resource.h:37
This class is optimized to take nearly no memory (sizeof(void*)) and to allow very fast checks whethe...
Definition HashedString.h:25
Base class for reference counted objects.
Definition RefCounted.h:52