Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ cleanup()

void Flint::Shader::cleanup ( )
inline

Release both shader stages, if present, and reset their handles to nullptr.

Safe to call multiple times and invoked automatically by the destructor.

Definition at line 192 of file shaders.h.