Plasma Engine
2.0
Loading...
Searching...
No Matches
UnorderedAccesView.h
1
2
#pragma once
3
4
#include <RendererFoundation/Descriptors/Descriptors.h>
5
#include <RendererFoundation/Resources/Resource.h>
6
7
class
plGALTexture
;
8
class
plGALBuffer
;
9
10
class
PL_RENDERERFOUNDATION_DLL
plGALTextureUnorderedAccessView
:
public
plGALObject
<plGALTextureUnorderedAccessViewCreationDescription>
11
{
12
public
:
13
PL_ALWAYS_INLINE
plGALResourceBase
* GetResource()
const
{
return
m_pResource; }
14
15
protected
:
16
friend
class
plGALDevice
;
17
18
plGALTextureUnorderedAccessView
(
plGALTexture
* pResource,
const
plGALTextureUnorderedAccessViewCreationDescription
& description);
19
20
virtual
~plGALTextureUnorderedAccessView
();
21
virtual
plResult
InitPlatform(
plGALDevice
* pDevice) = 0;
22
virtual
plResult
DeInitPlatform(
plGALDevice
* pDevice) = 0;
23
24
plGALTexture
* m_pResource;
25
};
26
27
class
PL_RENDERERFOUNDATION_DLL
plGALBufferUnorderedAccessView
:
public
plGALObject
<plGALBufferUnorderedAccessViewCreationDescription>
28
{
29
public
:
30
PL_ALWAYS_INLINE
plGALBuffer
* GetResource()
const
{
return
m_pResource; }
31
32
protected
:
33
friend
class
plGALDevice
;
34
35
plGALBufferUnorderedAccessView
(
plGALBuffer
* pResource,
const
plGALBufferUnorderedAccessViewCreationDescription
& description);
36
37
virtual
~plGALBufferUnorderedAccessView
();
38
virtual
plResult
InitPlatform(
plGALDevice
* pDevice) = 0;
39
virtual
plResult
DeInitPlatform(
plGALDevice
* pDevice) = 0;
40
41
plGALBuffer
* m_pResource;
42
};
plGALBuffer
Definition
Buffer.h:8
plGALBufferUnorderedAccessView
Definition
UnorderedAccesView.h:28
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
plGALResourceBase
Definition
Resource.h:9
plGALTexture
Definition
Texture.h:8
plGALTextureUnorderedAccessView
Definition
UnorderedAccesView.h:11
plGALBufferUnorderedAccessViewCreationDescription
Definition
Descriptors.h:243
plGALTextureUnorderedAccessViewCreationDescription
Definition
Descriptors.h:234
plResult
Default enum for returning failure or success, instead of using a bool.
Definition
Types.h:54
Code
Engine
RendererFoundation
Resources
UnorderedAccesView.h
Generated by
1.11.0