Type Method

vertexDescriptor

Creates and returns a new vertex descriptor.

Declaration

+ (MTLVertexDescriptor *)vertexDescriptor;

Return Value

A default object with allocated arrays in the attributes and layouts properties.