Table of Contents

Enum RenderingDevice.InitialAction

Namespace
Godot
Assembly
GodotSharp.dll
public enum RenderingDevice.InitialAction : long

Fields

Clear = 1

Clear the whole framebuffer or its specified region.

[Obsolete("Use 'Godot.RenderingDevice.InitialAction.Clear' instead.")] ClearRegion = 1
[Obsolete("Use 'Godot.RenderingDevice.InitialAction.Load' instead.")] ClearRegionContinue = 1
[Obsolete("Use 'Godot.RenderingDevice.InitialAction.Load' instead.")] Continue = 0
Discard = 2

Ignore the previous contents of the framebuffer. This is the fastest option if you'll overwrite all of the pixels and don't need to read any of them.

[Obsolete("Use 'Godot.RenderingDevice.InitialAction.Discard' instead.")] Drop = 2
[Obsolete("Use 'Godot.RenderingDevice.InitialAction.Load' instead.")] Keep = 0
Load = 0

Load the previous contents of the framebuffer.

Max = 3

Represents the size of the RenderingDevice.InitialAction enum.