Castle Game Engine: CastleGLVersion: Class TGenericGLVersion

# Class TGenericGLVersion
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleGLVersion ## Declaration `type TGenericGLVersion = class(TObject)` ## Description OpenGL libraries (core OpenGL or GLU) version information. As obtained from glGetString(GL_VERSION) or gluGetString(GLU_VERSION), also by glGetString(GL_VENDOR). This is usually created by CastleGLUtils.GLInformationInitialize. ## Hierarchy TObject TGenericGLVersion ## Overview ### Fields
| `Major: Integer;`
| `Minor: Integer;`
| `ReleaseExists: boolean;`
| `Release: Integer;`
| `VendorInfo: string;`
### Methods
| `constructor Create(const VersionString: string);`
| `function AtLeast(AMajor, AMinor: Integer): boolean;`
## Description ### Fields
| `Major: Integer;`
Required (every OpenGL implemenetation has them) major and minor numbers.
| `Minor: Integer;`
| `ReleaseExists: boolean;`
Release is the optional release number (check `ReleaseExists` first).
| `Release: Integer;`
| `VendorInfo: string;`
`VendorInfo` is whatever vendor-specific information was placed inside VersionString, after the major_number.minor_number.release_number. It never has any whitespace at the beginning (we trim it when initializing).
### Methods
| `constructor Create(const VersionString: string);`
| `function AtLeast(AMajor, AMinor: Integer): boolean;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:10