Flutter Engine
The Flutter Engine
|
#include <embedder.h>
Public Attributes | |
size_t | struct_size |
The size of this struct. Must be sizeof(FlutterMetalExternalTexture). More... | |
size_t | width |
Height of the texture. More... | |
size_t | height |
Height of the texture. More... | |
FlutterMetalExternalTexturePixelFormat | pixel_format |
The pixel format type of the external. More... | |
size_t | num_textures |
Represents the size of the textures array. More... | |
FlutterMetalTextureHandle * | textures |
FlutterMetalExternalTextureYUVColorSpace | yuv_color_space |
The YUV color space of the YUV external texture. More... | |
Definition at line 616 of file embedder.h.
size_t FlutterMetalExternalTexture::height |
Height of the texture.
Definition at line 622 of file embedder.h.
size_t FlutterMetalExternalTexture::num_textures |
Represents the size of the textures
array.
Definition at line 626 of file embedder.h.
FlutterMetalExternalTexturePixelFormat FlutterMetalExternalTexture::pixel_format |
The pixel format type of the external.
Definition at line 624 of file embedder.h.
size_t FlutterMetalExternalTexture::struct_size |
The size of this struct. Must be sizeof(FlutterMetalExternalTexture).
Definition at line 618 of file embedder.h.
FlutterMetalTextureHandle* FlutterMetalExternalTexture::textures |
Supported textures are YUVA and RGBA, in case of YUVA we expect 2 texture handles to be provided by the embedder, Y first and UV next. In case of RGBA only one should be passed. These are individually aliases for id<MTLTexture>. These textures are retained by the engine for the period of the composition. Once these textures have been unregistered via the FlutterEngineUnregisterExternalTexture
, the embedder has to release these textures.
Definition at line 635 of file embedder.h.
size_t FlutterMetalExternalTexture::width |
Height of the texture.
Definition at line 620 of file embedder.h.
FlutterMetalExternalTextureYUVColorSpace FlutterMetalExternalTexture::yuv_color_space |
The YUV color space of the YUV external texture.
Definition at line 637 of file embedder.h.