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

Public Member Functions

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
 
auto is_fixed () const noexcept -> bool
 
auto is_window () const noexcept -> bool
 
auto is_dynamic () const noexcept -> bool
 

Static Public Member Functions

static auto fixed (const math::vector2u &size) -> viewport
 
static auto window () -> viewport
 
static auto dynamic () -> viewport
 

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