Skip to content

Commit 9622093

Browse files
committed
Add samplerExternalOES type to variable types of shading language
1 parent 5b15d19 commit 9622093

File tree

2 files changed

+90
-82
lines changed

2 files changed

+90
-82
lines changed

tutorials/shaders/shader_reference/shader_functions.rst

+5
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)