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

61 lines
1.2 KiB
C++

// ALL SKIP STATEMENTS THAT AFFECT THIS SHADER!!!
// defined $LIGHTING_PREVIEW && defined $FASTPATH && $LIGHTING_PREVIEW && $FASTPATH
#ifndef DEBUGTEXTUREVIEW_VS20_H
#define DEBUGTEXTUREVIEW_VS20_H
#include "shaderapi/ishaderapi.h"
#include "shaderapi/ishadershadow.h"
#include "materialsystem/imaterialvar.h"
class DebugTextureView_vs20_Static_Index
{
public:
DebugTextureView_vs20_Static_Index( IShaderShadow* pShaderShadow, IMaterialVar** params )
{
}
int GetIndex() const
{
return 0;
}
};
#define shaderStaticTest_DebugTextureView_vs20 1
class DebugTextureView_vs20_Dynamic_Index
{
unsigned int m_nCOMPRESSED_VERTS : 2;
#ifdef _DEBUG
bool m_bCOMPRESSED_VERTS : 1;
#endif // _DEBUG
public:
void SetCOMPRESSED_VERTS( int i )
{
Assert( i >= 0 && i <= 1 );
m_nCOMPRESSED_VERTS = i;
#ifdef _DEBUG
m_bCOMPRESSED_VERTS = true;
#endif // _DEBUG
}
DebugTextureView_vs20_Dynamic_Index( IShaderDynamicAPI* pShaderAPI )
{
m_nCOMPRESSED_VERTS = 0;
#ifdef _DEBUG
m_bCOMPRESSED_VERTS = false;
#endif // _DEBUG
}
int GetIndex() const
{
Assert( m_bCOMPRESSED_VERTS );
return ( 1 * m_nCOMPRESSED_VERTS ) + 0;
}
};
#define shaderDynamicTest_DebugTextureView_vs20 vsh_forgot_to_set_dynamic_COMPRESSED_VERTS
#endif // DEBUGTEXTUREVIEW_VS20_H