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
7
class
PL_RENDERERFOUNDATION_DLL
plGALRenderTargetView
:
public
plGALObject
<plGALRenderTargetViewCreationDescription>
8
{
9
public
:
10
PL_ALWAYS_INLINE
plGALTexture
* GetTexture()
const
{
return
m_pTexture; }
11
12
protected
:
13
friend
class
plGALDevice
;
14
15
plGALRenderTargetView
(
plGALTexture
* pTexture,
const
plGALRenderTargetViewCreationDescription
& description);
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
};
plGALDevice
The plRenderDevice class is the primary interface for interactions with rendering APIs It contains a ...
Definition
Device.h:19
plGALObject
Base class for GAL objects, stores a creation description of the object and also allows for reference...
Definition
RendererFoundationDLL.h:374
plGALRenderTargetView
Definition
RenderTargetView.h:8
plGALTexture
Definition
Texture.h:8
plGALRenderTargetViewCreationDescription
Definition
Descriptors.h:220
plResult
Default enum for returning failure or success, instead of using a bool.
Definition
Types.h:54
Code
Engine
RendererFoundation
Resources
RenderTargetView.h
Generated by
1.11.0