2020-01-19 08:14:10 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2021-11-05 15:02:42 +01:00
<class name= "ExternalTexture" inherits= "Texture" version= "3.5" >
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" >
2021-07-30 15:28:05 +02:00
<return type= "int" />
2020-01-19 08:14:10 +01:00
<description >
Returns the external texture name.
</description>
</method>
</methods>
<members >
2021-12-02 21:15:17 +01:00
<member name= "flags" type= "int" setter= "set_flags" getter= "get_flags" overrides= "Texture" default= "2048" />
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>