Plasma Engine  2.0
Loading...
Searching...
No Matches
ProxyTexture.h
1
2#pragma once
3
4#include <RendererFoundation/Resources/Texture.h>
5
6class PL_RENDERERFOUNDATION_DLL plGALProxyTexture : public plGALTexture
7{
8public:
9 virtual ~plGALProxyTexture();
10
11 virtual const plGALResourceBase* GetParentResource() const override;
12
13protected:
14 friend class plGALDevice;
15
16 plGALProxyTexture(const plGALTexture& parentTexture);
17
18 virtual plResult InitPlatform(plGALDevice* pDevice, plArrayPtr<plGALSystemMemoryDescription> pInitialData) override;
19 virtual plResult DeInitPlatform(plGALDevice* pDevice) override;
20
21 virtual void SetDebugNamePlatform(const char* szName) const override;
22
23 const plGALTexture* m_pParentTexture;
24};
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
The plRenderDevice class is the primary interface for interactions with rendering APIs It contains a ...
Definition Device.h:19
Definition ProxyTexture.h:7
Definition Resource.h:9
Definition Texture.h:8
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54