Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/thoda-dev/du_render_script_library. A library to build renderscript in boards without writting it as a full string
···4040]]
41414242screen.setRenderScript(script)
4343-```4343+```
4444+4545+## Addition to the default render script
4646+4747+This library add some functions to the default render script:
4848+4949+### Third Party libraries support
5050+5151+`use(libraryName)`: Use a third party library in the renderscript
5252+- `libraryName`: `string` The name of the library to use, it will also be used as the variable name to access it in the renderScript
5353+5454+`useAtlas()`: Use the atlas library in the renderscript
5555+5656+`useJSON()`: Use the JSON (dkjson) library in the renderscript
5757+5858+`useRSLib()`: Use the RSLib library in the renderscript
5959+6060+### RenderScript utilities functions
6161+6262+`getMaxSize()`: Get the maximum size of the render script
6363+6464+`isTooLong()`: Check if the render script is too long
6565+6666+`sendToScreen(screen)`: Send the render script to a screen
6767+6868+### Others
6969+7070+`insertCodeLine(code)`: Insert a line of code in the render script