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

Inherits Terraria.GameContent.ARenderTargetContentByRequest.

Inherited by Terraria.GameContent.NPCHeadDrawRenderTargetContent, and Terraria.GameContent.PlayerHeadDrawRenderTargetContent.

Public Member Functions

void UseColor (Color color)
 
- Public Member Functions inherited from Terraria.GameContent.ARenderTargetContentByRequest
RenderTarget2D GetTarget ()
 
void PrepareRenderTarget (GraphicsDevice device, SpriteBatch spriteBatch)
 
void Request ()
 

Public Attributes

Color _borderColor = Color.White
 

Protected Member Functions

override void HandleUseReqest (GraphicsDevice device, SpriteBatch spriteBatch)
 
- Protected Member Functions inherited from Terraria.GameContent.ARenderTargetContentByRequest
void PrepareARenderTarget_AndListenToEvents (ref RenderTarget2D target, GraphicsDevice device, int neededWidth, int neededHeight, RenderTargetUsage usage)
 
void PrepareARenderTarget_WithoutListeningToEvents (ref RenderTarget2D target, GraphicsDevice device, int neededWidth, int neededHeight, RenderTargetUsage usage)
 

Protected Attributes

int height = 84
 
int width = 84
 
- Protected Attributes inherited from Terraria.GameContent.ARenderTargetContentByRequest
RenderTarget2D _target
 
bool _wasPrepared
 

Additional Inherited Members

- Properties inherited from Terraria.GameContent.ARenderTargetContentByRequest
bool IsReady [get]
 
- Properties inherited from Terraria.GameContent.INeedRenderTargetContent
bool IsReady [get]