transform-feedback

command
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL