ex 2.1
-
What is a Vertex shader responsible for and what is a fragment shader responsible for?
-
Which one of them is executed first?
-
What is an ‘attribute’ and what is a ‘uniform’?
-
On which thread the ‘onDraw’ is called?
-
You wrote some code in the ‘MyRenderer’ which activated a shader, but how did it end up getting the view? What is the relation between ‘MyGLSurfaceView’to ‘MyRenderer’. (Hint, ‘GLSurfaceView’ does a lot of work for you)