createBuffer
Creates a buffer of sizeInBytes bytes for usage.
Throws
if sizeInBytes is not positive.
if the GPU cannot allocate it.
Creates a buffer of sizeInBytes bytes for usage.
if sizeInBytes is not positive.
if the GPU cannot allocate it.