init(type:data:)
Initializes a buffer containing the specified data.
Declaration
init(type: MDLMeshBufferType, data: Data?)Parameters
Return Value
A new memory buffer for mesh data.
Initializes a buffer containing the specified data.
init(type: MDLMeshBufferType, data: Data?)A new memory buffer for mesh data.