Example #1
0
		// Constructor
		public warp_Rasterizer (warp_RenderPipeline pipeline)
		{
			shaded = P | E | T;

			rebuildReferences (pipeline);
			loadLightmap (pipeline.lightmap);
		}
        // Constructor
        public warp_Rasterizer(warp_RenderPipeline pipeline)
        {
            shaded = P | E | T;

            rebuildReferences(pipeline);
            loadLightmap(pipeline.lightmap);
        }
 // 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;
 }
Example #4
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;
		}
 public warp_Scene(int width, int height)
 {
     renderPipeline = new warp_RenderPipeline(this, width, height);
 }
Example #6
0
		public warp_Scene (int width, int height)
		{
			renderPipeline = new warp_RenderPipeline (this, width, height);
		}