ExternalTexture

Inherits: Texture < Resource < Reference < Object

Enable OpenGL ES external texture extension.

Description

Enable support for the OpenGL ES external texture extension as defined by OES_EGL_image_external.

Note: This is only supported for Android platforms.

Properties

int flags 0 (parent override)
Vector2 size Vector2( 1, 1 )

Methods

int get_external_texture_id ( )

Property Descriptions

Vector2 size

Default Vector2( 1, 1 )
Setter set_size(value)
Getter get_size()

External texture size.

Method Descriptions

int get_external_texture_id ( )

Returns the external texture name.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_externaltexture.html