Edit

Share via


IMTKViewDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol MTKViewDelegate.

[Foundation.Protocol(Name="MTKViewDelegate", WrapperType=typeof(MetalKit.MTKViewDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMTKViewDelegate : IDisposable, ObjCRuntime.INativeObject
type IMTKViewDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by MTKViewDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the MTKViewDelegate protocol.

Optional methods (if any) are provided by the MKMapViewDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Draw(MTKView)

Method to draw the contents of the view.

DrawableSizeWillChange(MTKView, CGSize)

Method to redraw the view when its layout is changed.

Applies to