Edit

SKMetalView Constructors

Definition

Overloads

Name Description
SKMetalView()

Initializes a new instance of the SKMetalView class.

SKMetalView(CGRect)

Initializes the SKMetalView with the specified frame.

SKMetalView(IntPtr)

Initializes a new instance of the SKMetalView class from a native handle.

SKMetalView(CGRect, IMTLDevice)

Initializes the SKMetalView with the specified frame and Metal device.

SKMetalView()

Initializes a new instance of the SKMetalView class.

public SKMetalView();

Applies to

SKMetalView(CGRect)

Initializes the SKMetalView with the specified frame.

public SKMetalView(CoreGraphics.CGRect frame);

Parameters

frame
CGRect

The frame used by the view, expressed in iOS points.

Applies to

SKMetalView(IntPtr)

Initializes a new instance of the SKMetalView class from a native handle.

public SKMetalView(IntPtr p);

Parameters

p
IntPtr

The pointer (handle) to the unmanaged object.

Remarks

This constructor is used by the Xamarin.iOS runtime when creating managed representations of unmanaged objects. It is not intended to be called directly from user code.

Applies to

SKMetalView(CGRect, IMTLDevice)

Initializes the SKMetalView with the specified frame and Metal device.

public SKMetalView(CoreGraphics.CGRect frame, Metal.IMTLDevice device);

Parameters

frame
CGRect

The frame used by the view, expressed in iOS points.

device
IMTLDevice

The Metal device to use for rendering.

Applies to