Structure

MTLSizeAndAlign

The size and alignment of a resource, in bytes.

Declaration

typedef struct {
    ...
} MTLSizeAndAlign;

Topics

Specifying Size and Alignment

size

The size of the resource, in bytes.

align

The alignment of the resource, in bytes.

See Also

Essentials

Image Filter Graph with Heaps and Fences

Demonstrates how to use heaps and fences to optimize a multistage image filter.

MTLHeap

A memory pool from which you can suballocate resources.

MTLHeapDescriptor

An object you use to configure new heap objects.