Contents

imageblockMemoryLength(forDimensions:)

Returns the length of reserved memory for an imageblock of a given size.

Declaration

func imageblockMemoryLength(forDimensions imageblockDimensions: MTLSize) -> Int

Parameters

  • imageblockDimensions:

    An Mtlsize instance that represents the dimensions of an imageblock.

Return Value

The length, in bytes, occupied by the image block in memory.