Skip to content

Commit

Permalink
Add samplerExternalOES type to variable types of shading language
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaosus committed Nov 21, 2024
1 parent 5b15d19 commit 9622093
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 82 deletions.
5 changes: 5 additions & 0 deletions tutorials/shaders/shader_reference/shader_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2247,6 +2247,7 @@ Texture functions
| | |gvec4_type| | | :ref:`texture<shader_func_texture>`\ (\ |gsampler3D| s, vec3 p [, float bias] ) | |
| | vec4 | | :ref:`texture<shader_func_texture>`\ (\ samplerCube s, vec3 p [, float bias] ) | |
| | vec4 | | :ref:`texture<shader_func_texture>`\ (\ samplerCubeArray s, vec4 p [, float bias] ) | |
| | vec4 | | :ref:`texture<shader_func_texture>`\ (\ samplerExternalOES s, vec2 p [, float bias] ) | |
+------------------+---------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------+
| | |gvec4_type| | | :ref:`textureProj<shader_func_textureProj>`\ (\ |gsampler2D| s, vec3 p [, float bias] ) | Perform a texture read with projection. |
| | |gvec4_type| | | :ref:`textureProj<shader_func_textureProj>`\ (\ |gsampler2D| s, vec4 p [, float bias] ) | |
Expand Down Expand Up @@ -2505,6 +2506,10 @@ vec4 **texture**\ (\ samplerCube s, vec3 p [, float bias] )

vec4 **texture**\ (\ samplerCubeArray s, vec4 p [, float bias] )

.. rst-class:: classref-method

vec4 **texture**\ (\ samplerExternalOES s, vec2 p [, float bias] )

Retrieves texels from a texture.

Samples texels from the texture bound to ``s`` at texture coordinate ``p``. An optional bias, specified in ``bias`` is
Expand Down
Loading

0 comments on commit 9622093

Please sign in to comment.