2020-01-19 08:14:10 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2021-04-26 13:14:51 +02:00
<class name= "ExternalTexture" inherits= "Texture" version= "3.4" >
2020-01-19 08:14:10 +01:00
<brief_description >
2020-04-28 16:20:24 +02:00
Enable OpenGL ES external texture extension.
2020-01-19 08:14:10 +01:00
</brief_description>
<description >
2020-04-28 16:20:24 +02:00
Enable support for the OpenGL ES external texture extension as defined by [url=https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt]OES_EGL_image_external[/url].
[b]Note:[/b] This is only supported for Android platforms.
2020-01-19 08:14:10 +01:00
</description>
<tutorials >
</tutorials>
<methods >
2020-03-25 11:42:15 +01:00
<method name= "get_external_texture_id" >
<return type= "int" >
</return>
2020-01-19 08:14:10 +01:00
<description >
Returns the external texture name.
</description>
</method>
</methods>
<members >
2020-03-25 11:42:15 +01:00
<member name= "flags" type= "int" setter= "set_flags" getter= "get_flags" override= "true" default= "0" />
2020-01-19 08:14:10 +01:00
<member name= "size" type= "Vector2" setter= "set_size" getter= "get_size" default= "Vector2( 1, 1 )" >
External texture size.
</member>
</members>
<constants >
</constants>
</class>