Files
HL2Overcharged/materialsystem/stdshaders/include/WaterCheap_vs20.inc
2025-05-21 21:20:08 +03:00

61 lines
1.1 KiB
C++

// ALL SKIP STATEMENTS THAT AFFECT THIS SHADER!!!
// defined $LIGHTING_PREVIEW && defined $FASTPATH && $LIGHTING_PREVIEW && $FASTPATH
#ifndef WATERCHEAP_VS20_H
#define WATERCHEAP_VS20_H
#include "shaderapi/ishaderapi.h"
#include "shaderapi/ishadershadow.h"
#include "materialsystem/imaterialvar.h"
class WaterCheap_vs20_Static_Index
{
unsigned int m_nBLEND : 2;
#ifdef _DEBUG
bool m_bBLEND : 1;
#endif // _DEBUG
public:
void SetBLEND( int i )
{
Assert( i >= 0 && i <= 1 );
m_nBLEND = i;
#ifdef _DEBUG
m_bBLEND = true;
#endif // _DEBUG
}
WaterCheap_vs20_Static_Index( IShaderShadow* pShaderShadow, IMaterialVar** params )
{
m_nBLEND = 0;
#ifdef _DEBUG
m_bBLEND = false;
#endif // _DEBUG
}
int GetIndex() const
{
Assert( m_bBLEND );
return ( 1 * m_nBLEND ) + 0;
}
};
#define shaderStaticTest_WaterCheap_vs20 vsh_forgot_to_set_static_BLEND
class WaterCheap_vs20_Dynamic_Index
{
public:
WaterCheap_vs20_Dynamic_Index( IShaderDynamicAPI* pShaderAPI )
{
}
int GetIndex() const
{
return 0;
}
};
#define shaderDynamicTest_WaterCheap_vs20 1
#endif // WATERCHEAP_VS20_H