Plasma Engine  2.0
Loading...
Searching...
No Matches
VertexDeclarationDX11.h
1
2#pragma once
3
4#include <RendererDX11/RendererDX11DLL.h>
5#include <RendererFoundation/RendererFoundationDLL.h>
6#include <RendererFoundation/Shader/VertexDeclaration.h>
7
8struct ID3D11InputLayout;
9
11{
12public:
13 PL_ALWAYS_INLINE ID3D11InputLayout* GetDXInputLayout() const;
14
15protected:
16 friend class plGALDeviceDX11;
17 friend class plMemoryUtils;
18
19 virtual plResult InitPlatform(plGALDevice* pDevice) override;
20
21 virtual plResult DeInitPlatform(plGALDevice* pDevice) override;
22
24
26
27 ID3D11InputLayout* m_pDXInputLayout = nullptr;
28};
29
30#include <RendererDX11/Shader/Implementation/VertexDeclarationDX11_inl.h>
The DX11 device implementation of the graphics abstraction layer.
Definition DeviceDX11.h:32
The plRenderDevice class is the primary interface for interactions with rendering APIs It contains a ...
Definition Device.h:19
Definition VertexDeclarationDX11.h:11
virtual plResult InitPlatform(plGALDevice *pDevice) override
Definition VertexDeclarationDX11.cpp:30
Definition VertexDeclaration.h:8
This class provides functions to work on raw memory.
Definition MemoryUtils.h:26
Definition Descriptors.h:153
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54