共用方式為


MTLTextureDescriptor.Usage 屬性

定義

取得或設定紋理使用方式。 (例如,紋理可用來做為轉譯目標,或做為計算著色器的寫入目標。)

[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

屬性值

屬性

適用於