Sets the drawing target to a specific surface
surface_set_target(surface_id)
RenderTarget2D
Returns: void
void
This function set all further drawing to the target surface. When u want to quit drawing to the current surface, use function surface_reset_target.
surface_reset_target
surface_set_target(surf);
This code will set all further drawing to the surface called surf.
surf
Back to surfaces
There was an error while loading. Please reload this page.