Garry's Mod Wiki

render.GetScreenEffectTexture

render.GetScreenEffectTexture

  ITexture render.GetScreenEffectTexture( number textureIndex = 0 )

Description

Obtain an ITexture of the screen. You must call render.UpdateScreenEffectTexture in order to update this texture with the currently rendered scene.

This texture is mainly used within GM:RenderScreenspaceEffects

Arguments

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

Returns

Example

Print the texture name of the returned textures.

Output:
_rt_fullframefb _rt_fullframefb1

Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 2
Generate Html 4
SaveChanges (1) 8
Render Body 0
Render Sidebar 10