1GLGETPOLYGONSTIPPLE(3G)                                GLGETPOLYGONSTIPPLE(3G)
2
3
4

NAME

6       glGetPolygonStipple - return the polygon stipple pattern
7
8

C SPECIFICATION

10       void glGetPolygonStipple( GLubyte *mask )
11
12

PARAMETERS

14       mask  Returns the stipple pattern. The initial value is all 1's.
15

DESCRIPTION

17       glGetPolygonStipple  returns  to  mask a 32×32 polygon stipple pattern.
18       The pattern is packed into memory as if glReadPixels with  both  height
19       and  width  of 32, type of GL_BITMAP, and format of GL_COLOR_INDEX were
20       called, and the stipple pattern were stored in an internal 32×32  color
21       index  buffer.  Unlike glReadPixels, however, pixel transfer operations
22       (shift, offset, pixel map) are not  applied  to  the  returned  stipple
23       image.
24

NOTES

26       If an error is generated, no change is made to the contents of mask.
27

ERRORS

29       GL_INVALID_OPERATION  is  generated  if glGetPolygonStipple is executed
30       between the execution of glBegin and  the  corresponding  execution  of
31       glEnd.
32

SEE ALSO

34       glPixelStore(3G),       glPixelTransfer(3G),      glPolygonStipple(3G),
35       glReadPixels(3G)
36
37
38
39                                                       GLGETPOLYGONSTIPPLE(3G)
Impressum