Raftel Engine
 
Loading...
Searching...
No Matches
Raftel::Engine Class Reference

Public Member Functions

std::string getFileName (const std::string &path)
 

Static Public Member Functions

static EngineInstance ()
 

Public Attributes

std::vector< std::shared_ptr< Raftel::Mesh > > meshes
 
std::vector< std::shared_ptr< Raftel::Mesh > > internalMeshes
 
std::vector< std::shared_ptr< Raftel::Entity > > lights
 
std::vector< std::shared_ptr< Raftel::Entity > > point_lights
 
std::vector< std::shared_ptr< Raftel::Entity > > spot_lights
 
int numLights
 
int numEntities
 
int has_ambient_light = TRUE
 
glm::vec3 ambient_light = glm::vec3(0.1f, 0.1f, 0.1f)
 
float SCREEN_W
 
float SCREEN_H
 
int selectedEntity
 

Detailed Description

Definition at line 14 of file engine.hpp.

Member Function Documentation

◆ getFileName()

std::string Raftel::Engine::getFileName ( const std::string & path)
inline

Definition at line 22 of file engine.hpp.

◆ Instance()

static Engine & Raftel::Engine::Instance ( )
inlinestatic

Definition at line 17 of file engine.hpp.

Member Data Documentation

◆ ambient_light

glm::vec3 Raftel::Engine::ambient_light = glm::vec3(0.1f, 0.1f, 0.1f)

Definition at line 40 of file engine.hpp.

◆ has_ambient_light

int Raftel::Engine::has_ambient_light = TRUE

Definition at line 39 of file engine.hpp.

◆ internalMeshes

std::vector<std::shared_ptr<Raftel::Mesh> > Raftel::Engine::internalMeshes

Definition at line 31 of file engine.hpp.

◆ lights

std::vector<std::shared_ptr<Raftel::Entity> > Raftel::Engine::lights

Definition at line 32 of file engine.hpp.

◆ meshes

std::vector<std::shared_ptr<Raftel::Mesh> > Raftel::Engine::meshes

Definition at line 30 of file engine.hpp.

◆ numEntities

int Raftel::Engine::numEntities

Definition at line 36 of file engine.hpp.

◆ numLights

int Raftel::Engine::numLights

Definition at line 35 of file engine.hpp.

◆ point_lights

std::vector<std::shared_ptr<Raftel::Entity> > Raftel::Engine::point_lights

Definition at line 33 of file engine.hpp.

◆ SCREEN_H

float Raftel::Engine::SCREEN_H

Definition at line 43 of file engine.hpp.

◆ SCREEN_W

float Raftel::Engine::SCREEN_W

Definition at line 42 of file engine.hpp.

◆ selectedEntity

int Raftel::Engine::selectedEntity

Definition at line 44 of file engine.hpp.

◆ spot_lights

std::vector<std::shared_ptr<Raftel::Entity> > Raftel::Engine::spot_lights

Definition at line 34 of file engine.hpp.


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