You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
3 revisions
Set pixel color formatted into destination pointer
Parameters
Parameter
Default Value
Note
dstPtr
color
format
Return value
None.
Notes
Example
// Set the color of a raw pixel bufferpixels=" "*4// 1 RGBA pixel placeholderraylib.SetPixelColorpixels, raylib.RED, raylib.PIXELFORMAT_UNCOMPRESSED_R8G8B8A8