void imgui_image(const char *name, const render::FrameBuffer &img, ImguiShaderCache *cache, ImageShader shader)
void imgui_text(const std::string &str)
bool drag(const char *const label, v3 *drag)
bool simple_gamma_slider(const char *label, float *gamma, float curve=1.5f, float min_gamma=1.6f, float max_gamma=2.8f)
A (inclusive) range between two values.
ImguiShaderCache(const ImguiShaderCache &)=delete
ImguiShaderCache & operator=(ImguiShaderCache &&)=delete
ImguiShaderCache(ImguiShaderCache &&)=delete
ImguiShaderProgram linear_to_gamma_shader
ImguiShaderProgram depth_ortho_shader
ImguiShaderCache & operator=(const ImguiShaderCache &)=delete
unsigned int program_handle
"render to texture" feature