func (d Device) MakeBufferWithLength(length uintptr, opt ResourceOptions) Buffer {
	return Buffer{C.Device_MakeBufferWithLength(d.device, C.size_t(length), C.uint16_t(opt))}
}
func (d Device) MakeBufferWithLength(length uintptr, opt ResourceOptions) Buffer {
	return Buffer{C.Device_MakeBufferWithLength(d.device, C.size_t(length), C.uint16_t(opt))}
}
func ( d Device ) MakeBufferWithLength ( length uintptr , opt ResourceOptions ) Buffer { return Buffer { C . Device_MakeBufferWithLength ( d . device , C . size_t ( length ) , C . uint16_t ( opt ) ) } }
// MakeBufferWithLength allocates a new zero-filled buffer of a given length.
//
// Reference: https://developer.apple.com/documentation/metal/mtldevice/1433375-newbufferwithlength
MakeBufferWithLength allocates a new zero - filled buffer of a given length . Reference : https : // developer . apple . com / documentation / metal / mtldevice / 1433375 - newbufferwithlength