2#include <ossia/detail/config.hpp>
16enum texture_address_mode
50 bool operator==(
const texture_size& other)
const noexcept =
default;
51 bool operator!=(
const texture_size& other)
const noexcept =
default;
54struct render_target_spec
56 std::optional<texture_size> size;
58 texture_format format = RGBA8;
60 texture_filter mag_filter : 2 = texture_filter::LINEAR;
61 texture_filter min_filter : 2 = texture_filter::LINEAR;
62 texture_filter mipmap_mode : 2 = texture_filter::NONE;
64 texture_address_mode address_u : 2 = texture_address_mode::REPEAT;
65 texture_address_mode address_v : 2 = texture_address_mode::REPEAT;
66 texture_address_mode address_w : 2 = texture_address_mode::REPEAT;
68 bool operator==(
const render_target_spec& other)
const noexcept =
default;
69 bool operator!=(
const render_target_spec& other)
const noexcept =
default;