Example #1
0
 public RasterizerState(RasterizerState old)
 {
     m_depthTest   = old.DepthTest;
     m_cullMode    = old.CullMode;
     m_blendMode   = old.BlendMode;
     m_fillMode    = old.FillMode;
     m_stencilMode = old.StencilMode;
 }
 public bool Equals(DepthTestMode other)
 => Comparison.Equals(other.Comparison) && Bounds.Equals(other.Bounds);
 public DepthTestMode(DepthTestMode other, Range1d range)
 {
     Comparison = other.Comparison;
     Bounds     = range;
 }