tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.DataStructures.PlayerDrawHelper Class Reference

Public Types

enum  ShaderConfiguration { ArmorShader , HairShader , TileShader , TilePaintID }
 

Static Public Member Functions

static int PackShader (int localShaderIndex, ShaderConfiguration shaderType)
 
static void SetShaderForData (Player player, int cHead, ref DrawData cdd)
 
static void UnpackShader (int packedShaderIndex, out int localShaderIndex, out ShaderConfiguration shaderType)