tModLoader v2024.09
A mod to make and play Terraria mods
TilePaintSystemV2.ARenderTargetHolder Class Referenceabstract

Inherited by TilePaintSystemV2.TileRenderTargetHolder, TilePaintSystemV2.TreeBranchTargetHolder, TilePaintSystemV2.TreeTopRenderTargetHolder, and 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]