Structure

MTLSize

A set of dimensions that declare the size of an object, such as an image, texture, threadgroup, or grid.

Declaration

typedef struct {
    ...
} MTLSize;

Topics

Fields

width

The x dimension of the object size.

height

The y dimension of the object size.

depth

The z dimension of the object size.

See Also

Size

MTLSizeMake

Returns the specified size of an object, such as a texture or threadgroup.