SetRuntimeTexturePixel — FiveM Natives
0xAB65ACEE · CFX · client
Sets a pixel in the specified runtime texture. This will have to be committed using COMMIT_RUNTIME_TEXTURE to have any effect.
Parameters
| Name | Type | Description |
|---|---|---|
| tex | long | A handle to the runtime texture. |
| x | int | The X position of the pixel to change. |
| y | int | The Y position of the pixel to change. |
| r | int | The new R value (0-255). |
| g | int | The new G value (0-255). |
| b | int | The new B value (0-255). |
| a | int | The new A value (0-255). |
Returns
void