mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fix shader_functions.rst - description of pack/unpack for Snorm/Unorm functions
This commit is contained in:
@@ -3188,16 +3188,16 @@ floating-point numbers.
|
||||
| | vec2 | | :ref:`unpackHalf2x16<shader_func_unpackHalf2x16>`\ (\ uint v) | |
|
||||
+------------+------------------------------------------------------------------------+--------------------------------------------------------------+
|
||||
| | uint | | :ref:`packUnorm2x16<shader_func_packUnorm2x16>`\ (\ vec2 v) | Convert two normalized (range 0..1) 32-bit floats |
|
||||
| | vec2 | | :ref:`unpackUnorm2x16<shader_func_unpackUnorm2x16>`\ (\ uint v) | to 16-bit floats and pack them. |
|
||||
| | vec2 | | :ref:`unpackUnorm2x16<shader_func_unpackUnorm2x16>`\ (\ uint v) | to 16-bit unsigned ints and pack them. |
|
||||
+------------+------------------------------------------------------------------------+--------------------------------------------------------------+
|
||||
| | uint | | :ref:`packSnorm2x16<shader_func_packSnorm2x16>`\ (\ vec2 v) | Convert two signed normalized (range -1..1) 32-bit floats |
|
||||
| | vec2 | | :ref:`unpackSnorm2x16<shader_func_unpackSnorm2x16>`\ (\ uint v) | to 16-bit floats and pack them. |
|
||||
| | vec2 | | :ref:`unpackSnorm2x16<shader_func_unpackSnorm2x16>`\ (\ uint v) | to 16-bit signed ints and pack them. |
|
||||
+------------+------------------------------------------------------------------------+--------------------------------------------------------------+
|
||||
| | uint | | :ref:`packUnorm4x8<shader_func_packUnorm4x8>`\ (\ vec4 v) | Convert four normalized (range 0..1) 32-bit floats |
|
||||
| | vec4 | | :ref:`unpackUnorm4x8<shader_func_unpackUnorm4x8>`\ (\ uint v) | into 8-bit floats and pack them. |
|
||||
| | vec4 | | :ref:`unpackUnorm4x8<shader_func_unpackUnorm4x8>`\ (\ uint v) | into 8-bit unsigned ints and pack them. |
|
||||
+------------+------------------------------------------------------------------------+--------------------------------------------------------------+
|
||||
| | uint | | :ref:`packSnorm4x8<shader_func_packSnorm4x8>`\ (\ vec4 v) | Convert four signed normalized (range -1..1) 32-bit floats |
|
||||
| | vec4 | | :ref:`unpackSnorm4x8<shader_func_unpackSnorm4x8>`\ (\ uint v) | into 8-bit floats and pack them. |
|
||||
| | vec4 | | :ref:`unpackSnorm4x8<shader_func_unpackSnorm4x8>`\ (\ uint v) | into 8-bit signed ints and pack them. |
|
||||
+------------+------------------------------------------------------------------------+--------------------------------------------------------------+
|
||||
|
||||
.. rst-class:: classref-descriptions-group
|
||||
|
||||
Reference in New Issue
Block a user