/// <summary>
 /// Initializes a new instance of the <see cref="GorgonDepthStencilState"/> class.
 /// </summary>
 internal GorgonDepthStencilState()
 {
     IsDepthWriteEnabled = true;
     DepthComparison     = Comparison.Less;
     StencilReadMask     = 0xff;
     StencilWriteMask    = 0xff;
     BackFaceStencilOp   = new GorgonStencilOperation();
     FrontFaceStencilOp  = new GorgonStencilOperation();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GorgonDepthStencilState"/> class.
 /// </summary>
 /// <param name="state">A <see cref="GorgonDepthStencilState"/> to copy the settings from.</param>
 internal GorgonDepthStencilState(GorgonDepthStencilState state)
 {
     BackFaceStencilOp   = new GorgonStencilOperation(state.BackFaceStencilOp);
     FrontFaceStencilOp  = new GorgonStencilOperation(state.FrontFaceStencilOp);
     DepthComparison     = state.DepthComparison;
     IsDepthWriteEnabled = state.IsDepthWriteEnabled;
     IsDepthEnabled      = state.IsDepthEnabled;
     IsStencilEnabled    = state.IsStencilEnabled;
     StencilReadMask     = state.StencilReadMask;
     StencilWriteMask    = state.StencilWriteMask;
 }