cf_texture_update¶
Category: graphics
GitHub: cute_graphics.h
Updates the contents of a CF_Texture.
| Parameters | Description |
|---|---|
| texture | The texture. |
| data | The data to upload to the texture. |
| size | The size in bytes of data. |
Remarks¶
If you plan to frequently update the texture once per frame, it's recommended to set stream to
true in the creation params CF_TextureParams.
Related Pages¶
CF_TextureParams
CF_Texture
cf_make_texture
cf_destroy_texture
cf_generate_mipmaps
cf_texture_update_mip