diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /materialsystem/shaderapidx9/inputlayoutdx10.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'materialsystem/shaderapidx9/inputlayoutdx10.h')
| -rw-r--r-- | materialsystem/shaderapidx9/inputlayoutdx10.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/materialsystem/shaderapidx9/inputlayoutdx10.h b/materialsystem/shaderapidx9/inputlayoutdx10.h new file mode 100644 index 0000000..b1ac116 --- /dev/null +++ b/materialsystem/shaderapidx9/inputlayoutdx10.h @@ -0,0 +1,35 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//===========================================================================// + +#ifndef INPUTLAYOUTDX10_H +#define INPUTLAYOUTDX10_H + +#ifdef _WIN32 +#pragma once +#endif + +#include "materialsystem/imaterial.h" + + +//----------------------------------------------------------------------------- +// Forward declaration +//----------------------------------------------------------------------------- +struct ID3D10InputLayout; +struct ID3D10ShaderReflection; + + +//----------------------------------------------------------------------------- +// Gets the input layout associated with a vertex format +// FIXME: Note that we'll need to change this from a VertexFormat_t +//----------------------------------------------------------------------------- +ID3D10InputLayout *CreateInputLayout( VertexFormat_t fmt, + ID3D10ShaderReflection* pReflection, const void *pByteCode, size_t nByteCodeLen ); + + +#endif // INPUTLAYOUTDX10_H + |