sandbox
Loading...
Searching...
No Matches
sbx::graphics::viewport Class Reference

Public Member Functions

 viewport (const math::vector2u &size) noexcept
 
auto scale () const noexcept -> const math::vector2f &
 
auto set_scale (const math::vector2f &scale) noexcept -> void
 
auto offset () const noexcept -> const math::vector2i &
 
auto set_offset (const math::vector2i &offset) noexcept -> void
 
auto size () const noexcept -> const std::optional< math::vector2u > &
 
auto set_size (const math::vector2u &size) noexcept -> void
 

The documentation for this class was generated from the following file: