AuburnSounds / gamut

Image encoding and decoding library for D. Detailed layout control. Experimental codec QOIX.
Boost Software License 1.0
41 stars 2 forks source link

[usability] image.createViewFromData confusing #73

Open p0nce opened 1 month ago

p0nce commented 1 month ago

People in a hurry believes it create its own buffer, and then copy existing data into it. (a bit like glTexImage2d actually). But it just reference the data.

p0nce commented 1 month ago
p0nce commented 1 month ago

It is now createView, while createFromData will own and copy that.