| Flutter Impeller |

Classes | Namespaces | Functions
surface_mtl.mm File Reference
`#include "impeller/renderer/backend/metal/surface_mtl.h"`
`#include "flutter/fml/trace_event.h"`
`#include "flutter/impeller/renderer/command_buffer.h"`
`#include "impeller/base/validation.h"`
`#include "impeller/core/formats.h"`
`#include "impeller/core/texture_descriptor.h"`
`#include "impeller/renderer/backend/metal/context_mtl.h"`
`#include "impeller/renderer/backend/metal/formats_mtl.h"`
`#include "impeller/renderer/backend/metal/swapchain_transients_mtl.h"`
`#include "impeller/renderer/backend/metal/texture_mtl.h"`
`#include "impeller/renderer/render_target.h"`

Go to the source code of this file.

## Classes
protocol | <FlutterMetalDrawable>

## Namespaces
| impeller

## Functions
static std::optional< RenderTarget > | impeller::WrapTextureWithRenderTarget (const std::shared_ptr< SwapchainTransientsMTL > &transients, id< MTLTexture > texture, bool requires_blit, std::optional< IRect > clip_rect)