Garry's Mod Wiki

Revision Difference

render.ReadPixel#513090

<function name="ReadPixel" parent="render" type="libraryfunc">⤶ <description>Reads the color of the specified pixel from the RenderTarget sent by <page>render.CapturePixels</page></description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="x" type="number">The x coordinate.</arg>⤶ <arg name="y" type="number">The y coordinate.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">r</ret>⤶ <ret name="" type="number">g</ret>⤶ <ret name="" type="number">b</ret>⤶ </rets>⤶ </function>⤶ ⤶