| 1 | # Demo of drawing on GPU to TDrawableImage |
| 2 | |
| 3 | Demo of drawing on GPU to TDrawableImage, using TDrawableImage.RenderToImageBegin |
| 4 | and TDrawableImage.DrawFrom. |
| 5 | |
| 6 | Using [Castle Game Engine](https://castle-engine.io/). |
| 7 | |
| 8 | ## Building |
| 9 | |
| 10 | Compile by: |
| 11 | |
| 12 | - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_. |
| 13 | |
| 14 | - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory. |
| 15 | |
| 16 | - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `x3d_call_pascal_code_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus). |