Instance Method

imageblockMemoryLengthForDimensions:

Returns the imageblock memory length for the given imageblock dimensions.

Required.

Declaration

- (NSUInteger)imageblockMemoryLengthForDimensions:(MTLSize)imageblockDimensions;

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

imageblockSampleLength

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

Required.