MTLVertexDescriptor

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Members

Functions

attributes
MTLVertexAttributeDescriptorArray attributes()

An array of state data that describes how vertex attribute data is stored in memory and is mapped to arguments for a vertex shader function.

layouts
MTLVertexBufferLayoutDescriptorArray layouts()

An array of state data that describes how data are fetched by a vertex shader function when rendering primitives.

reset
void reset()

Resets the default state for the vertex descriptor.

Mixins

__anonymous
mixin ObjcExtend!NSObject
Undocumented in source.

Static functions

vertexDescriptor
MTLVertexDescriptor vertexDescriptor()

Creates and returns a new vertex descriptor.

Meta