OpenGL.getInteger

Calls glGetIntegerv and gives back the requested integer.

  1. bool getInteger(GLenum pname, out int result, string file = __FILE__, int line = __LINE__)
    class OpenGL
    bool
    getInteger
    nothrow
    (
    GLenum pname
    ,
    out int result
    ,
    string file = __FILE__
    ,
    int line = __LINE__
    )
  2. int getInteger(GLenum pname, GLint defaultValue, bool logging, string file = __FILE__, int line = __LINE__)

Return Value

Type: bool

true if glGetIntegerv succeeded.

See Also

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

Meta