MTLTextureDescriptor.Usage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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