Kale
Loading...
Searching...
No Matches
Classes | Static Protected Member Functions | Static Private Attributes | Friends | List of all members
Kale::OpenGL::Core Class Reference

#include <Core.hpp>

Classes

class  ResizeHandler
 

Static Protected Member Functions

static void setupCore () noexcept
 
static void cleanupCore () noexcept
 
static void clearScreen (const Vector4f &color) noexcept
 
static void swapBuffers () noexcept
 

Static Private Attributes

static ResizeHandlerresizeHandler = nullptr
 

Friends

class Kale::Application
 
class Kale::Scene
 

Detailed Description

The core class of the OpenGL renderer which handles setting up

Definition at line 31 of file Core.hpp.

Member Function Documentation

◆ cleanupCore()

void Core::cleanupCore ( )
staticprotectednoexcept

Cleans up the core renderer

Definition at line 126 of file Core.cpp.

◆ clearScreen()

void Core::clearScreen ( const Vector4f & color)
staticprotectednoexcept

Clears the screen with a given color

Definition at line 111 of file Core.cpp.

◆ setupCore()

void Core::setupCore ( )
staticprotectednoexcept

Sets up the core renderer

Definition at line 42 of file Core.cpp.

◆ swapBuffers()

void Core::swapBuffers ( )
staticprotectednoexcept

Swaps the front and back buffers to display the render changes

Definition at line 119 of file Core.cpp.

Friends And Related Symbol Documentation

◆ Kale::Application

friend class Kale::Application
friend

Definition at line 73 of file Core.hpp.

◆ Kale::Scene

friend class Kale::Scene
friend

Definition at line 74 of file Core.hpp.

Member Data Documentation

◆ resizeHandler

ResizeHandler* Kale::OpenGL::Core::resizeHandler = nullptr
inlinestaticprivate

Handler for resizing of windows

Definition at line 49 of file Core.hpp.


The documentation for this class was generated from the following files: