sparseTileSizeInBytes(sparsePageSize:)
Returns the size, in bytes, of a sparse tile the GPU device creates with a specific page size.
Declaration
func sparseTileSizeInBytes(sparsePageSize: MTLSparsePageSize) -> IntParameters
- sparsePageSize:
An Mtlsparsepagesize instance.
See Also
Working with sparse textures
sparseTileSize(textureType:pixelFormat:sampleCount:sparsePageSize:)sparseTileSize(with:pixelFormat:sampleCount:)sparseTileSizeInBytesconvertSparsePixelRegions(_:toTileRegions:withTileSize:alignmentMode:numRegions:)convertSparseTileRegions(_:toPixelRegions:withTileSize:numRegions:)MTLSparsePageSizeMTLSparseTextureRegionAlignmentMode