-
Notifications
You must be signed in to change notification settings - Fork 0
Texture_set_border_ext
hugh greene edited this page Jun 20, 2022
·
1 revision
Sets the border color of the texture bound to first sampler stage 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.
Parameter | Data Type | Description |
---|---|---|
stage | int | index of the sampler stage to change |
r | integer | red color component |
g | integer | blue color component |
b | integer | green color component |
a | integer | alpha color component |
void: This function does not return anything.
// demonstrates setting the border color to half opaque pure red
texture_set_border_ext(0, 255, 0, 0, 0.5);
NOTOC
edited by hpg678 on Github