Skip to content

50487670

Marcel Härtel edited this page Aug 27, 2023 · 2 revisions

EditorService.RenderTargetManager Class

This manager will manage all of your custom RenderTarget2D's automatically - based on the current ClientSize and MultiSampleCount.

Definition

Namespace: MonoGame.Forms.NET.Services
Assembly: MonoGame.Forms.NET (in MonoGame.Forms.NET.dll) Version: 3.2.0

C#

public class RenderTargetManager : IDisposable
Inheritance Object → EditorService.RenderTargetManager
Implements IDisposable

Methods

CreateNewRenderTarget2D Use this function to create a RenderTarget2D, which is fully managed internally.
Dispose Disposes the RenderTarget2Ds of the EditorService.RenderTargetManager.
GetRenderTarget2D Get a RenderTarget2D out of the Manager's list.

See Also

Reference

MonoGame.Forms.NET.Services Namespace

Clone this wiki locally