mirror of
https://github.com/Gigaslav/HL2Overcharged.git
synced 2026-01-04 02:10:18 +03:00
61 lines
1.3 KiB
C++
61 lines
1.3 KiB
C++
// ALL SKIP STATEMENTS THAT AFFECT THIS SHADER!!!
|
|
// defined $LIGHTING_PREVIEW && defined $FASTPATH && $LIGHTING_PREVIEW && $FASTPATH
|
|
|
|
#ifndef SDK_LIGHTMAPPEDREFLECTIVE_VS20_H
|
|
#define SDK_LIGHTMAPPEDREFLECTIVE_VS20_H
|
|
|
|
#include "shaderapi/ishaderapi.h"
|
|
#include "shaderapi/ishadershadow.h"
|
|
#include "materialsystem/imaterialvar.h"
|
|
|
|
class SDK_lightmappedreflective_vs20_Static_Index
|
|
{
|
|
unsigned int m_nBASETEXTURE : 2;
|
|
#ifdef _DEBUG
|
|
bool m_bBASETEXTURE : 1;
|
|
#endif // _DEBUG
|
|
public:
|
|
void SetBASETEXTURE( int i )
|
|
{
|
|
Assert( i >= 0 && i <= 1 );
|
|
m_nBASETEXTURE = i;
|
|
#ifdef _DEBUG
|
|
m_bBASETEXTURE = true;
|
|
#endif // _DEBUG
|
|
}
|
|
|
|
SDK_lightmappedreflective_vs20_Static_Index( IShaderShadow* pShaderShadow, IMaterialVar** params )
|
|
{
|
|
m_nBASETEXTURE = 0;
|
|
#ifdef _DEBUG
|
|
m_bBASETEXTURE = false;
|
|
#endif // _DEBUG
|
|
}
|
|
|
|
int GetIndex() const
|
|
{
|
|
Assert( m_bBASETEXTURE );
|
|
return ( 1 * m_nBASETEXTURE ) + 0;
|
|
}
|
|
};
|
|
|
|
#define shaderStaticTest_SDK_lightmappedreflective_vs20 vsh_forgot_to_set_static_BASETEXTURE
|
|
|
|
|
|
class SDK_lightmappedreflective_vs20_Dynamic_Index
|
|
{
|
|
public:
|
|
SDK_lightmappedreflective_vs20_Dynamic_Index( IShaderDynamicAPI* pShaderAPI )
|
|
{
|
|
}
|
|
|
|
int GetIndex() const
|
|
{
|
|
return 0;
|
|
}
|
|
};
|
|
|
|
#define shaderDynamicTest_SDK_lightmappedreflective_vs20 1
|
|
|
|
|
|
#endif // SDK_LIGHTMAPPEDREFLECTIVE_VS20_H
|