is there any function like isEnabled(GL_LIGHTING);
or any way to detect if is something enabled or disabled?
For global lighting, how about:
glIsEnabled(GL_LIGHTING)
glGet — return the value or values of a selected parameter.
glGetBooleanv(GL_LIGHTING,&status)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With