$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
sphere_types.h File Reference

Pure-data type for per-instance sphere attributes. More...

#include "gl_common.h"
#include <cglm/cglm.h>
Include dependency graph for sphere_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SphereInstance
 Per-instance data sent to the shader via an instanced VBO. More...
 

Detailed Description

Pure-data type for per-instance sphere attributes.

This header defines the canonical SphereInstance layout shared by the instanced renderer, billboard renderer, N-body simulation, light probes, and sorting subsystems. It depends only on cglm types and the SIMD_ALIGNMENT constant from gl_common.h — no OpenGL entry points are referenced directly.