Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Macros | Functions
ogl_renderer.cpp File Reference
#include "core/renderer/opengl/ogl_renderer.h"
#include "core/engine.h"

Macros

#define DEBUG_BREAK()   std::abort()
 

Functions

void APIENTRY ogl_validation_layer (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam)
 
GLuint load_cubemap_from_atlas (const std::string &atlas_path, CubemapOrientation orient=CubemapOrientation::DEFAULT)
 

Macro Definition Documentation

◆ DEBUG_BREAK

#define DEBUG_BREAK ( )    std::abort()

Function Documentation

◆ load_cubemap_from_atlas()

GLuint load_cubemap_from_atlas ( const std::string &  atlas_path,
CubemapOrientation  orient = CubemapOrientation::DEFAULT 
)

◆ ogl_validation_layer()

void APIENTRY ogl_validation_layer ( GLenum  source,
GLenum  type,
GLuint  id,
GLenum  severity,
GLsizei  length,
const GLchar *  message,
const void *  userParam 
)