Merge pull request #41394 from Yetizone/3.2
Viewport Usage enumeration documentation
This commit is contained in:
commit
4d51c16b28
|
@ -415,10 +415,10 @@
|
||||||
Use 16x Multisample Antialiasing. Likely unsupported on medium and low-end hardware.
|
Use 16x Multisample Antialiasing. Likely unsupported on medium and low-end hardware.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="USAGE_2D" value="0" enum="Usage">
|
<constant name="USAGE_2D" value="0" enum="Usage">
|
||||||
Allocates all buffers needed for drawing 2D scenes. This takes less VRAM than the 3D usage modes.
|
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.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="USAGE_2D_NO_SAMPLING" value="1" enum="Usage">
|
<constant name="USAGE_2D_NO_SAMPLING" value="1" enum="Usage">
|
||||||
Allocates buffers needed for 2D scenes without allocating a buffer for screen copy. Accordingly, you cannot read from the screen. Of the [enum Usage] types, this requires the least VRAM.
|
Allocates buffers needed for 2D scenes without allocating a buffer for screen copy. Accordingly, you cannot read from the screen. Of the [enum Usage] types, this requires the least VRAM. Note that 3D rendering effects such as glow and HDR are not available when using this mode.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="USAGE_3D" value="2" enum="Usage">
|
<constant name="USAGE_3D" value="2" enum="Usage">
|
||||||
Allocates full buffers for drawing 3D scenes and all 3D effects including buffers needed for 2D scenes and effects.
|
Allocates full buffers for drawing 3D scenes and all 3D effects including buffers needed for 2D scenes and effects.
|
||||||
|
|
Loading…
Reference in New Issue