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

rewrite texture to use smart handles #10

Closed jfcameron closed 4 years ago

jfcameron commented 4 years ago

added move support. added texture parameter support etc. constructor now takes decoded image data rather than data encoded in PNG RGBA32. png rgba32 support moved to a static convenience function

jfcameron commented 4 years ago

added support for move semantics but not copy. copy is certainly possible but expensive and i doubt very useful. may change my mind later.