|
sandbox
|
Public Member Functions | |
| scene_environment (scene_graph &graph, const scenes::node camera, const math::vector3 &light_direction, const math::color &light_color) | |
| auto | light () -> directional_light & |
| auto | light () const -> const directional_light & |
| auto | camera () const -> scenes::node |
| auto | set_active_camera (const scenes::node camera) -> void |
| auto | cascade_light_spaces () const -> const std::array< math::matrix4x4, csm_cascade_count > & |
| auto | uniform_handler () -> graphics::uniform_handler & |
| auto | update_uniforms () -> void |
| auto | view_projection () const -> const math::matrix4x4 & |
| auto | light_space () -> math::matrix4x4 |
| auto | screen_point_to_ray (const math::vector2 &position) -> math::ray |
| auto | set_render_target_size (const math::vector2u &size) -> void |
| auto | render_target_size () const -> const math::vector2u & |
Static Public Member Functions | |
| static constexpr auto | cascade_count () -> std::uint32_t |