Viewport.ClearMode

Values

ValueMeaning
clearModeAlways0

Always clear the render target before drawing.

clearModeNever1

Never clear the render target.

clearModeOnlyNextFrame2

Clear the render target next frame, then switch to constant CLEAR_MODE_NEVER.

Meta