In GL.service_view_debugger_check(), if there are any inactive Views that are about to be used in a Program, it raises an InactiveViewsException.
Currently this exception keeps a list of the offending Views, but since we know their corresponding uniform handles, we should be able to get the names of each uniform with glGetActiveUniform(), making the exception much more informative.
This is assuming that a uniform handle, which we use to set its value, is the same as its "index" that you would pass in for glGetActiveUniforrm(). If the two are different, then this is not such an easy task and we should skip it.
In
GL.service_view_debugger_check()
, if there are any inactiveView
s that are about to be used in aProgram
, it raises anInactiveViewsException
.Currently this exception keeps a list of the offending
View
s, but since we know their corresponding uniform handles, we should be able to get the names of each uniform withglGetActiveUniform()
, making the exception much more informative.This is assuming that a uniform handle, which we use to set its value, is the same as its "index" that you would pass in for
glGetActiveUniforrm()
. If the two are different, then this is not such an easy task and we should skip it.