p0nce
p0nce
Would be cool to have completely different images for hovered and dragged though ^^
 This Renegate UIImageKnob is quite large already, at 76kb.
The annoying thing is how expensive it is in binary size. The most practical would be: Diffuse / Material / Emissive / Depth in RGBA16 PNG, but that is 200kb...
Possibly a .glb mesh addition would be useful (but that would require a rasterizer that can rasterize to depth also).
Binary size will be fixed once we integrate gamut, with its QOIX codec supporting 10-bit images.
Future ImageKnob format: One row with Diffuse Depth Material Emissive, all with transparency channel. One row with Diffuse Depth Material Emissive, all with transparency channel but not rotated, in order...
As described in the Dplug Tutorial, the new `gamut` library introduce a "QOIX" format that does 10-bit knobs efficiently
Gamut v1.0.0 minimally usable for loading images (though it will belikely be slower at first, because of conversions)
This is a good idea, we're also not at the point where we'll be able to do like DPF, it could took years. Let me explain. **Step1** We need to...
Example on-top of druntime's mutex ``` /// Initialize the mutex, if not existing already. /// This function can be called concurrently. void initialize() @trusted { // Is there a mutex...