Documentation
¶
Overview ¶
Transform feedback example using OpenGL ES 3.0.
Demonstrates the ES3-only transform feedback feature, which captures vertex shader outputs into a buffer object on the GPU. This enables GPU-side particle systems, physics simulations, and stream-out techniques without reading data back to the CPU.
The vertex shader takes input positions and applies a simple transformation (scaling + offset). The transformed positions are captured into a feedback buffer via TransformFeedbackVaryings. After the feedback pass the captured data is read back with MapBufferRange to verify correctness.
This program must run on an Android device with OpenGL ES 3.0 support.
Click to show internal directories.
Click to hide internal directories.