mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-21 04:56:01 +08:00
Update from SDK 2013
This commit is contained in:

committed by
Nicholas Hastings

parent
e0e01948b8
commit
ebd971b421
54
materialsystem/stdshaders/include/WaterCheap_vs20.inc
Normal file
54
materialsystem/stdshaders/include/WaterCheap_vs20.inc
Normal file
@ -0,0 +1,54 @@
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user