Table of Contents

Enum RenderingDevice.InitialAction

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

Fields

[Obsolete("Initial actions are solved automatically by RenderingDevice.")] Clear = 1

Clear the whole framebuffer or its specified region.

[Obsolete("Initial actions are solved automatically by RenderingDevice.")] ClearRegion = 1
[Obsolete("Initial actions are solved automatically by RenderingDevice.")] ClearRegionContinue = 1
[Obsolete("Initial actions are solved automatically by RenderingDevice.")] Continue = 0
[Obsolete("Initial actions are solved automatically by RenderingDevice.")] 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("Initial actions are solved automatically by RenderingDevice.")] Drop = 2
[Obsolete("Initial actions are solved automatically by RenderingDevice.")] Keep = 0
[Obsolete("Initial actions are solved automatically by RenderingDevice.")] Load = 0

Load the previous contents of the framebuffer.

[Obsolete("Initial actions are solved automatically by RenderingDevice.")] Max = 3

Represents the size of the RenderingDevice.InitialAction enum.