RAII wrapper around an OpenGL buffer object (ssbo/ubo/vbo...) Deletes the buffer automatically on destruction and frees any previous buffer before creating a new one
RAII wrapper around an OpenGL shader program. load() only replaces the held program on a successfull compile+link, a failed reload keeps whatever program was there, instead of putting the renderer without a valid program. This works as a safeguard to call reloadShaders()
Loaded mesh bounding box, axis-aligned, used for AABB early rejection Calculated during loadMesh. Used for AABB early rejection for rays that miss the bouding box