-
-
Notifications
You must be signed in to change notification settings - Fork 18
surface_set_target
Vašek edited this page Jan 18, 2019
·
3 revisions
Sets the drawing target to a specific surface
surface_set_target(surface_id)
Argument | Description |
---|---|
RenderTarget2D surface_id |
The ID of the surface |
Returns: 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_set_target(surf);
This code will set all further drawing to the surface called surf
.
Back to surfaces