render.GetRenderTarget
From GMod Wiki
Function | |
Syntax |
render.GetRenderTarget( ) Where is this used? |
Description: | |
Returns the current render target being used. | |
Returns: | ITexture |
Part of Library: | render |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Render.GetRenderTarget]Render.GetRenderTarget [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This seems to be getting confused with GetRenderTarget (note the missing prefix of render.).
- There are more examples of using render.GetRenderTarget in lua/postprocess/bloom.lua, lua/postprocess/motion_blur.lua, and lua/postprocess/super_dof.lua