Skip to content

Commit 0ceba58

Browse files
authored
Merge pull request #10299 from Chaosus/shader_new_uniform_type
Add `samplerExternalOES` type to variable types of shading language
2 parents 5b15d19 + c46c219 commit 0ceba58

File tree

2 files changed

+158
-148
lines changed

2 files changed

+158
-148
lines changed

tutorials/shaders/shader_reference/shader_functions.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,6 +2247,7 @@ Texture functions
22472247
| | |gvec4_type| | | :ref:`texture<shader_func_texture>`\ (\ |gsampler3D| s, vec3 p [, float bias] ) | |
22482248
| | vec4 | | :ref:`texture<shader_func_texture>`\ (\ samplerCube s, vec3 p [, float bias] ) | |
22492249
| | vec4 | | :ref:`texture<shader_func_texture>`\ (\ samplerCubeArray s, vec4 p [, float bias] ) | |
2250+
| | vec4 | | :ref:`texture<shader_func_texture>`\ (\ samplerExternalOES s, vec2 p [, float bias] ) | |
22502251
+------------------+---------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------+
22512252
| | |gvec4_type| | | :ref:`textureProj<shader_func_textureProj>`\ (\ |gsampler2D| s, vec3 p [, float bias] ) | Perform a texture read with projection. |
22522253
| | |gvec4_type| | | :ref:`textureProj<shader_func_textureProj>`\ (\ |gsampler2D| s, vec4 p [, float bias] ) | |
@@ -2505,6 +2506,10 @@ vec4 **texture**\ (\ samplerCube s, vec3 p [, float bias] )
25052506

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

2509+
.. rst-class:: classref-method
2510+
2511+
vec4 **texture**\ (\ samplerExternalOES s, vec2 p [, float bias] )
2512+
25082513
Retrieves texels from a texture.
25092514

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

0 commit comments

Comments
 (0)