How to draw a cube in OpenGL

We are using the Xamarin Cross platform project and would like to draw a cube with OpenGL.
Now the only working code I found so far is from https://docs.microsoft.com/en-us/dotnet/api/Xamarin.Forms.OpenGLView?view=xamarin-forms
The problem is that I can't find any code that draws a shape or anything like that, so I am kind of stuck.
For now we are only using Android. In the future we might also want to use IOS
Can anyone help me out?

Answers

Sign In or Register to comment.