Garry's Mod Wiki

render.ReadPixel

Description

Reads the color of the specified pixel from the RenderTarget sent by render.CapturePixels

Arguments

1 number x
The x coordinate.
2 number y
The y coordinate.

Returns

1 number
r
2 number
g
3 number
b

Page Links


Special Pages


Wikis

?

Render Time: 26ms

Session 0
DB GetPage 4
Generate Html 2
SaveChanges 12
Render Body 0
Render Sidebar 6