Antkeeper  0.0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
graphics Namespace Reference

Functions

void rebuild_shadow_framebuffer (::game &ctx)
 
void create_framebuffers (::game &ctx)
 
void destroy_framebuffers (::game &ctx)
 
void change_render_resolution (::game &ctx, float scale)
 
void save_screenshot (::game &ctx)
 
void select_anti_aliasing_method (::game &ctx, render::anti_aliasing_method method)
 
void toggle_bloom (::game &ctx, bool enabled)
 

Function Documentation

◆ change_render_resolution()

void graphics::change_render_resolution ( ::game ctx,
float  scale 
)

Definition at line 249 of file graphics.cpp.

◆ create_framebuffers()

void graphics::create_framebuffers ( ::game ctx)

Definition at line 211 of file graphics.cpp.

◆ destroy_framebuffers()

void graphics::destroy_framebuffers ( ::game ctx)

Definition at line 226 of file graphics.cpp.

◆ rebuild_shadow_framebuffer()

void graphics::rebuild_shadow_framebuffer ( ::game ctx)

Definition at line 164 of file graphics.cpp.

◆ save_screenshot()

void graphics::save_screenshot ( ::game ctx)

Definition at line 286 of file graphics.cpp.

◆ select_anti_aliasing_method()

void graphics::select_anti_aliasing_method ( ::game ctx,
render::anti_aliasing_method  method 
)

Definition at line 320 of file graphics.cpp.

◆ toggle_bloom()

void graphics::toggle_bloom ( ::game ctx,
bool  enabled 
)