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.
Hierarchy
- TObject
- TGenericGLVersion
Overview
Fields
Major: Integer; |
|
Minor: Integer; |
|
ReleaseExists: boolean; |
|
Release: Integer; |
|
VendorVersion: string; |
Methods
constructor Create(const AVersionString: string); |
|
function AtLeast(AMajor, AMinor: Integer): boolean; |
Properties
property VersionString: String read FVersionString; |
Description
Fields
Major: Integer; |
|
Major and minor version numbers of OpenGL(ES) implementation. |
Minor: Integer; |
|
This item has no description. |
ReleaseExists: boolean; |
|
Release version number of OpenGL(ES) implementation. Optional, some OpenGL(ES) implementations may not have "release" number (check |
Release: Integer; |
|
This item has no description. |
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 AVersionString: string); |
|
This item has no description. |
function AtLeast(AMajor, AMinor: Integer): boolean; |
|
This item has no description. |
Properties
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.16.0-snapshot.