Edytuj

Udostępnij za pośrednictwem


MTLResourceUsage Enum

Definition

Enumerates resource usage patterns.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum MTLResourceUsage
type MTLResourceUsage = 
Inheritance
MTLResourceUsage
Attributes

Fields

Name Value Description
Read 1

Indicates reading operations.

Write 2

Indicate writing operations.

Sample 4

Indicates sampling operations.

Applies to