mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
33 lines
931 B
C
33 lines
931 B
C
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//
|
|
//=============================================================================//
|
|
|
|
#ifndef VERTEXDECL_H
|
|
#define VERTEXDECL_H
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "locald3dtypes.h"
|
|
#include "materialsystem/imaterial.h"
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Gets the declspec associated with a vertex format
|
|
//-----------------------------------------------------------------------------
|
|
IDirect3DVertexDeclaration9 *FindOrCreateVertexDecl( VertexFormat_t fmt, bool bStaticLit, bool bUsingFlex, bool bUsingMorph );
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Clears out all declspecs
|
|
//-----------------------------------------------------------------------------
|
|
void ReleaseAllVertexDecl( );
|
|
|
|
|
|
#endif // VERTEXDECL_H
|
|
|