Documentation
¶
Overview ¶
Simplest GLES2 example: clear the framebuffer to a known color and verify.
Demonstrates:
- EGL offscreen context setup (pbuffer surface)
- Setting the clear color with ClearColor
- Clearing the color buffer with Clear
- Reading back pixels with ReadPixels to confirm the result
This is the "hello world" of OpenGL ES -- no shaders, no geometry, just proving that the GPU pipeline is alive by writing and reading a pixel.
Click to show internal directories.
Click to hide internal directories.