It's not just a function, you need to do many things. The board itself has a render target. You can then draw any scaleform/texture to it.
You can look in the decompiled scripts of GTA V to figure out what scaleform it uses then you can decompile the scaleform yourself and try to see how it works. It's complicated so unless you know what you're doing I wouldn't recommend it.
https://wiki.rage.mp/index.php?title=Render_Targets