blob: 1402bd79dc1ff971feceb0322e0f8594f8796c27 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_TEXTURE_WRAPPER_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_TEXTURE_WRAPPER_MTL_H_
#include "impeller/core/texture.h"
namespace impeller {
std::shared_ptr<Texture> WrapTextureMTL(
TextureDescriptor desc,
const void* mtl_texture,
std::function<void()> deletion_proc = nullptr);
} // namespace impeller
#endif // FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_TEXTURE_WRAPPER_MTL_H_