Plasma Engine
2.0
Loading...
Searching...
No Matches
UnorderedAccessViewDX11.h
1
2
#pragma once
3
4
#include <RendererFoundation/Resources/UnorderedAccesView.h>
5
6
struct
ID3D11UnorderedAccessView;
7
8
class
plGALTextureUnorderedAccessViewDX11
:
public
plGALTextureUnorderedAccessView
9
{
10
public
:
11
PL_ALWAYS_INLINE ID3D11UnorderedAccessView* GetDXResourceView()
const
;
12
13
protected
:
14
friend
class
plGALDeviceDX11
;
15
friend
class
plMemoryUtils
;
16
17
plGALTextureUnorderedAccessViewDX11
(
plGALTexture
* pResource,
const
plGALTextureUnorderedAccessViewCreationDescription
& Description);
18
~plGALTextureUnorderedAccessViewDX11
();
19
20
virtual
plResult
InitPlatform(
plGALDevice
* pDevice)
override
;
21
virtual
plResult
DeInitPlatform(
plGALDevice
* pDevice)
override
;
22
23
ID3D11UnorderedAccessView* m_pDXUnorderedAccessView =
nullptr
;
24
};
25
26
class
plGALBufferUnorderedAccessViewDX11
:
public
plGALBufferUnorderedAccessView
27
{
28
public
:
29
PL_ALWAYS_INLINE ID3D11UnorderedAccessView* GetDXResourceView()
const
;
30
31
protected
:
32
friend
class
plGALDeviceDX11
;
33
friend
class
plMemoryUtils
;
34
35
plGALBufferUnorderedAccessViewDX11
(
plGALBuffer
* pResource,
const
plGALBufferUnorderedAccessViewCreationDescription
& Description);
36
~plGALBufferUnorderedAccessViewDX11
();
37
38
virtual
plResult
InitPlatform(
plGALDevice
* pDevice)
override
;
39
virtual
plResult
DeInitPlatform(
plGALDevice
* pDevice)
override
;
40
41
ID3D11UnorderedAccessView* m_pDXUnorderedAccessView =
nullptr
;
42
};
43
44
#include <RendererDX11/Resources/Implementation/UnorderedAccessViewDX11_inl.h>
plGALBuffer
Definition
Buffer.h:8
plGALBufferUnorderedAccessViewDX11
Definition
UnorderedAccessViewDX11.h:27
plGALBufferUnorderedAccessView
Definition
UnorderedAccesView.h:28
plGALDeviceDX11
The DX11 device implementation of the graphics abstraction layer.
Definition
DeviceDX11.h:32
plGALDevice
The plRenderDevice class is the primary interface for interactions with rendering APIs It contains a ...
Definition
Device.h:19
plGALTexture
Definition
Texture.h:8
plGALTextureUnorderedAccessViewDX11
Definition
UnorderedAccessViewDX11.h:9
plGALTextureUnorderedAccessView
Definition
UnorderedAccesView.h:11
plMemoryUtils
This class provides functions to work on raw memory.
Definition
MemoryUtils.h:26
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
RendererDX11
Resources
UnorderedAccessViewDX11.h
Generated by
1.11.0