Share via


MPSImageDescriptor.Usage Property

Definition

Gets the intended use of the image.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.MTLTextureUsage Usage { [Foundation.Export("usage", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setUsage:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("usage", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)>]
[<set: Foundation.Export("setUsage:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)>]
member this.Usage : Metal.MTLTextureUsage with get, set

Property Value

Attributes

Applies to