Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ShadowMapData.cs
Go to the documentation of this file.
1 using System.Runtime.InteropServices;
2 using SiliconStudio.Core.Mathematics;
3 
4 namespace SiliconStudio.Paradox.Effects
5 {
6  /// <summary>
7  /// Intermediate ShadowMap calculation structure.
8  /// </summary>
9  [StructLayout(LayoutKind.Sequential, Pack = 4)]
10  internal struct ShadowMapData
11  {
12  public Matrix ViewProjCaster0;
13  public Matrix ViewProjCaster1;
14  public Matrix ViewProjCaster2;
15  public Matrix ViewProjCaster3;
16 
17  public Matrix ViewProjReceiver0;
18  public Matrix ViewProjReceiver1;
19  public Matrix ViewProjReceiver2;
20  public Matrix ViewProjReceiver3;
21 
22  public Vector3 Offset0;
23  public Vector3 Offset1;
24  public Vector3 Offset2;
25  public Vector3 Offset3;
26 
27  public Color3 LightColor;
28  }
29 }
Represents a color in the form of rgb.
Definition: Color3.cs:41
Represents a three dimensional mathematical vector.
Definition: Vector3.cs:42
Represents a 4x4 mathematical matrix.
Definition: Matrix.cs:47