Table of Contents

Enum RenderTargetUsage

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Defines if the previous content in a render target is preserved when it set on the graphics device.

public enum RenderTargetUsage

Fields

DiscardContents = 0

The render target content will not be preserved.

PlatformContents = 2

The render target content might be preserved if the platform can do so without a penalty in performance or memory usage.

PreserveContents = 1

The render target content will be preserved even if it is slow or requires extra memory.