Garry's Mod Wiki
render.Spin()
Description
Swaps the frame buffers/cycles the frame. In other words, this updates the screen.
If you take a really long time during a single frame render, it is a good idea to use this and let the user know that the game isn't stuck.
Example
Code from Super DOF; Push the current progress of rendering onto the screen and display a percentage of completion near the bottom right.
Output: 

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...