Returns the polygon stipple pattern.
OpenGL C bindings library: libGL.a
void glGetPolygonStipple(GLubyte *Mask)
|Mask||Returns the stipple pattern.|
The glGetPolygonStipple subroutine returns to Mask a 32 x 32 polygon stipple pattern. The pattern is packed into memory as if the following values were called:
In addition, the pattern is packed into memory as if the stipple pattern was stored in an internal 32 x 32 color index buffer. Unlike glReadPixels, however, pixel transfer operations (shift, offset, pixel map) are not applied to the returned stipple image.
If an error is generated, no change is made to the contents of the Mask parameter.
|GL_INVALID_OPERATION||The glGetPolygonStipple subroutine is called between a call to glBegin and the corresponding call to glEnd.|
|/usr/include/GL/gl.h||Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.|
The glBegin or glEnd subroutine, glPixelStore subroutine, glPixelTransfer subroutine, glPolygonStipple subroutine, glReadPixels subroutine.