Flutter Engine
The Flutter Engine
impeller
renderer
backend
metal
texture_wrapper_mtl.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
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_TEXTURE_WRAPPER_MTL_H_
6
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_TEXTURE_WRAPPER_MTL_H_
7
8
#include "
impeller/core/texture.h
"
9
10
namespace
impeller
{
11
12
std::shared_ptr<Texture>
WrapTextureMTL
(
13
TextureDescriptor
desc
,
14
const
void
* mtl_texture,
15
std::function
<
void
()> deletion_proc =
nullptr
);
16
17
}
// namespace impeller
18
19
#endif
// FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_TEXTURE_WRAPPER_MTL_H_
function
Dart_NativeFunction function
Definition:
fuchsia.cc:51
texture.h
impeller
Definition:
texture.h:18
impeller::WrapTextureMTL
std::shared_ptr< Texture > WrapTextureMTL(TextureDescriptor desc, const void *mtl_texture, std::function< void()> deletion_proc=nullptr)
Definition:
texture_wrapper_mtl.mm:14
import_conformance_tests.desc
desc
Definition:
import_conformance_tests.py:63
Generated on Sun Jun 23 2024 21:55:03 for Flutter Engine by
1.9.4