Files
Totterynine 2773eae4d7 shaderapidx11
use -dxlevel 110 to use it
2021-09-22 18:56:56 +05:00

36 lines
1.1 KiB
C

//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//
//===========================================================================//
#ifndef INPUTLAYOUTDX11_H
#define INPUTLAYOUTDX11_H
#ifdef _WIN32
#pragma once
#endif
#include "materialsystem/IMaterial.h"
//-----------------------------------------------------------------------------
// Forward declaration
//-----------------------------------------------------------------------------
struct ID3D11InputLayout;
struct ID3D11ShaderReflection;
//-----------------------------------------------------------------------------
// Gets the input layout associated with a vertex format
// FIXME: Note that we'll need to change this from a VertexFormat_t
//-----------------------------------------------------------------------------
ID3D11InputLayout *CreateInputLayout( VertexFormat_t fmt, bool bStaticLit, bool bUsingFlex, bool bUsingMorph,
ID3D11ShaderReflection* pReflection, const void *pByteCode, size_t nByteCodeLen );
#endif // INPUTLAYOUTDX11_H