Class Scene#
Defined in File Scene.ixx
Class Documentation#
-
class Scene#
Public Functions
-
Scene()#
-
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::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()#
-
Scene()#