Plasma Engine  2.0
Loading...
Searching...
No Matches
RenderTargetView.h
1
2#pragma once
3
4#include <RendererFoundation/Descriptors/Descriptors.h>
5#include <RendererFoundation/Resources/Resource.h>
6
7class PL_RENDERERFOUNDATION_DLL plGALRenderTargetView : public plGALObject<plGALRenderTargetViewCreationDescription>
8{
9public:
10 PL_ALWAYS_INLINE plGALTexture* GetTexture() const { return m_pTexture; }
11
12protected:
13 friend class plGALDevice;
14
16
17 virtual ~plGALRenderTargetView();
18
19 virtual plResult InitPlatform(plGALDevice* pDevice) = 0;
20
21 virtual plResult DeInitPlatform(plGALDevice* pDevice) = 0;
22
23 plGALTexture* m_pTexture;
24};
The plRenderDevice class is the primary interface for interactions with rendering APIs It contains a ...
Definition Device.h:19
Base class for GAL objects, stores a creation description of the object and also allows for reference...
Definition RendererFoundationDLL.h:374
Definition RenderTargetView.h:8
Definition Texture.h:8
Definition Descriptors.h:220
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54