summaryrefslogtreecommitdiff
path: root/materialsystem/shaderapidx9/inputlayoutdx10.h
blob: b1ac1169ccaf69b70a6150afcdb72359d0b9e56b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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