Finality Engine
Loading...
Searching...
No Matches
RenderTarget.h
Go to the documentation of this file.
1
6#pragma once
7#include <memory>
8#include "Framebuffer.h"
9#include <Renderer/Camera.h>
11#include "RenderView.h"
13
14namespace FINALITY
15{
18 {
19 virtual ~RenderTarget() = default;
20
21 std::shared_ptr<Framebuffer> Framebuffer;
22 uint32_t Width = 0;
23 uint32_t Height = 0;
27
28 bool ResizeRequested = false;
29 uint32_t PendingWidth = 0;
30 uint32_t PendingHeight = 0;
31
32 glm::vec4 ClearColor{ 0.1f, 0.1f, 0.1f, 1.0f };
33 };
34}
Stores camera projection and view configuration.
Reports visibility, submission and timing measurements.
Describes the camera matrices and occlusion policy for one render view.
Reports visibility, submission and timing measurements.
std::shared_ptr< Framebuffer > Framebuffer
RenderStatistics Statistics
ViewVisibilityState VisibilityState
virtual ~RenderTarget()=default
Describes the camera matrices and occlusion policy for one render view.
Definition RenderView.h:26