Is there a way to get GL_VERSION?
-
- Gnome
- Posts: 368
- Joined: Tue Jan 06, 2009 1:12 pm
- x 43
Is there a way to get GL_VERSION?
I know about Root.RenderSystem.DriverVersion but is a different thing.
-
- OGRE Team Member
- Posts: 2108
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1134
Re: Is there a way to get GL_VERSION?
should be the same - from the log:
Code: Select all
GL_VERSION = 4.6.0.0
GL_VENDOR = NVIDIA Corporation
...
RenderSystem capabilities
-------------------------
GPU Vendor: nvidia
Driver Version: 4.6.0.0
-
- Gnome
- Posts: 368
- Joined: Tue Jan 06, 2009 1:12 pm
- x 43
Re: Is there a way to get GL_VERSION?
It is not. For example my log:paroj wrote: ↑Thu Dec 30, 2021 8:34 pm should be the same - from the log:Code: Select all
GL_VERSION = 4.6.0.0 GL_VENDOR = NVIDIA Corporation ... RenderSystem capabilities ------------------------- GPU Vendor: nvidia Driver Version: 4.6.0.0
Code: Select all
19:10:22: GL_VERSION = 4.6.0 NVIDIA 462.59
19:10:22: GL_VENDOR = NVIDIA Corporation
19:10:22: GL_RENDERER = Quadro P2000/PCIe/SSE2
...
19:10:22: GPU Vendor: nvidia
19:10:22: Device Name: Quadro P2000/PCIe/SSE2
19:10:22: Driver Version: 4.6.0.0
-
- OGRE Team Member
- Posts: 2108
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1134
Re: Is there a way to get GL_VERSION?
but you said, you want GL_VERSION, which is 4.6.0. The part after that is optional:
https://www.khronos.org/registry/OpenGL ... ring.xhtml
https://www.khronos.org/registry/OpenGL ... ring.xhtml
-
- Gnome
- Posts: 368
- Joined: Tue Jan 06, 2009 1:12 pm
- x 43
Re: Is there a way to get GL_VERSION?
I see. So there is no OGRE method to get this whole string? I need to call native OpenGl method?paroj wrote: ↑Fri Dec 31, 2021 3:39 pm but you said, you want GL_VERSION, which is 4.6.0. The part after that is optional:
https://www.khronos.org/registry/OpenGL ... ring.xhtml
-
- OGRE Team Member
- Posts: 2108
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1134
Re: Is there a way to get GL_VERSION?
no, currently there is none.
However, feel free to contribute a GL_VERSION parser, if you happen to write one.
Some testdata for that: https://opengl.gpuinfo.org/
However, feel free to contribute a GL_VERSION parser, if you happen to write one.
Some testdata for that: https://opengl.gpuinfo.org/