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

Inherited by ArmorShaderData, HairShaderData, MiscShaderData, and ScreenShaderData.

Public Member Functions

 ShaderData (Asset< Effect > shader, string passName)
 
 ShaderData (Ref< Effect > shader, string passName)
 
virtual void Apply ()
 
void SwapProgram (string passName)
 

Properties

Effect Shader [get]