vengine  0.0.1
3D graphics engine
Loading...
Searching...
No Matches
ven::GlobalUbo Struct Reference

#include <FrameInfo.hpp>

+ Collaboration diagram for ven::GlobalUbo:

Public Attributes

glm::mat4 projection {1.F}
 
glm::mat4 view {1.F}
 
glm::mat4 inverseView {1.F}
 
glm::vec4 ambientLightColor {DEFAULT_AMBIENT_LIGHT_COLOR}
 
std::array< PointLightData, MAX_LIGHTSpointLights
 
uint8_t numLights
 

Detailed Description

Definition at line 34 of file FrameInfo.hpp.

Member Data Documentation

◆ ambientLightColor

glm::vec4 ven::GlobalUbo::ambientLightColor {DEFAULT_AMBIENT_LIGHT_COLOR}

Definition at line 39 of file FrameInfo.hpp.

Referenced by ven::Gui::rendererSection().

◆ inverseView

glm::mat4 ven::GlobalUbo::inverseView {1.F}

Definition at line 38 of file FrameInfo.hpp.

◆ numLights

uint8_t ven::GlobalUbo::numLights

Definition at line 41 of file FrameInfo.hpp.

Referenced by ven::SceneManager::updateBuffer().

◆ pointLights

std::array<PointLightData, MAX_LIGHTS> ven::GlobalUbo::pointLights

Definition at line 40 of file FrameInfo.hpp.

Referenced by ven::SceneManager::updateBuffer().

◆ projection

glm::mat4 ven::GlobalUbo::projection {1.F}

Definition at line 36 of file FrameInfo.hpp.

◆ view

glm::mat4 ven::GlobalUbo::view {1.F}

Definition at line 37 of file FrameInfo.hpp.


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