CAMetalLayer
struct@objc_object(.runtime_name = "CAMetalLayer", .handle = "handle")
CAMetalLayer : struct {
handle : core.ObjCId = null
} Metal-backed Core Animation layers and drawable management.
2 structs · 12 functions · Public API
@objc_object(.runtime_name = "CAMetalLayer", .handle = "handle")
CAMetalLayer : struct {
handle : core.ObjCId = null
} @objc_object(.kind = "protocol_object", .handle = "handle")
CAMetalDrawable : struct {
handle : core.ObjCId = null
} class_CAMetalLayer : func() -> core.ObjCClass create_CAMetalLayer : func() -> CAMetalLayer deinit : func(self : ^CAMetalLayer) device : func(self : ^CAMetalLayer) -> metal.MTLDevice set_device : func(self : ^CAMetalLayer, device : ^metal.MTLDevice) pixel_format : func(self : ^CAMetalLayer) -> metal.MTLPixelFormat set_pixel_format : func(self : ^CAMetalLayer, format : metal.MTLPixelFormat) framebuffer_only : func(self : ^CAMetalLayer) -> bool set_framebuffer_only : func(self : ^CAMetalLayer, enabled : bool) next_drawable : func(self : ^CAMetalLayer) -> CAMetalDrawable as_drawable : func(self : ^CAMetalDrawable) -> metal.MTLDrawable texture : func(self : ^CAMetalDrawable) -> metal.MTLTexture