Contents

elementPointerType()

Provides a description of the underlying pointer type when an array holds pointers as its elements.

Declaration

func elementPointerType() -> MTLPointerType?

Return Value

An object that describes the pointer. If the array elements aren’t pointers, this method returns nil.

Discussion

Use this method if elementType is MTLDataType.pointer.

See Also

Obtaining details for complex array elements