Exemplo n.º 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;
 }
Exemplo n.º 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);
 }
Exemplo n.º 6
0
		public warp_Scene (int width, int height)
		{
			renderPipeline = new warp_RenderPipeline (this, width, height);
		}