Class TGenericGLVersion
Unit
Declaration
type TGenericGLVersion = class(TObject)
Description
OpenGL(ES) library version information. Determined looking at information from glGetString(GL_VERSION), glGetString(GL_VENDOR) and such.
User code should never create instances of this class. Only use the singleton GLVersion, already initialized for you.
Internally, this should be always created by GLInformationInitialize.
Source: base_rendering/castleglversion.pas (line 40).
Hierarchy
- TObject
- TGenericGLVersion
Overview
Fields
| Public | Major: Integer; |
| Public | Minor: Integer; |
| Public | ReleaseExists: boolean; |
| Public | Release: Integer; |
| Public | VendorVersion: string; |
Methods
| Public | constructor Create(const AVersionString: string); |
| Public | function AtLeast(AMajor, AMinor: Integer): boolean; |
Properties
| Public | property VersionString: String read FVersionString; |
Description
Fields
| Public | Major: Integer; |
|
Major and minor version numbers of OpenGL(ES) implementation. | |
| Public | Minor: Integer; |
|
This item has no description. | |
| Public | ReleaseExists: boolean; |
|
Release version number of OpenGL(ES) implementation. Optional, some OpenGL(ES) implementations may not have "release" number (check | |
| Public | Release: Integer; |
|
This item has no description. | |
| Public | 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
| Public | constructor Create(const AVersionString: string); |
|
This item has no description. | |
| Public | function AtLeast(AMajor, AMinor: Integer): boolean; |
|
This item has no description. | |
Properties
| Public | property VersionString: String read FVersionString; |
|
Version as a string. This is full unprocessed and untrimmed value, as returned by glGetString(GL_VERSION). | |
Generated by PasDoc 0.17.0.snapshot.