tModLoader v2024.05
A mod to make and play Terraria mods
HairShaderDataSet Class Reference

Public Member Functions

void Apply (int shaderId, Player player, DrawData? drawData=null)
 
BindShader< T > (int itemId, T shaderData)
 
Color GetColor (int shaderId, Player player, Color lightColor)
 
HairShaderData GetShaderFromItemId (int type)
 
int GetShaderIdFromItemId (int type)
 

Member Function Documentation

◆ BindShader< T >()

T HairShaderDataSet.BindShader< T > ( int  itemId,
shaderData 
)
Type Constraints
T :HairShaderData