2020-01-19 07:14:10 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2021-11-05 14:02:42 +00:00
<class name= "ExternalTexture" inherits= "Texture" version= "3.5" >
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-12-02 20:15:17 +00:00
<member name= "flags" type= "int" setter= "set_flags" getter= "get_flags" overrides= "Texture" 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>