#include <surface_mtl.h>
Definition at line 12 of file surface_mtl.h.
◆ SurfaceMTL() [1/3]
impeller::interop::SurfaceMTL::SurfaceMTL |
( |
Context & |
context, |
|
|
void * |
metal_drawable |
|
) |
| |
Definition at line 12 of file surface_mtl.mm.
16 (__bridge id<CAMetalDrawable>)metal_drawable,
17 reinterpret_cast<interop::ContextMTL*
>(&context)
18 ->GetSwapchainTransients())) {}
static std::unique_ptr< SurfaceMTL > MakeFromMetalLayerDrawable(const std::shared_ptr< Context > &context, id< CAMetalDrawable > drawable, const std::shared_ptr< SwapchainTransientsMTL > &transients, std::optional< IRect > clip_rect=std::nullopt)
SurfaceMTL(Context &context, void *metal_drawable)
◆ SurfaceMTL() [2/3]
Definition at line 20 of file surface_mtl.mm.
22 :
Surface(context, std::move(surface)) {}
Surface(const Surface &)=delete
◆ ~SurfaceMTL()
impeller::interop::SurfaceMTL::~SurfaceMTL |
( |
| ) |
|
|
default |
◆ SurfaceMTL() [3/3]
impeller::interop::SurfaceMTL::SurfaceMTL |
( |
const SurfaceMTL & |
| ) |
|
|
delete |
◆ operator=()
The documentation for this class was generated from the following files: