OpenGL.getInteger

Calls glGetIntegerv and gives back the requested integer.

class OpenGL
static
int
getInteger
(
GLenum pname
)

Return Value

Type: int

true if glGetIntegerv succeeded.

See Also

. Note: It is generally a bad idea to call glGetSomething since it might stall the OpenGL pipeline.

Meta