Garry's Mod Wiki

Revision Difference

render.CapturePixels#565782

<function name="CapturePixels" parent="render" type="libraryfunc"> <description><rendercontext hook="false" type="2D"></rendercontext> Dumps the current render target and allows the pixels to be accessed by <page>render.ReadPixel</page>. Capturing outside a render hook will return 0 0 0 255⤶ Capturing outside a render hook will return 0 0 0 255.⤶ </description> <realm>Client</realm> </function>