jfcameron / gdk-graphics

3D Rendering using OpenGLES 2.0/WebGL1.0. Platforms: Linux, Windows, Mac, x86 64bit, arm64, wasm
MIT License
1 stars 1 forks source link

texture: update_data, update_region #33

Closed jfcameron closed 3 years ago

jfcameron commented 3 years ago

allow the user to upload new texture data. 2 cases: 1: entirely replace the buffer, 2: update a section of data. Could have applications in textures that contain rasterized glyphs which are replaced using LRU cache. could have applications in merging textures together so you only have to use 1 samples rather than 2 etc.

jfcameron commented 3 years ago

in progress on work/texture_update_data

jfcameron commented 3 years ago

ec24b979ff5ff975599efe670093acd2ac050753