tModLoader v2024.03
A mod to make and play Terraria mods
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)
 

Static Public Attributes

static Color DISPLAY_DOLL_DEFAULT_SKIN_COLOR = new Color(163, 121, 92)