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 recommend you example with "Dotnet-webgl-example
You can download DotNet-WebGL-Example and add in void Frame() add gl functions but It is really required with shaders ( Do not write without shader because OpenGLES and OpenGL are different.
OpenGL can write without shader and triangle, quad etc are white
OpenGLES can't see white shapes because they disappear / hide cause they require for shader.
Enjoy your C# programming with glfm
But i don't understand why does it happen with width and height measures in WASM....
The text was updated successfully, but these errors were encountered:
Hello everyone,
I don't expect everything because GLFM_Display is as pointer for C#
I have tried to add in WASM but why do width and height jhave only "0"?
I thought
glfmGetDisplayWidth
andglfmGetDisplayHeight
are implemented on EmscriptionAnd It doesn't throw errors. just shows only 0.
Write class outside of Program's class
iinside Program's class
static int Main(string[] args)
I recommend you example with "Dotnet-webgl-example
You can download DotNet-WebGL-Example and add in void Frame() add gl functions but It is really required with shaders ( Do not write without shader because OpenGLES and OpenGL are different.
OpenGL can write without shader and triangle, quad etc are white
OpenGLES can't see white shapes because they disappear / hide cause they require for shader.
Enjoy your C# programming with glfm
But i don't understand why does it happen with width and height measures in WASM....
The text was updated successfully, but these errors were encountered: