Garry's Mod Wiki

Garry's Mod Wiki

  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

1 ITexture
The requested texture.

Example

Print the texture name of the returned textures.

Output:
_rt_fullframefb _rt_fullframefb1

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...