Class TGenericGLVersion
Unit
CastleGLVersion
Declaration
type TGenericGLVersion = class(TObject)
Description
OpenGL(ES) library version information.
As obtained from glGetString(GL_VERSION), glGetString(GL_VENDOR) and similar routines.
This is usually created by CastleGLUtils.GLInformationInitialize.
Hierarchy
- TObject
- TGenericGLVersion
Overview
Fields
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; |
|
|
VendorVersion: string; |
Vendor-specific version that was at the end of 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.16.0.