Plasma Engine  2.0
Loading...
Searching...
No Matches
State.h
1
2#pragma once
3
4#include <RendererFoundation/Descriptors/Descriptors.h>
5
6class PL_RENDERERFOUNDATION_DLL plGALBlendState : public plGALObject<plGALBlendStateCreationDescription>
7{
8public:
9protected:
11
12 virtual ~plGALBlendState();
13
14 virtual plResult InitPlatform(plGALDevice* pDevice) = 0;
15
16 virtual plResult DeInitPlatform(plGALDevice* pDevice) = 0;
17};
18
19class PL_RENDERERFOUNDATION_DLL plGALDepthStencilState : public plGALObject<plGALDepthStencilStateCreationDescription>
20{
21public:
22protected:
24
26
27 virtual plResult InitPlatform(plGALDevice* pDevice) = 0;
28
29 virtual plResult DeInitPlatform(plGALDevice* pDevice) = 0;
30};
31
32class PL_RENDERERFOUNDATION_DLL plGALRasterizerState : public plGALObject<plGALRasterizerStateCreationDescription>
33{
34public:
35protected:
37
38 virtual ~plGALRasterizerState();
39
40 virtual plResult InitPlatform(plGALDevice* pDevice) = 0;
41
42 virtual plResult DeInitPlatform(plGALDevice* pDevice) = 0;
43};
44
45class PL_RENDERERFOUNDATION_DLL plGALSamplerState : public plGALObject<plGALSamplerStateCreationDescription>
46{
47public:
48protected:
50
51 virtual ~plGALSamplerState();
52
53 virtual plResult InitPlatform(plGALDevice* pDevice) = 0;
54
55 virtual plResult DeInitPlatform(plGALDevice* pDevice) = 0;
56};
Definition State.h:7
Definition State.h:20
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 State.h:33
Definition State.h:46
Definition Descriptors.h:70
Describes the settings for a new rasterizer state. See plGALDevice::CreateRasterizerState.
Definition Descriptors.h:105
Definition Descriptors.h:118
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54