Class NVFillRectangle

  • public final class NVFillRectangle
    extends java.lang.Object
    Native bindings to the NV_fill_rectangle extension.

    This extension adds a new PolygonMode setting where a triangle is rasterized by computing and filling its axis-aligned screen-space bounding box, disregarding the actual triangle edges. This can be useful for drawing a rectangle without being split into two triangles with an internal edge. It is also useful to minimize the number of primitives that need to be drawn, particularly for a user-interface.

    Requires NV_polygon_mode.

    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait