tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.TilePaintSystemV2.ARenderTargetHolder Class Referenceabstract

Inherited by Terraria.GameContent.TilePaintSystemV2.TileRenderTargetHolder, Terraria.GameContent.TilePaintSystemV2.TreeBranchTargetHolder, Terraria.GameContent.TilePaintSystemV2.TreeTopRenderTargetHolder, and Terraria.GameContent.TilePaintSystemV2.WallRenderTargetHolder.

Public Member Functions

void Clear ()
 
abstract void Prepare ()
 
abstract void PrepareShader ()
 

Public Attributes

RenderTarget2D Target
 

Protected Member Functions

void PrepareShader (int paintColor, TreePaintingSettings settings)
 
void PrepareTextureIfNecessary (Texture2D originalTexture, Rectangle? sourceRect=null)
 

Protected Attributes

bool _wasPrepared
 

Properties

bool IsReady [get]