set_from_rgb_data
Description:
[ Version ( deprecated = true , deprecated_since = "1.12" , since = "0.4" ) ]
public bool set_from_rgb_data (uint8[] data, bool has_alpha, int width, int height, int rowstride, int bpp, TextureFlags flags) throws Error
public bool set_from_rgb_data (uint8[] data, bool has_alpha, int width, int height, int rowstride, int bpp, TextureFlags flags) throws Error
Warning: set_from_rgb_data is deprecated since 1.12.
Sets Texture image data.
Parameters:
this |
a Texture |
data |
image data in RGBA type colorspace. |
has_alpha |
set to |
width |
width in pixels of image data. |
height |
height in pixels of image data |
rowstride |
distance in bytes between row starts. |
bpp |
bytes per pixel (currently only 3 and 4 supported, depending on the value of |
flags |
Returns:
|