Contents

sparseTileSize(textureType:pixelFormat:sampleCount:sparsePageSize:)

Returns the dimensions of a sparse tile for a texture that has a specific sparse page size.

Declaration

func sparseTileSize(textureType: MTLTextureType, pixelFormat: MTLPixelFormat, sampleCount: Int, sparsePageSize: MTLSparsePageSize) -> MTLSize

Parameters

Return Value

A new MTLSize instance.

See Also

Working with sparse textures