Initializer

init(mtlTexture:options:)

Creates a layer renderer from a Metal texture.

Declaration

init(mtlTexture tex: MTLTexture, options dict: [AnyHashable : Any]? = nil)

See Also

Creating a Renderer

init(cglContext: UnsafeMutableRawPointer, options: [AnyHashable : Any]?)

Creates and returns a CARenderer instance with the render target specified by the Core OpenGL context.

Deprecated