https://github.com/castle-engine/glinformation
OpenGL information gathered by Castle Game Engine
https://github.com/castle-engine/glinformation
castle-game-engine opengl
Last synced: 4 months ago
JSON representation
OpenGL information gathered by Castle Game Engine
- Host: GitHub
- URL: https://github.com/castle-engine/glinformation
- Owner: castle-engine
- Created: 2015-08-01T13:59:26.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-12-17T17:42:23.000Z (6 months ago)
- Last Synced: 2025-12-21T06:04:25.610Z (5 months ago)
- Topics: castle-game-engine, opengl
- Language: Pascal
- Homepage: https://castle-engine.io/glinformation.php
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: COPYING.GPL2.txt
Awesome Lists containing this project
README
# glinformation
A tiny utility that prints a lot of information about OpenGL, which describes the 3D rendering capabilities of your system and graphic card.
This utility uses [Castle Game Engine](https://castle-engine.io/).
Note that if you already use [Castle Game Engine](https://castle-engine.io/) or [view3dscene](https://castle-engine.io/view3dscene.php), you can:
- Get the same information by running `view3dscene` and using menu item _Help -> OpenGL Information_.
- Query the same information in your applications using [GLInformationString function](https://castle-engine.io/apidoc-unstable/html/CastleGLUtils.html#GLInformationString).
## Optional command-line options
You can call `glinformation` with some of the options listed below. Requested OpenGL context will have given capabilities (in case of bit sizes, you specify the minimum requested bit size). They are useful to check e.g. is your graphic card able to provide 16-bit stencil buffer.
```
-s / --stencil-bits STENCIL-BUFFER-BIT-SIZE
-a / --alpha-bits ALPHA-CHANNEL-BIT-SIZE
-d / --depth-bits DEPTH-BUFFER-BIT-SIZE
--multi-sampling SAMPLES # 1 means "no multisampling"
--single
--double
```
Also all [standard options understood by CGE OpenGL programs](https://castle-engine.io/opengl_options.php) are allowed, see also [standard command-line options understood by all CGE programs](https://castle-engine.io/common_options.php).
## License
GNU GPL >= 2.