Garry's Mod Wiki

render.UpdateScreenEffectTexture

  render.UpdateScreenEffectTexture( number textureIndex = 0 )

Description

Copies the entire screen to the screen effect texture, which can be acquired via render.GetScreenEffectTexture. This function is mainly intended to be used in GM:RenderScreenspaceEffects

Arguments

1 number textureIndex = 0
Texture index to update. Max index is 3, but engine only creates the first two for you.