MTLVertexDescriptor

Undocumented in source but is binding to Objective-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.

Static functions

vertexDescriptor
MTLVertexDescriptor vertexDescriptor()

Creates and returns a new vertex descriptor.

Inherited Members

From NSObject

alloc
NSObject alloc()
Undocumented in source.
initialize
NSObject initialize()
Undocumented in source.
retain
NSObject retain()

Increments the receiver’s reference count.

release
void release()

Decrements the receiver’s reference count.

autorelease
NSObject autorelease()

Decrements the receiver’s retain count at the end of the current autorelease pool block.

Meta