Class Pipeline


  • public final class Pipeline
    extends Object
    This renderer takes as its input a Scene data structure and a FrameBuffer.Viewport within a FrameBuffer data structure. This renderer mutates the FrameBuffer.Viewport so that it is filled in with the rendered image of the geometric scene represented by the Scene object.

    This implements our sixth rendering pipeline. It adds a view volume normalization stage, View2Camera, that converts a Camera's configurable view volume into the normalized view volume used by the Clip pipeline stage. Coordinates relative to the Camera's arbitrary view volume are called "view coordinates" and coordinates relative to the normalized view volume are called "camera coordinates", so the new pipeline stage converts vertex coordinates from view coordinates to camera coordinates. There are six pipeline stages.