3#include "pixelbullet/graphics/render_target.h"
19namespace graphics_frame_internal
21enum class PrepareFrameAction
29enum class PrepareFrameAcquireAction
36enum class RenderPreparedFrameAction
43const RenderStageRuntime* FindSwapchainRenderStage(
const RenderDevice& render_device)
noexcept;
44const ImageDepth* FindDepthAttachment(
const std::vector<std::unique_ptr<RenderStageRuntime>>& render_stage_runtimes,
45 std::string_view name)
noexcept;
46std::optional<RenderTargetView> FindRenderTargetView(
const std::map<std::string, std::unique_ptr<RenderTarget2D>>& render_targets,
47 std::string_view name);
49PrepareFrameAction BuildPrepareFrameAction(
bool has_renderer,
bool window_minimized,
bool renderer_started,
bool rebuild_stages)
noexcept;
50PrepareFrameAcquireAction ResolvePrepareFrameAcquireAction(VkResult result)
noexcept;
51RenderPreparedFrameAction ResolveRenderPreparedFrameAction(
bool prepared_frame_ready,
bool has_renderer,
bool window_minimized,
52 bool rendered_swapchain_frame)
noexcept;
53bool RequiresSwapchainRebuild(
bool framebuffer_resized,
const VkExtent2D& current_extent,
const VkExtent2D& display_extent)
noexcept;
54bool RequiresSwapchainRebuildAfterAcquire(VkResult result)
noexcept;
55bool IsSuccessfulAcquireResult(VkResult result)
noexcept;
56bool ShouldWaitForImageFence(VkFence image_fence, VkFence current_flight_fence)
noexcept;
57bool RequiresFramebufferResizeAfterPresent(VkResult result)
noexcept;
58bool ShouldAdvanceFrameAfterPresent(VkResult result)
noexcept;
Definition render_device.h:15
Definition render_stage_runtime.h:27
Definition render_target_internal.h:15