texture_set_border - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the border color of the texture used when blending to non existant pixels. For instance if you have are rendering a billboard with a transparent cutout, this will change the color the pixels at the edges blend with.
- texid, index of the texture
- r, red color component
- g, blue color component
- b, green color component
- a, alpha color component
This function has no return values.
texture_set_border(tex, 255, 0, 0, 0.5);
Demonstrates setting the border color of a texture to half opaque pure red. NOTOC