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

Public Types

enum class  type { image , depth , swapchain }
 

Public Member Functions

 attachment (const std::uint32_t binding, const std::string &name, type type, const math::color &clear_color=math::color::black, const format format=format::r8g8b8a8_unorm, const address_mode address_mode=address_mode::repeat) noexcept
 
auto binding () const noexcept -> std::uint32_t
 
auto name () const noexcept -> const std::string &
 
auto image_type () const noexcept -> type
 
auto format () const noexcept -> graphics::format
 
auto address_mode () const noexcept -> graphics::address_mode
 
auto clear_color () const noexcept -> const math::color &
 

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