Class

MTLVertexBufferLayoutDescriptor

An object that configures how vertex data and attributes are fetched by a vertex function.

Declaration

@interface MTLVertexBufferLayoutDescriptor : NSObject

Topics

Organizing the Vertex Buffer Layout

stepFunction

The circumstances under which the vertex and its attributes are presented to the vertex function.

stepRate

The interval at which the vertex and its attributes are presented to the vertex function.

stride

The distance, in bytes, between the attribute data of two vertices in the buffer.

Constants

MTLVertexStepFunction

The frequency with which the vertex function or post-tessellation vertex function fetches attribute data.

Relationships

Inherits From

Conforms To

See Also

Vertex Data

Viewing Your Meshes with the Geometry Viewer

Find problems in your app's vertex function by pausing your app at any time, and viewing the current geometry from an angle you choose.

MTLVertexDescriptor

An object that describes how vertex data is organized and mapped to a vertex function.

MTLVertexAttribute

An object that represents an attribute of a vertex function.

MTLVertexAttributeDescriptor

An object that determines how attribute data is stored in memory and how it is mapped to the arguments of a vertex function.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software