tModLoader v2024.09
A mod to make and play Terraria mods
ArmorShaderDataSet Class Reference

Public Member Functions

void Apply (int shaderId, Entity entity, DrawData? drawData=null)
 
void ApplySecondary (int shaderId, Entity entity, DrawData? drawData=null)
 
BindShader< T > (int itemId, T shaderData)
 
ArmorShaderData GetSecondaryShader (int id, Player player)
 
ArmorShaderData GetShaderFromItemId (int type)
 
int GetShaderIdFromItemId (int type)
 

Member Function Documentation

◆ BindShader< T >()

T ArmorShaderDataSet.BindShader< T > ( int  itemId,
shaderData 
)
Type Constraints
T :ArmorShaderData