R2 Shaders
R2View.h
Go to the documentation of this file.
1 #ifndef R2_VIEW_H
2 #define R2_VIEW_H
3 
4 /// \file R2View.h
5 /// \brief Types relating to the view
6 
7 /// Matrices and parameters related to the view that all surface shaders will receive.
8 
9 struct R2_view_t {
10  /// The scene's logarithmic depth coefficient
12  /// World-space to Eye-space matrix
14  /// Eye-space to Clip-space matrix
16 };
17 
18 #endif // R2_VIEW_H
mat4x4 transform_projection
Eye-space to Clip-space matrix.
Definition: R2View.h:15
float depth_coefficient
The scene's logarithmic depth coefficient.
Definition: R2View.h:11
Matrices and parameters related to the view that all surface shaders will receive.
Definition: R2View.h:9
mat4x4 transform_view
World-space to Eye-space matrix.
Definition: R2View.h:13