コード例 #1
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);
		}
コード例 #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
 public void Dispose()
 {
     if (screen != null)
     {
         screen.Dispose();
     }
     screen     = null;
     zBuffer    = null;
     rasterizer = null;
     opaqueQueue.Clear();
     transparentQueue.Clear();
 }