Contents

elementStructType()

Provides a description of the underlying struct when the pointer points to a struct.

Declaration

func elementStructType() -> MTLStructType?

Return Value

An object that describes the struct. If the pointer does not point to an struct, this method returns nil.

See Also

Obtaining details for complex pointer elements