init(type:length:)
Initializes a buffer of the specified length.
Declaration
init(type: MDLMeshBufferType, length: Int)Parameters
Return Value
A new memory buffer for mesh data.
Discussion
All bytes in the newly created buffer are zero.
Initializes a buffer of the specified length.
init(type: MDLMeshBufferType, length: Int)A new memory buffer for mesh data.
All bytes in the newly created buffer are zero.