Render() public method

public Render ( Device device ) : void
device Device
return void
Example #1
0
 public void Render(Device device)
 {
     device.Transform.World = MyMatrix;
     if (brush != null)
     {
         brush.Render(device);
     }
 }
Example #2
0
 public void Render(Device device)
 {
     device.SetTransform(TransformState.World, MyMatrix);
     if (brush != null)
     {
         brush.Render(device);
     }
 }