Debian Codegraph @

examples/research_special_rendering_methods/transform_feedback/README.md

raw symbols SCIP
1 # Using OpenGL(ES) transform feedback
2
3 Demo of using `TGLSLProgram.SetTransformFeedbackVaryings`.
4
5 This allows to store the data computed by the vertex shader in VBO, and use it for subsequent rendering. Thus GPU can be used to *update* a piece of data, each frame, and the data can remain on GPU.
6
7 See https://open.gl/feedback , https://www.khronos.org/opengl/wiki/Transform_Feedback .
8
9 This can, and is, used to implement particle systems: see https://castle-engine.io/additional_components.php , https://github.com/Kagamma/cge-3d-particle-emitter .
10
11 Using [Castle Game Engine](https://castle-engine.io/).
12
13 ## Building
14
15 Compile by:
16
17 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
18
19 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
20
21 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `cars_demo_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).