CG_Labs 2026.1
Loading...
Searching...
No Matches
utils::opengl::fullscreen Namespace Reference

Functions

void init (std::string const &vs_path, std::string const &fs_path, size_t width, size_t height)
void deinit ()
GLuint get_texture_id ()
void draw ()

Variables

static auto vao_id = GLuint(0u)
static auto vbo_id = GLuint(0u)
static auto program_id = GLuint(0u)
static auto texture_id = GLuint(0u)

Function Documentation

◆ deinit()

void utils::opengl::fullscreen::deinit ( )

◆ draw()

void utils::opengl::fullscreen::draw ( )

◆ get_texture_id()

GLuint utils::opengl::fullscreen::get_texture_id ( )

◆ init()

void utils::opengl::fullscreen::init ( std::string const & vs_path,
std::string const & fs_path,
size_t width,
size_t height )

Variable Documentation

◆ program_id

auto utils::opengl::fullscreen::program_id = GLuint(0u)
static

◆ texture_id

auto utils::opengl::fullscreen::texture_id = GLuint(0u)
static

◆ vao_id

auto utils::opengl::fullscreen::vao_id = GLuint(0u)
static

◆ vbo_id

auto utils::opengl::fullscreen::vbo_id = GLuint(0u)
static