Skip to content

4473403D

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

GetRenderTarget2D Method

Get a RenderTarget2D out of the Manager's list.

Definition

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

C#

public RenderTarget2D GetRenderTarget2D(
	string key
)

Parameters

  String
Your previously set key (name) for the RenderTarget2D you want to get.

Return Value

RenderTarget2D
Your desired RenderTarget2D or null if the key is not availablbe.

See Also

Reference

EditorService.RenderTargetManager Class
MonoGame.Forms.NET.Services Namespace

Clone this wiki locally