|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| void | SetTexture (Texture2D texture) |
| 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 | |
| override 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 | |
| Texture2D | _theTexture |
| EffectPass | _coloringShader |
| RenderTarget2D | _helperTarget |
| bool | _wasRequested |
Definition at line 6 of file NPCHeadDrawRenderTargetContent.cs.