Class Scene#

Class Documentation#

class Scene#

Public Functions

Scene()#
Scene(const std::shared_ptr<Camera> &main_camera, std::shared_ptr<Window> main_window)#
std::thread spawn()#
GLuint get_point_light_count() const#
std::shared_ptr<DirectionalLight> get_sun()#
std::vector<std::shared_ptr<PointLight>> get_point_lights() const#
std::vector<ObjMaterial> get_materials()#
GLfloat get_progress()#
int get_texture_count(int index)#
bool get_context_setup() const#
std::shared_ptr<Clouds> get_clouds()#
std::vector<std::shared_ptr<GameObject>> get_game_objects() const#
void add_game_object(const std::string &model_path, glm::vec3 translation, GLfloat scale, Rotation rot)#
void load_models()#
bool is_loaded()#
void setup_game_object_context()#
void bind_textures_and_buffer()#
void unbind_textures_and_buffer()#
void set_context_setup(bool context_setup)#
~Scene()#