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);
        }
Пример #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);
        }
Пример #3
0
 // References
 public void rebuildReferences(warp_RenderPipeline pipeline)
 {
     screen      = pipeline.screen;
     zBuffer     = pipeline.zBuffer;
     idBuffer    = pipeline.idBuffer;
     width       = screen.width;
     height      = screen.height;
     useIdBuffer = pipeline.useId;
 }
 // References
 public void rebuildReferences(warp_RenderPipeline pipeline)
 {
     screen=pipeline.screen;
     zBuffer=pipeline.zBuffer;
     idBuffer=pipeline.idBuffer;
     width=screen.width;
     height=screen.height;
     useIdBuffer=pipeline.useId;
 }
 public warp_FXPlugin( warp_Scene scene )
 {
     this.scene = scene;
     screen = scene.renderPipeline.screen;
 }
Пример #6
0
 public warp_FXPlugin(warp_Scene scene)
 {
     this.scene = scene;
     screen     = scene.renderPipeline.screen;
 }