Versions in this module Expand all Collapse all v1 v1.0.1 Jun 29, 2023 Changes in this version + type Layer interface — darwin/amd64 + Layer func() unsafe.Pointer + type MetalDrawable struct — darwin/amd64 + func (md MetalDrawable) Drawable() unsafe.Pointer + func (md MetalDrawable) Present() + func (md MetalDrawable) Texture() mtl.Texture + type MetalLayer struct — darwin/amd64 + func MakeMetalLayer() (MetalLayer, error) + func (ml MetalLayer) Layer() unsafe.Pointer + func (ml MetalLayer) NextDrawable() (MetalDrawable, error) + func (ml MetalLayer) PixelFormat() mtl.PixelFormat + func (ml MetalLayer) PresentsWithTransaction() bool + func (ml MetalLayer) SetDevice(device mtl.Device) + func (ml MetalLayer) SetDisplaySyncEnabled(enabled bool) + func (ml MetalLayer) SetDrawableSize(width, height int) + func (ml MetalLayer) SetFramebufferOnly(framebufferOnly bool) + func (ml MetalLayer) SetMaximumDrawableCount(count int) + func (ml MetalLayer) SetOpaque(opaque bool) + func (ml MetalLayer) SetPixelFormat(pf mtl.PixelFormat) + func (ml MetalLayer) SetPresentsWithTransaction(presentsWithTransaction bool)