Share via


IMTLTexture.Usage Property

Definition

Gets a description of how the texture can be used. (For example, as a write target for compute shaders.)

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

Property Value

Attributes

Applies to