MTKView

Undocumented in source but is binding to Objective-C. You might be able to learn more by searching the web for its name.

Members

Functions

currentDrawable
CAMetalDrawable currentDrawable()

The drawable to use for the current frame.

currentRenderPassDescriptor
MTLRenderPassDescriptor currentRenderPassDescriptor()

Creates a render pass descriptor to draw into the current drawable.

device
MTLDevice device()

The device object the view uses to create its Metal objects. Only getter will be supported since the renderer is initialized from Objective-C

frame
CGRect frame()

The view’s frame rectangle, which defines its position and size in its superview’s coordinate system.

frame
CGRect frame(CGRect )
Undocumented in source.

Meta