Click or drag to resize

ViewportUsageEnum Enumeration

[Missing <summary> documentation for "T:Godot.Viewport.UsageEnum"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum UsageEnum
Members
  Member nameValueDescription
Usage2d0

Allocates all buffers needed for drawing 2D scenes. This takes less VRAM than the 3D usage modes. Note that 3D rendering effects such as glow and HDR are not available when using this mode.

Usage2dNoSampling1

Allocates buffers needed for 2D scenes without allocating a buffer for screen copy. Accordingly, you cannot read from the screen. Of the ViewportUsageEnum types, this requires the least VRAM. Note that 3D rendering effects such as glow and HDR are not available when using this mode.

Usage3d2

Allocates full buffers for drawing 3D scenes and all 3D effects including buffers needed for 2D scenes and effects.

Usage3dNoEffects3

Allocates buffers needed for drawing 3D scenes. But does not allocate buffers needed for reading from the screen and post-processing effects. Saves some VRAM.

See Also