📄 fglget.html
字号:
of the viewport. These must be at least as large as the visible dimensions of the display being rendered to. See <STRONG>fglViewport</STRONG>. <STRONG>GL_MODELVIEW_MATRIX</STRONG> <EM>params</EM> returns sixteen values: the modelview matrix on the top of the modelview matrix stack. Initially this matrix is the identity matrix. See <STRONG>fglPushMatrix</STRONG>. <STRONG>GL_MODELVIEW_STACK_DEPTH</STRONG> <EM>params</EM> returns one value, the number of matrices on the modelview matrix stack. The initial value is 1. See <STRONG>fglPushMatrix</STRONG>. <STRONG>GL_NAME_STACK_DEPTH</STRONG> <EM>params</EM> returns one value, the number of names on the selection name stack. The initial value is 0. See <STRONG>fglPushName</STRONG>. <STRONG>GL_NORMAL_ARRAY</STRONG> <EM>params</EM> returns a single boolean value, indicating whether the normal array is enabled. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglNormalPointer</STRONG>. <STRONG>GL_NORMAL_ARRAY_STRIDE</STRONG> <EM>params</EM> returns one value, the byte offset between consecutive normals in the normal array. The initial value is 0. See <STRONG>fglNormalPointer</STRONG>. <STRONG>GL_NORMAL_ARRAY_TYPE</STRONG> <EM>params</EM> returns one value, the data type of each coordinate in the normal array. The initial value is <STRONG>GL_FLOAT</STRONG>. See <STRONG>fglNormalPointer</STRONG>. <STRONG>GL_NORMALIZE</STRONG> <EM>params</EM> returns a single boolean value indicating whether normals are automatically scaled to unit length after they have been transformed to eye coordinates. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglNormal</STRONG>. <STRONG>GL_PACK_ALIGNMENT</STRONG> <EM>params</EM> returns one value, the byte alignment used for writing pixel data to memory. The initial value is 4. See <STRONG>fglPixelStore</STRONG>. <STRONG>GL_PACK_LSB_FIRST</STRONG> <EM>params</EM> returns a single boolean value indicating whether single-bit pixels being written to memory are written first to the least significant bit of each unsigned byte. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglPixelStore</STRONG>. <STRONG>GL_PACK_ROW_LENGTH</STRONG> <EM>params</EM> returns one value, the row length used for writing pixel data to memory. The initial value is 0. See <STRONG>fglPixelStore</STRONG>. <STRONG>GL_PACK_SKIP_PIXELS</STRONG> <EM>params</EM> returns one value, the number of pixel locations skipped before the first pixel is written into memory. The initial value is 0. See <STRONG>fglPixelStore</STRONG>. <STRONG>GL_PACK_SKIP_ROWS</STRONG> <EM>params</EM> returns one value, the number of rows of pixel locations skipped before the first pixel is written into memory. The initial value is 0. See <STRONG>fglPixelStore</STRONG>. <STRONG>GL_PACK_SWAP_BYTES</STRONG> <EM>params</EM> returns a single boolean value indicating whether the bytes of two-byte and four-byte pixel indices and components are swapped before being written to memory. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglPixelStore</STRONG>. <STRONG>GL_PERSPECTIVE_CORRECTION_HINT</STRONG> <EM>params</EM> returns one value, a symbolic constant indicating the mode of the perspective correction hint. The initial value is <STRONG>GL_DONT_CARE</STRONG>. See <STRONG>fglHint</STRONG>. <STRONG>GL_PIXEL_MAP_A_TO_A_SIZE</STRONG> <EM>params</EM> returns one value, the size of the alpha-to-alpha pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_PIXEL_MAP_B_TO_B_SIZE</STRONG> <EM>params</EM> returns one value, the size of the blue-to-blue pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_PIXEL_MAP_G_TO_G_SIZE</STRONG> <EM>params</EM> returns one value, the size of the green-to-green pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_PIXEL_MAP_I_TO_A_SIZE</STRONG> <EM>params</EM> returns one value, the size of the index-to-alpha pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_PIXEL_MAP_I_TO_B_SIZE</STRONG> <EM>params</EM> returns one value, the size of the index-to-blue pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_PIXEL_MAP_I_TO_G_SIZE</STRONG> <EM>params</EM> returns one value, the size of the index-to-green pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_PIXEL_MAP_I_TO_I_SIZE</STRONG> <EM>params</EM> returns one value, the size of the index-to-index pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_PIXEL_MAP_I_TO_R_SIZE</STRONG> <EM>params</EM> returns one value, the size of the index-to-red pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_PIXEL_MAP_R_TO_R_SIZE</STRONG> <EM>params</EM> returns one value, the size of the red-to-red pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_PIXEL_MAP_S_TO_S_SIZE</STRONG> <EM>params</EM> returns one value, the size of the stencil-to-stencil pixel translation table. The initial value is 1. See <STRONG>fglPixelMap</STRONG>. <STRONG>GL_POINT_SIZE</STRONG> <EM>params</EM> returns one value, the point size as specified by <STRONG>fglPointSize</STRONG>. The initial value is 1. <STRONG>GL_POINT_SIZE_GRANULARITY</STRONG> <EM>params</EM> returns one value, the size difference between adjacent supported sizes for antialiased points. See <STRONG>fglPointSize</STRONG>. <STRONG>GL_POINT_SIZE_RANGE</STRONG> <EM>params</EM> returns two values: the smallest and largest supported sizes for antialiased points. The smallest size must be at most 1, and the largest size must be at least 1. See <STRONG>fglPointSize</STRONG>. <STRONG>GL_POINT_SMOOTH</STRONG> <EM>params</EM> returns a single boolean value indicating whether antialiasing of points is enabled. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglPointSize</STRONG>. <STRONG>GL_POINT_SMOOTH_HINT</STRONG> <EM>params</EM> returns one value, a symbolic constant indicating the mode of the point antialiasing hint. The initial value is <STRONG>GL_DONT_CARE</STRONG>. See <STRONG>fglHint</STRONG>. <STRONG>GL_POLYGON_MODE</STRONG> <EM>params</EM> returns two values: symbolic constants indicating whether front-facing and back- facing polygons are rasterized as points, lines, or filled polygons. The initial value is <STRONG>GL_FILL</STRONG>. See <STRONG>fglPolygonMode</STRONG>. <STRONG>GL_POLYGON_OFFSET_FACTOR</STRONG> <EM>params</EM> returns one value, the scaling factor used to determine the variable offset that is added to the depth value of each fragment generated when a polygon is rasterized. The initial value is 0. See <STRONG>fglPolygonOffset</STRONG>. <STRONG>GL_POLYGON_OFFSET_UNITS</STRONG> <EM>params</EM> returns one value. This value is multiplied by an implementation-specific value and then added to the depth value of each fragment generated when a polygon is rasterized. The initial value is 0. See <STRONG>fglPolygonOffset</STRONG>. <STRONG>GL_POLYGON_OFFSET_FILL</STRONG> <EM>params</EM> returns a single boolean value indicating whether polygon offset is enabled for polygons in fill mode. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglPolygonOffset</STRONG>. <STRONG>GL_POLYGON_OFFSET_LINE</STRONG> <EM>params</EM> returns a single boolean value indicating whether polygon offset is enabled for polygons in line mode. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglPolygonOffset</STRONG>. <STRONG>GL_POLYGON_OFFSET_POINT</STRONG> <EM>params</EM> returns a single boolean value indicating whether polygon offset is enabled for polygons in point mode. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglPolygonOffset</STRONG>. <STRONG>GL_POLYGON_SMOOTH</STRONG> <EM>params</EM> returns a single boolean value indicating whether antialiasing of polygons is enabled. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglPolygonMode</STRONG>. <STRONG>GL_POLYGON_SMOOTH_HINT</STRONG> <EM>params</EM> returns one value, a symbolic constant indicating the mode of the polygon antialiasing hint. The initial value is <STRONG>GL_DONT_CARE</STRONG>. See <STRONG>fglHint</STRONG>. <STRONG>GL_POLYGON_STIPPLE</STRONG> <EM>params</EM> returns a single boolean value indicating whether polygon stippling is enabled. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglPolygonStipple</STRONG>. <STRONG>GL_PROJECTION_MATRIX</STRONG> <EM>params</EM> returns sixteen values: the projection matrix on the top of the projection matrix stack. Initially this matrix is the identity matrix. See <STRONG>fglPushMatrix</STRONG>. <STRONG>GL_PROJECTION_STACK_DEPTH</STRONG> <EM>params</EM> returns one value, the number of matrices on the projection matrix stack. The initial value is 1. See <STRONG>fglPushMatrix</STRONG>. <STRONG>GL_READ_BUFFER</STRONG> <EM>params</EM> returns one value, a symbolic constant indicating which color buffer is selected for reading. The initial value is <STRONG>GL_BACK</STRONG> if there is a back buffer, otherwise it is <STRONG>GL_FRONT</STRONG>. See <STRONG>fglReadPixels</STRONG> and <STRONG>fglAccum</STRONG>. <STRONG>GL_RED_BIAS</STRONG> <EM>params</EM> returns one value, the red bias factor used during pixel transfers. The initial value is 0. <STRONG>GL_RED_BITS</STRONG> <EM>params</EM> returns one value, the number of red bitplanes in each color buffer. <STRONG>GL_RED_SCALE</STRONG> <EM>params</EM> returns one value, the red scale factor used during pixel transfers. The initial value is 1. See <STRONG>fglPixelTransfer</STRONG>. <STRONG>GL_RENDER_MODE</STRONG> <EM>params</EM> returns one value, a symbolic constant indicating whether the GL is in render, select, or feedback mode. The initial value is <STRONG>GL_RENDER</STRONG>. See <STRONG>fglRenderMode</STRONG>. <STRONG>GL_RGBA_MODE</STRONG> <EM>params</EM> returns a single boolean value indicating whether the GL is in RGBA mode (true) or color index mode (false). See <STRONG>fglColor</STRONG>. <STRONG>GL_SCISSOR_BOX</STRONG> <EM>params</EM> returns four values: the x and y window coordinates of the scissor box, followed by its width and height. Initially the x and y window coordinates are both 0 and the width and height are set to the size of the window. See <STRONG>fglScissor</STRONG>. <STRONG>GL_SCISSOR_TEST</STRONG> <EM>params</EM> returns a single boolean value indicating whether scissoring is enabled. The initial value is <STRONG>GL_FALSE</STRONG>. See <STRONG>fglScissor</STRONG>. <STRONG>GL_SHADE_MODEL</STRONG> <EM>params</EM> returns one value, a symbolic constant indicating whether the shading mode is flat or smooth. The initial value is <STRONG>GL_SMOOTH</STRONG>. See <STRONG>fglShadeModel</STRONG>. <STRONG>GL_STENCIL_BITS</STRONG> <EM>params</EM> returns one value, the number of bitplanes in the stencil buffer. <STRONG>GL_STENCIL_CLEAR_VALUE</STRONG> <EM>params</EM> returns one value, the index to which the stencil bitplanes are cleared. The initial value is 0. See <STRONG>fglClearStencil</STRONG>.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -