|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| class | CaptureChunk |
Public Member Functions | |
| CaptureCamera (GraphicsDevice graphics) | |
| void | Capture (CaptureSettings settings) |
| void | DrawTick () |
| float | GetProgress () |
| void | Dispose () |
Static Public Attributes | |
| const int | CHUNK_SIZE = 128 |
| const int | FRAMEBUFFER_PIXEL_SIZE = 2048 |
| const int | INNER_CHUNK_SIZE = 126 |
| const int | MAX_IMAGE_SIZE = 4096 |
| const string | CAPTURE_DIRECTORY = "Captures" |
Properties | |
| bool | IsCapturing [get] |
Private Member Functions | |
| unsafe void | DrawBytesToBuffer (byte[] sourceBuffer, byte[] destinationBuffer, int sourceBufferWidth, int destinationBufferWidth, Microsoft.Xna.Framework.Rectangle area) |
| bool | SaveImage (int width, int height, ImageFormat imageFormat, string filename) |
| void | SaveImage (Texture2D texture, int width, int height, ImageFormat imageFormat, string foldername, string filename) |
| void | FinishCapture () |
Private Attributes | |
| RenderTarget2D | _frameBuffer |
| RenderTarget2D | _scaledFrameBuffer |
| RenderTarget2D | _filterFrameBuffer1 |
| RenderTarget2D | _filterFrameBuffer2 |
| GraphicsDevice | _graphics |
| readonly object | _captureLock = new object() |
| bool | _isDisposed |
| CaptureSettings | _activeSettings |
| Queue< CaptureChunk > | _renderQueue = new Queue<CaptureChunk>() |
| SpriteBatch | _spriteBatch |
| byte[] | _scaledFrameData |
| byte[] | _outputData |
| Size | _outputImageSize |
| SamplerState | _downscaleSampleState |
| float | _tilesProcessed |
| float | _totalTiles |
Static Private Attributes | |
| static bool | CameraExists |
Definition at line 17 of file CaptureCamera.cs.