Ocular Engine
UniformPerCamera.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_SHADER_UNIFORMS_PER_CAMERA__H__
19 #define __H__OCULAR_GRAPHICS_SHADER_UNIFORMS_PER_CAMERA__H__
20 
21 #include "Math/Matrix4x4.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Graphics
36  {
42  {
43  Math::Matrix4x4 viewMatrix;
44  Math::Matrix4x4 projMatrix;
45  Math::Matrix4x4 viewProjMatrix;
46  Math::Vector4f eyePosition;
47 
48  static uint32_t Size() { return 208; }
49  };
50  }
54 }
59 //------------------------------------------------------------------------------------------
60 
61 #endif
Definition: Matrix3x3.hpp:39
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
The fixed struct for all Uniform data for Cameras/Views.
Definition: UniformPerCamera.hpp:41
A 4x4 column-major float matrix.
Definition: Matrix4x4.hpp:64