-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.SetPixelColor
JoeStrout edited this page Apr 29, 2026
·
3 revisions
Set pixel color formatted into destination pointer
| Parameter | Default Value | Note |
|---|---|---|
| dstPtr | ||
| color | ||
| format |
None.
// Set the color of a raw pixel buffer
pixels = " " * 4 // 1 RGBA pixel placeholder
raylib.SetPixelColor pixels, raylib.RED, raylib.PIXELFORMAT_UNCOMPRESSED_R8G8B8A8