#include <embedder.h>
Public Attributes | |
| size_t | struct_size |
| The size of this struct. Must be sizeof(FlutterMetalExternalTexture). | |
| size_t | width |
| Height of the texture. | |
| size_t | height |
| Height of the texture. | |
| FlutterMetalExternalTexturePixelFormat | pixel_format |
| The pixel format type of the external. | |
| size_t | num_textures |
Represents the size of the textures array. | |
| FlutterMetalTextureHandle * | textures |
| FlutterMetalExternalTextureYUVColorSpace | yuv_color_space |
| The YUV color space of the YUV external texture. | |
Definition at line 820 of file embedder.h.
| size_t FlutterMetalExternalTexture::height |
Height of the texture.
Definition at line 826 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterMetalExternalTexture::num_textures |
Represents the size of the textures array.
Definition at line 830 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| FlutterMetalExternalTexturePixelFormat FlutterMetalExternalTexture::pixel_format |
The pixel format type of the external.
Definition at line 828 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterMetalExternalTexture::struct_size |
The size of this struct. Must be sizeof(FlutterMetalExternalTexture).
Definition at line 822 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 839 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterMetalExternalTexture::width |
Height of the texture.
Definition at line 824 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| FlutterMetalExternalTextureYUVColorSpace FlutterMetalExternalTexture::yuv_color_space |
The YUV color space of the YUV external texture.
Definition at line 841 of file embedder.h.