| Flutter Impeller |

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_
texture.h
impeller
Definition: allocation.cc:12
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