createByteBuffer

open override fun createByteBuffer(): ByteBuffer(source)

Create a byte buffer matching the format size to be able to download the SSBO to the CPU. Note that the buffer will contain padding following elements that need it.

Return

a ByteBuffer with the expected size.