PushAttrib() public method

public PushAttrib ( AttribMask mask ) : void
mask AttribMask
return void
Beispiel #1
0
 protected override void BeginRender(GraphicsInterface gi)
 {
     switch(fDrawingStyle)
     {
         case TorusDrawStyle.WireFrame:
             gi.PushAttrib(AttribMask.PolygonBit);
             gi.PolygonMode(GLFace.FrontAndBack, PolygonMode.Line);
             break;
     }
 }