Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::PostProcessPipeline::TemporalView Struct Reference

What a temporal view would be given by its NEXT begin: the sub-pixel shift and last frame's camera. More...

#include <PostProcessPipeline.hpp>

Public Attributes

glm::vec2 jitter {0.0f}
glm::mat4 previous {1.0f}
glm::vec2 previousJitter {0.0f}
 The shift the previous frame was drawn with.

Detailed Description

What a temporal view would be given by its NEXT begin: the sub-pixel shift and last frame's camera.

Definition at line 325 of file PostProcessPipeline.hpp.

Member Data Documentation

◆ jitter

glm::vec2 esengine::PostProcessPipeline::TemporalView::jitter {0.0f}

◆ previous

glm::mat4 esengine::PostProcessPipeline::TemporalView::previous {1.0f}

◆ previousJitter

glm::vec2 esengine::PostProcessPipeline::TemporalView::previousJitter {0.0f}

The shift the previous frame was drawn with.

Definition at line 329 of file PostProcessPipeline.hpp.

Referenced by esengine::PostProcessPipeline::peekTemporalView().


The documentation for this struct was generated from the following file: