Flutter macOS Embedder
FlutterBackingStore.mm
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
6 
7 @implementation FlutterRenderBackingStore
8 
9 - (instancetype)initWithTexture:(id<MTLTexture>)texture {
10  self = [super init];
11  if (self) {
12  _texture = texture;
13  }
14  return self;
15 }
16 
17 @end
FlutterBackingStore.h
FlutterRenderBackingStore::texture
id< MTLTexture > texture
Definition: FlutterBackingStore.h:20
FlutterRenderBackingStore
Definition: FlutterBackingStore.h:15
_texture
id< FlutterTexture > _texture
Definition: FlutterExternalTexture.mm:14