Viewport.Usage

Values

ValueMeaning
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 usage 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.

Meta