Instance Property

readWriteTextureSupport

The device objects's read-write texture support tier.

Required.

Declaration

var readWriteTextureSupport: MTLReadWriteTextureTier { get }

Topics

Read-Write Texture Tiers

enum MTLReadWriteTextureTier

The support level for read-write texture formats.

See Also

Querying Texture Support

func supportsTextureSampleCount(Int) -> Bool

Determines whether a device supports a given texture sample count.

Required.

func minimumLinearTextureAlignment(for: MTLPixelFormat) -> Int

Calculates the minimum alignment required for creating a linear texture with a given pixel format.

Required.

func minimumTextureBufferAlignment(for: MTLPixelFormat) -> Int

Calculates the minimum alignment required when creating a texture buffer from a buffer.

Required.