# fsRenderUpdateTexture The **fsRenderUpdateTexture** function updates part or all of a texture.   ##### Syntax ``` wasm int fsRenderUpdateTexture( FsContext ctx, int image, int x, int y, int w, int h, const unsigned char* data ) ```   ##### Members {{< table-wrapper >}} | 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`. | | {{< button "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. | {{< /table-wrapper >}}   ##### Return Values This function returns 1 if it is successful, or 0 if it failed.   ##### Remarks N/A