session
write the contents from sourceBuffer to the ColorBuffer, potentially with format and type conversions
The sourceBuffer should be allocated using ByteBuffer.allocateDirect and have an amount of remaining bytes that matches with the dimensions, sourceFormat and sourceType.