Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 282ms

DB GetPage 21
Generate Html 4
SaveChanges (1) 243
Render Body 0
Render Sidebar 12