| Flutter Linux Embedder |

Classes | Functions
fl_texture.h File Reference
`#include <glib-object.h>`
`#include <gmodule.h>`
`#include <stdint.h>`

Go to the source code of this file.

## Classes
struct | _FlTextureInterface

## Functions
int64_t | fl_texture_get_id (FlTexture *texture)

## Function Documentation

## ◆ fl_texture_get_id()

int64_t fl_texture_get_id | ( | FlTexture * | texture | ) |

fl_texture_get_id: @texture: a #FlTexture.

Get the ID for this texture, which can be passed to Flutter code to refer to this texture.

Returns: a texture ID.

Definition at line 20 of file fl_texture.cc.

20 {
21 g_return_val_if_fail(FL_IS_TEXTURE(self), -1);
22 return FL_TEXTURE_GET_IFACE(self)->get_id(self);
23 }

Referenced by add_mock_texture_to_registrar(), mark_texture_frame_available(), TEST(), and unregister_texture().