GlHint - mkilgore/QB64pe GitHub Wiki
_glHint: specify implementation-specific hints
SUB _glHint (BYVAL target AS _UNSIGNED LONG, BYVAL mode AS _UNSIGNED LONG) void '''_glHint'''(GLenum ''target'', GLenum ''mode'');
- target
- Specifies a symbolic constant indicating the behavior to be controlled. _GL_LINE_SMOOTH_HINT, _GL_POLYGON_SMOOTH_HINT, _GL_TEXTURE_COMPRESSION_HINT, and _GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted.
- mode
- Specifies a symbolic constant indicating the desired behavior. _GL_FASTEST, _GL_NICEST, and _GL_DONT_CARE are accepted.
Certain aspects of GL behavior, when there is room for interpretation, can be controlled with hints. A hint is specified with two arguments. target is a symbolic constant indicating the behavior to be controlled, and mode is another symbolic constant indicating the desired behavior. The initial value for each target is _GL_DONT_CARE. mode can be one of the following:
The interpretation of hints depends on the implementation. Some implementations ignore _glHint settings.
_GL_INVALID_ENUM is generated if either target or mode is not an accepted value.
Copyright: 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License.For details, see https://spdx.org/licenses/SGI-B-2.0.html.
Copyright 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.