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 #pragma once
6 
8 
9 namespace impeller {
10 
11 std::shared_ptr<Texture> WrapTextureMTL(
12  TextureDescriptor desc,
13  const void* mtl_texture,
14  std::function<void()> deletion_proc = nullptr);
15 
16 } // namespace impeller
texture.h
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
impeller
Definition: aiks_context.cc:10