background_set_alpha_from_background(ind,back,free_texture)
Jump to navigation
Jump to search
Description
Replaces the alpha channel of a background's pixel data using another background as the mask.
Parameters
Parameter | Data Type | Description |
---|---|---|
ind | integer | index of the background |
back | integer | index of the background used as a mask |
free_texture | boolean | whether or not to free the associated texture from memory, (optional) default is true |
Return Values
void: This function does not return anything.
Example Call
// Example of using the function.