Debian Codegraph @

examples/lazarus/two_controls/README.md

raw symbols SCIP
1 # Two TCastleControl on one form
2
3 Simple demo that two TCastleControl instances within the same application work without problems, and share OpenGL resources.
4
5 We open the same model, with same textures, in both controls: the OpenGL texture resources will be shared between two controls.
6
7 Using [Castle Game Engine](https://castle-engine.io/).
8
9 ## Building
10
11 Compile by:
12
13 - [CGE editor](https://castle-engine.io/manual_editor.php). Just use menu item _"Compile"_.
14
15 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
16
17 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `two_controls_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/documentation.php).