Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
BlamRendering::OpenGL Namespace Reference

Namespace containing functions exclusive to OpenGL. More...

Functions

BLAM BlamResult Initialize ()
 Initializes OpenGL. More...
 
BLAM void RenderLoop ()
 Renders a frame to the application window. More...
 
BLAM void Shutdown ()
 Shuts down OpenGL. More...
 
BLAM SDL_GLContext * GetGLContext ()
 Retrieves the current OpenGL context. More...
 

Detailed Description

Namespace containing functions exclusive to OpenGL.

Function Documentation

◆ GetGLContext()

SDL_GLContext * BlamRendering::OpenGL::GetGLContext ( )

Retrieves the current OpenGL context.

Returns
Pointer to the current OpenGL context.

◆ Initialize()

BlamResult BlamRendering::OpenGL::Initialize ( )

Initializes OpenGL.

Returns
#BlamResult::Success_OK if init was successful, otherwise will return a negative #BlamResult.

◆ RenderLoop()

void BlamRendering::OpenGL::RenderLoop ( )

Renders a frame to the application window.

◆ Shutdown()

void BlamRendering::OpenGL::Shutdown ( )

Shuts down OpenGL.