Struct colour_encoding_t¶
Defined in File common.hpp
Nested Relationships¶
Nested Types¶
Struct Documentation¶
-
struct colour_encoding_t¶
Texture colour encoding setting. Support sRGB, fixed gamma or linear.
Public Functions
-
inline constexpr colour_encoding_t(colour_encoding_type_e type, f_t gamma = 2.2) noexcept¶
-
inline constexpr colour_encoding_t() noexcept¶
-
colour_encoding_t(const colour_encoding_t&) noexcept = default¶
-
colour_encoding_t(colour_encoding_t&&) noexcept = default¶
-
colour_encoding_t &operator=(const colour_encoding_t&) noexcept = default¶
-
colour_encoding_t &operator=(colour_encoding_t&&) noexcept = default¶
-
inline bool operator==(const colour_encoding_t &o) const noexcept = default¶
-
inline bool operator==(const colour_encoding_type_e &o) const noexcept¶
-
inline constexpr auto type() const noexcept¶
-
inline constexpr operator colour_encoding_type_e() const noexcept¶
-
inline constexpr colour_encoding_t(colour_encoding_type_e type, f_t gamma = 2.2) noexcept¶