Flutter Engine
The Flutter Engine
|
#include <embedder.h>
Public Attributes | |
size_t | struct_size |
The size of this struct. Must be sizeof(FlutterMetalTexture). More... | |
int64_t | texture_id |
FlutterMetalTextureHandle | texture |
void * | user_data |
VoidCallback | destruction_callback |
Definition at line 649 of file embedder.h.
VoidCallback FlutterMetalTexture::destruction_callback |
The callback invoked by the engine when it no longer needs this backing store.
Definition at line 668 of file embedder.h.
size_t FlutterMetalTexture::struct_size |
The size of this struct. Must be sizeof(FlutterMetalTexture).
Definition at line 651 of file embedder.h.
FlutterMetalTextureHandle FlutterMetalTexture::texture |
Handle to the MTLTexture that is owned by the embedder. Engine will render the frame into this texture.
A NULL texture is considered invalid.
Definition at line 661 of file embedder.h.
int64_t FlutterMetalTexture::texture_id |
Embedder provided unique identifier to the texture buffer. Given that the texture
handle is passed to the engine to render to, the texture buffer is itself owned by the embedder. This texture_id
is then also given to the embedder in the present callback.
Definition at line 656 of file embedder.h.
void* FlutterMetalTexture::user_data |
A baton that is not interpreted by the engine in any way. It will be given back to the embedder in the destruction callback below. Embedder resources may be associated with this baton.
Definition at line 665 of file embedder.h.