You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to rewrite some examples from webgl documentation and seems like I fail at the very beginning :)
I am trying to check whether creating a program shader failed or not. The example JS code should looke similar to:
if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
alert('An error occurred compiling the shaders: ' + gl.getShaderInfoLog(shader));
}
But in your C# implementation of GetShaderParameterAsync it require generic parameter and I can't figure out what it should be. Could someone explain?
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to rewrite some examples from webgl documentation and seems like I fail at the very beginning :)
I am trying to check whether creating a program shader failed or not. The example JS code should looke similar to:
But in your C# implementation of GetShaderParameterAsync it require generic parameter and I can't figure out what it should be. Could someone explain?
The text was updated successfully, but these errors were encountered: