Function createBuffer

Creates a buffer in which data is loaded.

Buffer createBuffer (
  const(Device) device,
  BufferUsage usage,
  ubyte[] data,
  string label = null
);

See Also