Szerkesztés

Megosztás a következőn keresztül:


MTLTextureDescriptor.Usage Property

Definition

Gets or sets the texture usage. (For example, the texture may be used as a render target, or as a write target for compute shaders.)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Metal.MTLTextureUsage Usage { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("usage", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setUsage:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.Usage : Metal.MTLTextureUsage with get, set

Property Value

Attributes

Applies to