Skip to content

ADAA9059

Marcel Härtel edited this page Sep 4, 2019 · 18 revisions

GFXService.RenderTargetManager Class

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

Inheritance Hierarchy

System.Object
  MonoGame.Forms.Services.GFXService.RenderTargetManager
Namespace: MonoGame.Forms.Services
Assembly: MonoGame.Forms.DX (in MonoGame.Forms.DX.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#

public class RenderTargetManager : IDisposable

The GFXService.RenderTargetManager type exposes the following members.

Methods

 

Name Description
Public method CreateNewRenderTarget2D Use this function to create a RenderTarget2D, which is fully managed internally.
Public method Dispose Disposes the RenderTarget2Ds of the GFXService.RenderTargetManager.
Public method GetRenderTarget2D Get a RenderTarget2D out of the Manager's list.
  Back to Top

See Also

Reference

MonoGame.Forms.Services Namespace

Clone this wiki locally
You can’t perform that action at this time.