Instance Method

imageblockMemoryLength(forDimensions:)

Returns the imageblock memory length for the given imageblock dimensions.

Required.

Declaration

func imageblockMemoryLength(forDimensions imageblockDimensions: MTLSize) -> Int

Discussion

The imageblock dimensions must match a valid tile size of 32 x 32, 32 x 16, or 16 x 16.

See Also

Using Imageblocks

var imageblockSampleLength: Int

The size, in bytes, of the render pipeline's imageblock for a single sample.

Required.