evan 2026.1.4
Evan
Loading...
Searching...
No Matches
evan::Frame::ViewUniform Struct Reference

Per-view matrices consumed by the vertex shader. More...

#include <headers/evan/Frame.hpp>

Public Attributes

glm::mat4 view
 View matrix transforming world space to camera space.
 
glm::mat4 proj
 Projection matrix transforming camera space to clip space.
 

Detailed Description

Per-view matrices consumed by the vertex shader.

Matches the std140 layout of the GLSL uniform block: two 64-byte column-major matrices. The vertex shader selects the entry with gl_ViewIndex in multiview passes.

Definition at line 52 of file Frame.hpp.

Member Data Documentation

◆ proj

glm::mat4 evan::Frame::ViewUniform::proj

Projection matrix transforming camera space to clip space.

Definition at line 62 of file Frame.hpp.

◆ view

glm::mat4 evan::Frame::ViewUniform::view

View matrix transforming world space to camera space.

Definition at line 56 of file Frame.hpp.


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