t
Loading...
Searching...
No Matches
t::Uniforms Struct Reference

The uniforms available to vertex shaders and fragment shaders. More...

#include <Uniforms.hpp>

Public Attributes

Matrix4x4modelMatrix
 The model matrix of the current 3D mesh.
 
Matrix4x4modelViewMatrix
 The product of the view matrix and the model matrix.
 
Matrix4x4projectionMatrix
 The projection matrix of the active camera.
 
Matrix4x4viewMatrix
 The view matrix of the active camera.
 
Matrix3x3normalMatrix
 The normal matrix of the current 3D mesh.
 
Vector3cameraPosition
 The position of the camera in world space.
 

Detailed Description

The uniforms available to vertex shaders and fragment shaders.

Uniforms are values that are constant for all vertices and fragments in a single draw call.


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