public void PrimitiveRestart()
        {
            PrimitiveRestart primitiveRestart = new PrimitiveRestart();
            primitiveRestart.Enabled = true;
            primitiveRestart.Index = 11;

            Assert.IsTrue(primitiveRestart.Enabled);
            Assert.AreEqual(11, primitiveRestart.Index);
        }
Beispiel #2
0
 public RenderState()
 {
     PrimitiveRestart = new PrimitiveRestart();
     FacetCulling = new FacetCulling();
     ProgramPointSize = ProgramPointSize.Disabled;
     RasterizationMode = RasterizationMode.Fill;
     ScissorTest = new ScissorTest();
     StencilTest = new StencilTest();
     DepthTest = new DepthTest();
     DepthRange = new DepthRange();
     Blending = new Blending();
     ColorMask = new ColorMask(true, true, true, true);
     DepthMask = true;
 }