Flutter Engine
 
Loading...
Searching...
No Matches
FlutterDarwinExternalTextureSkImageWrapper Class Reference

#include <FlutterDarwinExternalTextureMetal.h>

Inheritance diagram for FlutterDarwinExternalTextureSkImageWrapper:

Class Methods

(sk_sp< SkImage >) + wrapYUVATexture:UVTex:YUVColorSpace:grContext:width:height:
 
(sk_sp< SkImage >) + wrapRGBATexture:grContext:width:height:
 

Detailed Description

Definition at line 17 of file FlutterDarwinExternalTextureMetal.h.

Method Documentation

◆ wrapRGBATexture:grContext:width:height:

+ (sk_sp< SkImage >) wrapRGBATexture: (nonnull id< MTLTexture >)  rgbaTex
grContext: (nonnull GrDirectContext *)  grContext
width: (size_t)  width
height: (size_t)  height 

◆ wrapYUVATexture:UVTex:YUVColorSpace:grContext:width:height:

+ (sk_sp< SkImage >) wrapYUVATexture: (nonnull id< MTLTexture >)  yTex
UVTex: (nonnull id< MTLTexture >)  uvTex
YUVColorSpace: (SkYUVColorSpace)  colorSpace
grContext: (nonnull GrDirectContext *)  grContext
width: (size_t)  width
height: (size_t)  height 

The documentation for this class was generated from the following file: