GLPOLYGONSTIPPLE
NAMEC SPECIFICATION
PARAMETERS
DESCRIPTION
ERRORS
ASSOCIATED GETS
SEE ALSO
NAME
glPolygonStipple − set the polygon stippling pattern
C SPECIFICATION
void glPolygonStipple( const GLubyte *mask )
PARAMETERS
mask |
Specifies a pointer to a $32 ~times~ 32$ stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. |
DESCRIPTION
Polygon stippling, like line stippling (see glLineStipple), masks out certain fragments produced by rasterization, creating a pattern. Stippling is independent of polygon antialiasing.
mask is a pointer to a $32 ~times~ 32$ stipple pattern that is stored in memory just like the pixel data supplied to a glDrawPixels call with height and width both equal to 32, a pixel of GL_COLOR_INDEX, and data type of GL_BITMAP. That is, the stipple pattern is represented as a $32 ~times~ 32$ array of 1-bit color indices packed in unsigned bytes. glPixelStore parameters like GL_UNPACK_SWAP_BYTES and GL_UNPACK_LSB_FIRST affect the assembling of the bits into a stipple pattern. Pixel transfer operations (shift, offset, pixel map) are not applied to the stipple image, however.
To enable and disable polygon stippling, call glEnable and glDisable with argument GL_POLYGON_STIPPLE. Polygon stippling is initially disabled. If it’s enabled, a rasterized polygon fragment with window coordinates $x sub w$ and $y sub w$ is sent to the next stage of the GL if and only if the ($x sub w~roman mod~32$)th bit in the ($y sub w~roman mod~32$)th row of the stipple pattern is 1 (one). When polygon stippling is disabled, it is as if the stipple pattern consists of all 1’s.
ERRORS
GL_INVALID_OPERATION is generated if glPolygonStipple is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGetPolygonStipple
glIsEnabled with argument GL_POLYGON_STIPPLE
SEE ALSO
glDrawPixels(3G), glLineStipple(3G), glPixelStore(3G), glPixelTransfer(3G)
More Linux Commands
manpages/Tcl_DeleteCommand.3.html
Tcl_DeleteCommand(3) - implement new commands in C (ManPage)
Tcl_CreateObjCommand defines a new command in interp and associates it with procedure proc such that whenever name is invoked as a Tcl command (e.g., via a call
manpages/header_checks.5.html
header_checks.5 - header_checks(5) - Postfix built-in content inspection......
This document describes access control on the content of message headers and message body lines; it is implemented by the Postfix cleanup(8) server before mail
manpages/Tk_UndefineCursor.3.html
Tk_UndefineCursor(3) - change window configuration or attrib
These procedures are analogous to the X library procedures with similar names, such as XConfigureWindow. Each one of the above procedures calls the correspondin
manpages/optionFindValue.3.html
optionFindValue(3) find a hierarcicaly valued option instanc
This routine will find an entry in a nested value option or configurable. It will search through the list and return a matching entry. odesc an option with a ne
manpages/DPMSCapable.3.html
DPMSCapable(3) - returns the DPMS capability of the X server
The DPMSCapable function returns the Display Power Management Signaling (DPMS) capability of the X server, either TRUE (capable of DPMS) or FALSE (incapable of
manpages/afmtodit.1.html
afmtodit(1) - create font files for use with groff -Tps.....
afmtodit creates a font file for use with groff, grops, and gropdf. afmtodit is written in perl; you must have perl version 5.004 or newer installed in order to
manpages/git-branch.1.html
git-branch(1) - List, create, or delete branches (Man Page)
With no arguments, existing branches are listed and the current branch will be highlighted with an asterisk. Option -r causes the remote-tracking branches to be
manpages/Mail::SPF::Util.3pm.html
Mail::SPF::Util(3pm) - Mail::SPF utility class (Man Page)...
Mail::SPF::Util is Mail::SPFs utility class. Class methods The following class methods are provided: hostname: returns string Returns the fully qualified domain
manpages/daemon.7.html
daemon(7) - Writing and Packaging System Daemons (Man Page)
A daemon is a service process that runs in the background and supervises the system or provides functionality to other processes. Traditionally, daemons are imp
manpages/gvfsd.1.html
gvfsd(1) Main daemon for gvfs (Commands - Linux man page)...
gvfsd is the main daemon for the gvfs virtual filesystem. It provides the org.gtk.vfs.Daemon name on the session bus. gvfsd is autostarted by GIO clients if it
manpages/Ttk_PadBox.3.html
Ttk_PadBox(3) - Tk themed geometry utilities (Man Page).....
The Ttk_Box structure represents a rectangular region of a window: typedef struct { int x; int y; int width; int height; } Ttk_Box; All coordinates are relative
manpages/XtGetValues.3.html
XtGetValues(3) - obtain and set widget resources (Man Page)
The XtSetValues function starts with the resources specified for the Core widget fields and proceeds down the subclass chain to the widget. At each stage, it wr
