The fsRenderUpdateTexture function updates part or all of a texture.

 

Syntax
int fsRenderUpdateTexture(
    FsContext ctx,
    int image,
    int x,
    int y,
    int w,
    int h,
    const unsigned char* data
    )

 

Members
ParametersDescription
ctxA value of type FsContext provided as an argument of the gauge callback.
imageA handle to the texture to update, as returned by fsRenderCreateTexture.
XThe x-coordinate of the top left corner of the region to update.
yThe y-coordinate of the top left corner of the region to update.
wThe width of the region to update.
hThe height of the region to update.
dataThe updated data.

 

Return Values

This function returns 1 if it is successful, or 0 if it failed.

 

Remarks

N/A