opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
render_pass_config.h
Go to the documentation of this file.
1#pragma once
2
6
7#include <optional>
8
9namespace osc
10{
12 struct RenderPassConfig final {
13 friend bool operator==(const RenderPassConfig&, const RenderPassConfig&) = default;
14
24 std::optional<Rect> viewport_rect{};
25
37 std::optional<Rect> scissor_rect{};
38
42
46 };
47}
Definition custom_decoration_generator.h:5
Represents the top-level configuration options for a single render pass.
Definition render_pass_config.h:12
Color clear_color
Definition render_pass_config.h:41
std::optional< Rect > viewport_rect
Definition render_pass_config.h:24
friend bool operator==(const RenderPassConfig &, const RenderPassConfig &)=default
std::optional< Rect > scissor_rect
Definition render_pass_config.h:37
ClearFlags clear_flags
Definition render_pass_config.h:45
static constexpr Rgba clear()
Definition rgba.h:29