MTLVertexAttributeDescriptor

An object that determines how to store attribute data in memory and map it to the arguments of a vertex function.

Members

Functions

bufferIndex
NSUInteger bufferIndex(NSUInteger )
Undocumented in source.
bufferIndex
NSUInteger bufferIndex()

The index in the argument table for the associated vertex buffer.

format
MTLVertexFormat format()

The format of the vertex attribute.

format
MTLVertexFormat format(MTLVertexFormat )
Undocumented in source.
offset
NSUInteger offset()

The location of an attribute in vertex data, determined by the byte offset from the start of the vertex data.

offset
NSUInteger offset(NSUInteger )
Undocumented in source.

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