One Logo Pool Ball
QuartzCore · IOS API REFERENCE

CAMetalLayer

class · iOS 13.0+ · SDK 27.1

class CAMetalLayer

Members (26)

init

init

TypeScript
static init(): CAMetalLayer
Swift declaration
init()
method · iOS 13.0+

nextDrawable

TypeScript
nextDrawable(): (SDKHandle) | null
Swift declaration
func nextDrawable() -> (any CAMetalDrawable)?
get · iOS 16.0+

edrMetadata

TypeScript
get edrMetadata(): (CAEDRMetadata) | null
Swift declaration
var edrMetadata: CAEDRMetadata? { get set }
set · iOS 16.0+

edrMetadata

TypeScript
set edrMetadata(value: (CAEDRMetadata) | null)
Swift declaration
var edrMetadata: CAEDRMetadata? { get set }
get · iOS 11.0+

allowsNextDrawableTimeout

TypeScript
get allowsNextDrawableTimeout(): boolean
Swift declaration
var allowsNextDrawableTimeout: Bool { get set }
set · iOS 11.0+

allowsNextDrawableTimeout

TypeScript
set allowsNextDrawableTimeout(value: boolean)
Swift declaration
var allowsNextDrawableTimeout: Bool { get set }
get · iOS 13.0+

colorspace

TypeScript
get colorspace(): (_CoreGraphics_CGColorSpace) | null
Swift declaration
var colorspace: CGColorSpace? { get set }
set · iOS 13.0+

colorspace

TypeScript
set colorspace(value: (_CoreGraphics_CGColorSpace) | null)
Swift declaration
var colorspace: CGColorSpace? { get set }
get · iOS 16.0+

developerHUDProperties

TypeScript
get developerHUDProperties(): (NativeMap<unknown, unknown>) | null
Swift declaration
var developerHUDProperties: [AnyHashable : Any]? { get set }
set · iOS 16.0+

developerHUDProperties

TypeScript
set developerHUDProperties(value: (NativeMap<unknown, unknown>) | null)
Swift declaration
var developerHUDProperties: [AnyHashable : Any]? { get set }
get · iOS 13.0+

device

TypeScript
get device(): (SDKHandle) | null
Swift declaration
var device: (any MTLDevice)? { get set }
set · iOS 13.0+

device

TypeScript
set device(value: (SDKHandle) | null)
Swift declaration
var device: (any MTLDevice)? { get set }
get · iOS 13.0+

drawableSize

TypeScript
get drawableSize(): { width: number; height: number }
Swift declaration
var drawableSize: CGSize { get set }
set · iOS 13.0+

drawableSize

TypeScript
set drawableSize(value: { width: number; height: number })
Swift declaration
var drawableSize: CGSize { get set }
get · iOS 13.0+

framebufferOnly

TypeScript
get framebufferOnly(): boolean
Swift declaration
var framebufferOnly: Bool { get set }
set · iOS 13.0+

framebufferOnly

TypeScript
set framebufferOnly(value: boolean)
Swift declaration
var framebufferOnly: Bool { get set }
get · iOS 11.2+

maximumDrawableCount

TypeScript
get maximumDrawableCount(): number
Swift declaration
var maximumDrawableCount: Int { get set }
set · iOS 11.2+

maximumDrawableCount

TypeScript
set maximumDrawableCount(value: number)
Swift declaration
var maximumDrawableCount: Int { get set }
get · iOS 13.0+

pixelFormat

TypeScript
get pixelFormat(): _Metal_MTLPixelFormat
Swift declaration
var pixelFormat: MTLPixelFormat { get set }
set · iOS 13.0+

pixelFormat

TypeScript
set pixelFormat(value: _Metal_MTLPixelFormat)
Swift declaration
var pixelFormat: MTLPixelFormat { get set }
get · iOS 13.0+

preferredDevice

TypeScript
get preferredDevice(): (SDKHandle) | null
Swift declaration
var preferredDevice: (any MTLDevice)? { get }
get · iOS 13.0+

presentsWithTransaction

TypeScript
get presentsWithTransaction(): boolean
Swift declaration
var presentsWithTransaction: Bool { get set }
set · iOS 13.0+

presentsWithTransaction

TypeScript
set presentsWithTransaction(value: boolean)
Swift declaration
var presentsWithTransaction: Bool { get set }
get · iOS 26.0+

residencySet

TypeScript
get residencySet(): SDKHandle
Swift declaration
var residencySet: any MTLResidencySet { get }
get · iOS 16.0+

wantsExtendedDynamicRangeContent

TypeScript
get wantsExtendedDynamicRangeContent(): boolean
Swift declaration
var wantsExtendedDynamicRangeContent: Bool { get set }
set · iOS 16.0+

wantsExtendedDynamicRangeContent

TypeScript
set wantsExtendedDynamicRangeContent(value: boolean)
Swift declaration
var wantsExtendedDynamicRangeContent: Bool { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All QuartzCore types →