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

属性值

属性

适用于