Table of Contents

Enum RenderingDevice.DrawFlags

Namespace
Godot
Assembly
GodotSharp.dll
[Flags]
public enum RenderingDevice.DrawFlags : long

Fields

ClearAll = ClearColorAll | ClearDepth | ClearStencil

Clear all attachments.

ClearColor0 = 1

Clear the first color attachment.

ClearColor1 = 2

Clear the second color attachment.

ClearColor2 = 4

Clear the third color attachment.

ClearColor3 = 8

Clear the fourth color attachment.

ClearColor4 = 16

Clear the fifth color attachment.

ClearColor5 = 32

Clear the sixth color attachment.

ClearColor6 = 64

Clear the seventh color attachment.

ClearColor7 = 128

Clear the eighth color attachment.

ClearColorAll = ClearColor0 | ClearColor1 | ClearColor2 | ClearColor3 | ClearColor4 | ClearColor5 | ClearColor6 | ClearColor7

Clear all color attachments.

ClearColorMask = ClearColor0 | ClearColor1 | ClearColor2 | ClearColor3 | ClearColor4 | ClearColor5 | ClearColor6 | ClearColor7

Mask for clearing all color attachments.

ClearDepth = 65536

Clear the depth attachment.

ClearStencil = 262144

Clear the stencil attachment.

DefaultAll = 0

Do not clear or ignore any attachments.

IgnoreAll = IgnoreColorAll | IgnoreDepth | IgnoreStencil

Ignore the previous contents of all attachments.

IgnoreColor0 = 256

Ignore the previous contents of the first color attachment.

IgnoreColor1 = 512

Ignore the previous contents of the second color attachment.

IgnoreColor2 = 1024

Ignore the previous contents of the third color attachment.

IgnoreColor3 = 2048

Ignore the previous contents of the fourth color attachment.

IgnoreColor4 = 4096

Ignore the previous contents of the fifth color attachment.

IgnoreColor5 = 8192

Ignore the previous contents of the sixth color attachment.

IgnoreColor6 = 16384

Ignore the previous contents of the seventh color attachment.

IgnoreColor7 = 32768

Ignore the previous contents of the eighth color attachment.

IgnoreColorAll = IgnoreColor0 | IgnoreColor1 | IgnoreColor2 | IgnoreColor3 | IgnoreColor4 | IgnoreColor5 | IgnoreColor6 | IgnoreColor7

Ignore the previous contents of all color attachments.

IgnoreColorMask = IgnoreColor0 | IgnoreColor1 | IgnoreColor2 | IgnoreColor3 | IgnoreColor4 | IgnoreColor5 | IgnoreColor6 | IgnoreColor7

Mask for ignoring all the previous contents of the color attachments.

IgnoreDepth = 131072

Ignore the previous contents of the depth attachment.

IgnoreStencil = 524288

Ignore the previous contents of the stencil attachment.