Exemple #1
0
		public Pixel(int x, int y)
		{
		    Vertices = null;
			X = x;
			Y = y;
			Color = new Number4();
			Samples = new Samples();
			PrimitiveID = 0;
		    RenderTargetArrayIndex = 0;
		}
Exemple #2
0
		public Fragment(VertexShaderOutput[] vertices, 
            int primitiveID, uint renderTargetArrayIndex,
            int x, int y, 
            FragmentQuadLocation quadLocation,
            bool isInsideViewport)
		{
		    Vertices = vertices;
			PrimitiveID = primitiveID;
		    RenderTargetArrayIndex = renderTargetArrayIndex;
			X = x;
			Y = y;
			QuadLocation = quadLocation;
		    IsInsideViewport = isInsideViewport;
			Samples = new Samples();
			Data = null;
		}