package pipeline.triangle;

import javax.vecmath.Color3f;
import javax.vecmath.Vector2f;
import javax.vecmath.Vector3f;

import pipeline.Pipeline;
import pipeline.misc.Vertex;


/**
 * Passes the normals and the colors of each vertex on to be rasterized, and later
 * shaded during the fragment stage of the pipeline. This results in the highest
 * quality images, but results in costly computation.
 * @author ags
 */
public class FragmentShadedTP extends TriangleProcessor {
    
    /**
     * @see TriangleProcessor#nAttr()
     */
    public int nAttr() {
        return 0;
	}
    
    /**
     * @see TriangleProcessor#updateTransforms(Pipeline)
     */
    public void updateTransforms(Pipeline pipe) {
    }
    
    /**
     * @see TriangleProcessor#triangle(Vector3f[], Color3f[], Vector3f[], Vector2f[], Vertex[])
     */
    public void triangle(Vector3f[] v, Color3f[] c, Vector3f[] n, Vector2f[] t, Vertex[] output) {
    }

}