2020-01-19 07:14:10 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2021-04-26 11:14:51 +00:00
<class name= "ExternalTexture" inherits= "Texture" version= "3.4" >
2020-01-19 07:14:10 +00:00
<brief_description >
2020-04-28 14:20:24 +00:00
Enable OpenGL ES external texture extension.
2020-01-19 07:14:10 +00:00
</brief_description>
<description >
2020-04-28 14:20:24 +00: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 07:14:10 +00:00
</description>
<tutorials >
</tutorials>
<methods >
2020-03-25 10:42:15 +00:00
<method name= "get_external_texture_id" >
2021-07-30 13:28:05 +00:00
<return type= "int" />
2020-01-19 07:14:10 +00:00
<description >
Returns the external texture name.
</description>
</method>
</methods>
<members >
2021-08-12 16:19:43 +00:00
<member name= "flags" type= "int" setter= "set_flags" getter= "get_flags" override= "true" default= "2048" />
2020-01-19 07:14:10 +00:00
<member name= "size" type= "Vector2" setter= "set_size" getter= "get_size" default= "Vector2( 1, 1 )" >
External texture size.
</member>
</members>
<constants >
</constants>
</class>