package pipeline.fragment;

import pipeline.misc.Fragment;
import pipeline.misc.FrameBuffer;

/**
 * This fragment processor will place the indicated color into the framebuffer
 * only if the fragment passes the z buffer test (ie - it isn't occluded by
 * another fragment).
 * @author ags
 */
public class ColorZBufferFP extends FragmentProcessor {
    
    /**
     * @see FragmentProcessor#nAttr()
     */
    public int nAttr() {
        return 0;
	}
    
    /**
     * @see FragmentProcessor#fragment(Fragment, FrameBuffer)
     */
    public void fragment(Fragment f, FrameBuffer fb) {
    }

}