Upravit

Sdílet prostřednictvím


ICAMetalDrawable Interface

Definition

Interface that defines a protocol for a display buffer at the metal layer.

[Foundation.Protocol(Name="CAMetalDrawable", WrapperType=typeof(CoreAnimation.CAMetalDrawableWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface ICAMetalDrawable : IDisposable, Metal.IMTLDrawable
type ICAMetalDrawable = interface
    interface INativeObject
    interface IDisposable
    interface IMTLDrawable
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Layer
Texture

Methods

Present() (Inherited from IMTLDrawable)
Present(Double) (Inherited from IMTLDrawable)

Extension Methods

AddPresentedHandler(IMTLDrawable, Action<IMTLDrawable>)

Causes the provided block to be run after the drawable is displayed.

GetDrawableID(IMTLDrawable)

Returns the positive integer that identifies the drawable.

GetPresentedTime(IMTLDrawable)

Returns the time, in seconds, when the host displayed this drawable.

PresentAfter(IMTLDrawable, Double)

Causes the drawable to be presented at least duration seconds after the previous drawable has been presented.

Applies to