MTKViewDelegate

E849978

MTKViewDelegate is a MetalKit protocol that defines methods for responding to rendering and view update events in an MTKView.

All labels observed (1)

Label Occurrences
MTKViewDelegate canonical 1

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf MetalKit protocol
protocol
associatedWith MTKView
availableInLanguage Objective-C
callbackTiming called each frame when MTKView needs to render
called when MTKView drawable size changes
category graphics rendering protocol
conformsToLanguage Swift
declaredIn MTKView.h
definedInFramework MetalKit
definedInModule MetalKit
documentationURL https://developer.apple.com/documentation/metalkit/mtkviewdelegate
hasMethod drawInMTKView:
mtkView:drawableSizeWillChange:
introducedIn iOS 9.0
macOS 10.11
tvOS 9.0
lifecycleRole drives per-frame Metal rendering for MTKView
methodIsRequired drawInMTKView:
mtkView:drawableSizeWillChange:
methodParameterType drawInMTKView: -> MTKView*
mtkView:drawableSizeWillChange: -> CGSize
mtkView:drawableSizeWillChange: -> MTKView*
namespace MetalKit
oftenUsedWith CADisplayLink
MTLCommandQueue
MTLRenderPipelineState
ownedBy Apple
linked to: Apple Inc.
partOf Apple Metal graphics stack
pattern delegate pattern
platform iOS
macOS
tvOS
primaryResponsibility coordinate rendering loop timing with MTKView
render content for an MTKView
respond to drawable size changes
relatedTo MTKViewDelegate extension in Swift
requires access to a MTLDevice via MTKView
requiresImplementationBy rendering controller objects
threadingModel methods typically called on main thread or view’s rendering loop thread
typicalImplementer view controller managing an MTKView
usedFor integrating Metal rendering into app UI
rendering callbacks for MTKView
view update callbacks for MTKView
usedWithAPI Metal
usedWithClass MTKView

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

MetalKit hasClass MTKViewDelegate