get_gl_texture


Description:

public Bool get_gl_texture (out uint out_gl_handle, out uint out_gl_target)

Queries the GL handles for a GPU side texture through its Texture.

If the texture is spliced the data for the first sub texture will be queried.

Parameters:

this

a Texture pointer.

out_gl_handle

pointer to return location for the textures GL handle, or null.

out_gl_target

pointer to return location for the GL target type, or null.

Returns:

true if the handle was successfully retrieved, false if the handle was invalid