Share via


ICAMetalDrawable Interface

Definition

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

[Foundation.Protocol(Name="CAMetalDrawable", WrapperType=typeof(CoreAnimation.CAMetalDrawableWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="texture", IsProperty=true, IsRequired=true, IsStatic=false, Name="Texture", PropertyType=typeof(Metal.IMTLTexture), Selector="texture")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="layer", IsProperty=true, IsRequired=true, IsStatic=false, Name="Layer", PropertyType=typeof(CoreAnimation.CAMetalLayer), Selector="layer")]
public interface ICAMetalDrawable : IDisposable, Metal.IMTLDrawable
[<Foundation.Protocol(Name="CAMetalDrawable", WrapperType=typeof(CoreAnimation.CAMetalDrawableWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="texture", IsProperty=true, IsRequired=true, IsStatic=false, Name="Texture", PropertyType=typeof(Metal.IMTLTexture), Selector="texture")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="layer", IsProperty=true, IsRequired=true, IsStatic=false, Name="Layer", PropertyType=typeof(CoreAnimation.CAMetalLayer), Selector="layer")>]
type ICAMetalDrawable = interface
    interface INativeObject
    interface IDisposable
    interface IMTLDrawable
Attributes
Implements

Properties

Name Description
DrawableId

Returns the positive integer that identifies the drawable.

(Inherited from IMTLDrawable)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Layer
PresentedTime

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

(Inherited from IMTLDrawable)
Texture

Methods

Name Description
AddPresentedHandler(Action<IMTLDrawable>)

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

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

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

(Inherited from IMTLDrawable)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to