1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/public/renderparm.h

40 lines
1.0 KiB
C

//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose: defines constants to use for the materialsystem and shaderapi
// SetxxxRenderingParameter functions
//
// $NoKeywords: $
//
//===========================================================================//
#ifndef RENDERPARM_H
#define RENDERPARM_H
#ifndef _WIN32
#pragma once
#endif
#define MAX_FLOAT_RENDER_PARMS 20
#define MAX_VECTOR_RENDER_PARMS 20
enum RenderParamInt_t
{
INT_RENDERPARM_ENABLE_FIXED_LIGHTING = 0,
INT_RENDERPARM_MORPH_ACCUMULATOR_X_OFFSET,
INT_RENDERPARM_MORPH_ACCUMULATOR_Y_OFFSET,
INT_RENDERPARM_MORPH_ACCUMULATOR_SUBRECT_WIDTH,
INT_RENDERPARM_MORPH_ACCUMULATOR_SUBRECT_HEIGHT,
INT_RENDERPARM_MORPH_ACCUMULATOR_4TUPLE_COUNT,
INT_RENDERPARM_MORPH_WEIGHT_X_OFFSET,
INT_RENDERPARM_MORPH_WEIGHT_Y_OFFSET,
INT_RENDERPARM_MORPH_WEIGHT_SUBRECT_WIDTH,
INT_RENDERPARM_MORPH_WEIGHT_SUBRECT_HEIGHT,
INT_RENDERPARM_WRITE_DEPTH_TO_DESTALPHA,
MAX_INT_RENDER_PARMS = 20
};
#endif // RENDERPARM_H