CG_Labs  2020.0
Namespaces | Functions | Variables
helpers.cpp File Reference
#include "config.hpp"
#include "helpers.hpp"
#include "core/Log.h"
#include "core/opengl.hpp"
#include "core/various.hpp"
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <glm/gtc/type_ptr.hpp>
#include <imgui.h>
#include <stb_image.h>
#include <array>
#include <cassert>
#include <cstdint>

Namespaces

 local
 

Functions

static std::vector< std::uint8_t > getTextureData (std::string const &filename, std::uint32_t &width, std::uint32_t &height, bool flip)
 

Variables

static GLuint local::fullscreen_shader
 
static GLuint local::display_vao
 
static std::array< char const *, 3 > const local::polygon_mode_labels
 

Function Documentation

◆ getTextureData()

static std::vector<std::uint8_t> getTextureData ( std::string const &  filename,
std::uint32_t &  width,
std::uint32_t &  height,
bool  flip 
)
static