dplug.pbrwidgets.imageknob

A PBR knob with texture.

Members

Aliases

KnobImage
alias KnobImage = OwnedImage!RGBA

Type of image being used for Knob graphics. It used to be a one level deep Mipmap (ie. a flat image with sampling capabilities). It is now a regular OwnedImage since it is resized in reflow(). Use it an opaque type: its definition can change.

Classes

UIImageKnob
class UIImageKnob

UIKnob which replace the knob part by a rotated PBR image.

Functions

loadKnobImage
KnobImage loadKnobImage(void[] data)

Loads a knob image and rearrange channels to be fit to pass to UIImageKnob.

Meta