mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-06-08 11:52:09 +03:00
This should include the latest version of every shader that was in the 2007 SDK. It also includes a smattering of debug shaders, both VR distortion shaders, and other assorted shaders that will hopefully be useful. None of these new files are included in the game shader DLL project. If you need to modify one of these shaders for use in your mod you will need to rename it so that you don't collide with the version of that shader that lives in stdshader_dx9.dll.
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================
|
|
|
|
#ifndef SKIN_DX9_HELPER_H
|
|
#define SKIN_DX9_HELPER_H
|
|
|
|
#include <string.h>
|
|
|
|
#include "vertexlitgeneric_dx9_helper.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Forward declarations
|
|
//-----------------------------------------------------------------------------
|
|
class CBaseVSShader;
|
|
class IMaterialVar;
|
|
class IShaderDynamicAPI;
|
|
class IShaderShadow;
|
|
|
|
void InitParamsSkin_DX9( CBaseVSShader *pShader, IMaterialVar** params,
|
|
const char *pMaterialName, VertexLitGeneric_DX9_Vars_t &info );
|
|
void InitSkin_DX9( CBaseVSShader *pShader, IMaterialVar** params,
|
|
VertexLitGeneric_DX9_Vars_t &info );
|
|
|
|
void DrawSkin_DX9( CBaseVSShader *pShader, IMaterialVar** params, IShaderDynamicAPI *pShaderAPI,
|
|
IShaderShadow* pShaderShadow,
|
|
VertexLitGeneric_DX9_Vars_t &info, VertexCompressionType_t vertexCompression,
|
|
CBasePerMaterialContextData **pContextDataPtr );
|
|
|
|
|
|
|
|
#endif // SKIN_DX9_HELPER_H
|