/// <summary> /// Creates a new LayerEyeMatrix. /// </summary> public LayerEyeMatrix() { Header = new LayerHeader(); Header.Type = LayerType.EyeMatrix; ColorTexture = new IntPtr[2]; Viewport = new Recti[2]; RenderPose = new Posef[2]; Matrix = new Matrix4[2]; }
/// <summary> /// Creates a new LayerQuad. /// </summary> public LayerQuad() { Header = new LayerHeader(); Header.Type = LayerType.Quad; ColorTexture = IntPtr.Zero; Viewport = new Recti(); QuadPoseCenter = new Posef(); QuadSize = new Vector2(); }
/// <summary> /// Creates a new LayerEyeFov. /// </summary> public LayerEyeFov() { Header = new LayerHeader(); Header.Type = LayerType.EyeFov; ColorTexture = new IntPtr[2]; Viewport = new Recti[2]; Fov = new FovPort[2]; RenderPose = new Posef[2]; }