JCL Help:GetOpenGLVersion

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the current OpenGL library version string (for window rendering)


Pascal

 function GetOpenGLVersion(const Win: THandle; out Version: AnsiString; out Vendor: AnsiString): Boolean;


Parameters

Parameters Description
const Win: THandle Handle of the window to use for rendering


Return Value

Surfaces the information provided by the OpenGL library (if any) relating to the version and vendor of the OpenGL library in the parameters passed.


Description

Takes a WinControl against which to perform the tests, and then returns the information provided by the OpenGL library (if any) relating to the version and vendor in the parameters passed.


About

Unit

JclSysInfo


Donator

Scott Price


Contributors

Anonymous


Version

the string to receive the library version information Vendor - the string to receive the library vendor information


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page