Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
void | UseColor (Color color) |
void | Request () |
RenderTarget2D | GetTarget () |
void | PrepareRenderTarget (GraphicsDevice device, SpriteBatch spriteBatch) |
void | Reset () |
Public Attributes | |
Color | _borderColor = Color.White |
Protected Member Functions | |
override void | HandleUseReqest (GraphicsDevice device, SpriteBatch spriteBatch) |
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 | width = 84 |
int | height = 84 |
RenderTarget2D | _target |
bool | _wasPrepared |
Package Functions | |
void | DrawTheContent (SpriteBatch spriteBatch) |
Properties | |
bool | IsReady [get] |
Private Member Functions | |
void | target_Disposing (object sender, EventArgs e) |
void | target_ContentLost (object sender, EventArgs e) |
Private Attributes | |
EffectPass | _coloringShader |
RenderTarget2D | _helperTarget |
bool | _wasRequested |
Definition at line 7 of file AnOutlinedDrawRenderTargetContent.cs.