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 Nov 16, 2026
·
4 revisions
Write a color, in the given pixel format (a PIXELFORMAT_* value), to the start of a RawData
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