Exemplo n.º 1
0
 // References
 public void rebuildReferences(warp_RenderPipeline pipeline)
 {
     screen  = pipeline.screen;
     zBuffer = pipeline.zBuffer;
     width   = screen.width;
     height  = screen.height;
 }
Exemplo n.º 2
0
        public warp_RenderPipeline(warp_Scene scene, int w, int h)
        {
            this.scene = scene;

            screen     = new warp_Screen(w, h);
            zBuffer    = new int[screen.width * screen.height];
            rasterizer = new warp_Rasterizer(this);
        }
Exemplo n.º 3
0
 public void Dispose()
 {
     if (screen != null)
     {
         screen.Dispose();
     }
     screen  = null;
     zBuffer = null;
     rasterizer.clean();
     rasterizer = null;
     transparentQueue.Clear();
     transparentQueue = null;
 }
Exemplo n.º 4
0
 public void clean()
 {
     screen  = null;
     zBuffer = null;
 }
Exemplo n.º 5
0
 public warp_FXPlugin(warp_Scene scene)
 {
     this.scene = scene;
     screen     = scene.renderPipeline.screen;
 }