1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00
Files
hl2sdk/materialsystem/stdshaders/include/WaterCheap_vs20.inc
2025-02-19 18:36:16 -05:00

55 lines
874 B
C++

// ALL SKIP STATEMENTS THAT AFFECT THIS SHADER!!!
// defined $LIGHTING_PREVIEW && defined $FASTPATH && $LIGHTING_PREVIEW && $FASTPATH
#pragma once
#include "shaderlib/cshader.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( )
{
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( )
{
}
int GetIndex() const
{
return 0;
}
};
#define shaderDynamicTest_watercheap_vs20 1