ADD: Update Docs

This commit is contained in:
2025-12-17 01:43:13 +09:00
parent 5b62c57d0c
commit fa0298e4c1
9 changed files with 1540 additions and 52 deletions

View File

@@ -298,7 +298,20 @@ public:
void clear_all_instance_node_offsets(const std::string& instanceName);
// ------------------------------------------------------------------------
// Lighting
// Lighting - Directional (Sunlight)
// ------------------------------------------------------------------------
// Set sunlight direction (normalized automatically)
void set_sunlight_direction(const glm::vec3& dir);
glm::vec3 get_sunlight_direction() const;
// Set sunlight color and intensity
void set_sunlight_color(const glm::vec3& color, float intensity);
glm::vec3 get_sunlight_color() const;
float get_sunlight_intensity() const;
// ------------------------------------------------------------------------
// Lighting - Point Lights
// ------------------------------------------------------------------------
// Add point light (returns index)
@@ -399,6 +412,13 @@ public:
// Hot reload all changed shaders
void hot_reload_shaders();
// ------------------------------------------------------------------------
// Time
// ------------------------------------------------------------------------
// Get delta time in seconds for the current frame (clamped to 0.0-0.1)
float get_delta_time() const;
// ------------------------------------------------------------------------
// Statistics (read-only)
// ------------------------------------------------------------------------