fsRenderUpdateTexture

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
Parameters Description
ctx A value of type FsContext provided as an argument of the gauge callback.
image A handle to the texture to update, as returned by fsRenderCreateTexture.
x The x-coordinate of the top left corner of the region to update.
y The y-coordinate of the top left corner of the region to update.
w The width of the region to update.
h The height of the region to update.
data The updated data.

Return Values

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

 

Remarks

N/A

 

See Also