CSEngine
Loading...
Searching...
No Matches
CSE::MainProc Class Reference

Public Member Functions

void Init (GLuint width, GLuint height)
 
void ResizeWindow (GLuint width, GLuint height) const
 
void Update (float elapsedTime)
 
void Render (float elapsedTime) const
 
void GenerateCores ()
 
void Exterminate ()
 

Detailed Description

Definition at line 7 of file MainProc.h.

Constructor & Destructor Documentation

◆ ~MainProc()

MainProc::~MainProc ( )

Definition at line 9 of file MainProc.cpp.

9 {
10 Exterminate();
11}

Member Function Documentation

◆ Exterminate()

void MainProc::Exterminate ( )

Definition at line 31 of file MainProc.cpp.

31 {
32 CORE->Exterminate();
33 CORE->delInstance();
34}

◆ GenerateCores()

void MainProc::GenerateCores ( )

Definition at line 40 of file MainProc.cpp.

40 {
41 CORE->GenerateCores();
42}

◆ Init()

void MainProc::Init ( GLuint  width,
GLuint  height 
)

Definition at line 14 of file MainProc.cpp.

14 {
15
16 CORE->Init(width, height);
17}

◆ Render()

void MainProc::Render ( float  elapsedTime) const

Definition at line 26 of file MainProc.cpp.

26 {
27 CORE->Render();
28}

◆ ResizeWindow()

void MainProc::ResizeWindow ( GLuint  width,
GLuint  height 
) const

Definition at line 36 of file MainProc.cpp.

36 {
37 CORE->ResizeWindow(width, height);
38}

◆ Update()

void MainProc::Update ( float  elapsedTime)

Definition at line 20 of file MainProc.cpp.

20 {
21 CORE->Update(elapsedTime);
22 CORE->LateUpdate(elapsedTime);
23}

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