Flutter Engine
flutter::IOSExternalTextureMetal Class Referencefinal

#include <ios_external_texture_metal.h>

Inheritance diagram for flutter::IOSExternalTextureMetal:
flutter::Texture

Public Member Functions

 IOSExternalTextureMetal (int64_t texture_id, fml::CFRef< CVMetalTextureCacheRef > texture_cache, fml::scoped_nsobject< NSObject< FlutterTexture >> external_texture)
 
 ~IOSExternalTextureMetal ()
 
- Public Member Functions inherited from flutter::Texture
 Texture (int64_t id)
 
virtual ~Texture ()
 
int64_t Id ()
 

Detailed Description

Definition at line 21 of file ios_external_texture_metal.h.

Constructor & Destructor Documentation

◆ IOSExternalTextureMetal()

flutter::IOSExternalTextureMetal::IOSExternalTextureMetal ( int64_t  texture_id,
fml::CFRef< CVMetalTextureCacheRef >  texture_cache,
fml::scoped_nsobject< NSObject< FlutterTexture >>  external_texture 
)

Definition at line 15 of file ios_external_texture_metal.mm.

References FML_DCHECK, FML_DLOG, and ~IOSExternalTextureMetal().

19  : Texture(texture_id),
20  texture_cache_(std::move(texture_cache)),
21  external_texture_(std::move(external_texture)) {
22  FML_DCHECK(texture_cache_);
23  FML_DCHECK(external_texture_);
24 }
#define FML_DCHECK(condition)
Definition: logging.h:86
Texture(int64_t id)
Definition: texture.cc:9

◆ ~IOSExternalTextureMetal()

flutter::IOSExternalTextureMetal::~IOSExternalTextureMetal ( )
default

Referenced by IOSExternalTextureMetal().


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