Instance Property

length

The data size of the buffer, in bytes.

Required.

Declaration

var length: Int { get }

See Also

Working with Data in a Buffer

func fill(Data, offset: Int)

Writes the specified data into the buffer.

Required.

func map() -> MDLMeshBufferMap

Provides direct, read-only access to the buffer’s contents.

Required.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software