Commit 1d36a806 authored by Felix Schröder's avatar Felix Schröder
Browse files

Add documentation

parent 87fef2e6
......@@ -160,8 +160,13 @@ public:
* @param light A shared pointer to the light that should be added
*/
virtual uint32_t addLight(std::shared_ptr<Light> light);
void addLightAt(std::shared_ptr<Light> light, uint32_t lightIndex);
/**
* @brief Adds a light at a given index to the list of lights
* @param light The light object
* @param lightIndex The index at which position the light is inserted
*/
void addLightAt(std::shared_ptr<Light> light, uint32_t lightIndex);
/**
* @brief Returns a list with all lights (Light or ShadowMap) currently added to the renderer
......@@ -205,8 +210,19 @@ public:
*/
int getFunctionId(const std::shared_ptr<Function>& func) const;
/**
* @brief Creates a skybox for rendering
*/
void createSkybox();
/**
* @brief returns a const reference to the used skybox
*/
const dino::SkyBox& getSkyBox() const;
/**
* @brief returns a reference to the used skybox
*/
dino::SkyBox& getSkyBox();
std::unordered_map<uint32_t, std::shared_ptr<Function>> packFunctions() const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment