Flutter macOS Embedder
FlutterBackingStore.h
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
5
#import <Cocoa/Cocoa.h>
6
#import <Metal/Metal.h>
7
8
/**
9
* Interface for backing store handles. Typically contain references to the buffers that
10
* are handed by the `FlutterView` to the `FlutterRenderer`.
11
*/
12
@interface
FlutterRenderBackingStore
: NSObject
13
14
/**
15
* MTLTexture referenced by this backing store instance.
16
*/
17
@property
(nonnull, nonatomic, readonly) id<MTLTexture>
texture
;
18
19
/**
20
* Initializes a backing store with the specified MTLTexture.
21
*/
22
- (nonnull instancetype)initWithTexture:(nonnull id<MTLTexture>)
texture
;
23
24
@end
FlutterRenderBackingStore::texture
id< MTLTexture > texture
Definition:
FlutterBackingStore.h:17
FlutterRenderBackingStore
Definition:
FlutterBackingStore.h:12
shell
platform
darwin
macos
framework
Source
FlutterBackingStore.h
Generated by
1.8.17