Renderer.Blit
static void Blit(Tex toRendertarget, Material material)
Renders a Material onto a rendertarget texture! StereoKit uses a 4 vert quad stretched over the surface of the texture, and renders the material onto it to the texture.
Tex toRendertarget | A texture that’s been set up as a render target! |
Material material | This material is rendered onto the texture! Set it up like you would if you were applying it to a plane, or quad mesh. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!