Package renderer.pipeline
Class Rasterize
- java.lang.Object
-
- renderer.pipeline.Rasterize
-
public class Rasterize extends Object
Rasterize a projected geometricPrimitive
into shaded pixels in a {FrameBuffer.Viewport
.
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
debug
static boolean
doAntiAliasing
static boolean
doClipping
static boolean
doGamma
static double
GAMMA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
rasterize(Model model, FrameBuffer.Viewport vp)
Rasterize every projected, visiblePrimitive
into shaded pixels in aFrameBuffer.Viewport
.
-
-
-
Field Detail
-
debug
public static boolean debug
-
doClipping
public static boolean doClipping
-
doAntiAliasing
public static boolean doAntiAliasing
-
doGamma
public static boolean doGamma
-
GAMMA
public static final double GAMMA
- See Also:
- Constant Field Values
-
-
Method Detail
-
rasterize
public static void rasterize(Model model, FrameBuffer.Viewport vp)
Rasterize every projected, visiblePrimitive
into shaded pixels in aFrameBuffer.Viewport
.- Parameters:
model
-Model
that contains clippedPrimitive
svp
-FrameBuffer.Viewport
to hold rasterized, shaded pixels
-
-