UILevelDisplay

This widgets demonstrates how to: - do a custom widget - use dplug:canvas - use TimedFIFO for UI feedback with sub-buffer latency - render to both the Raw and PBR layer

Constructors

this
this(UIContext context)
Undocumented in source.

Members

Functions

mapValueDbY
float mapValueDbY(float dB)
Undocumented in source. Be warned that the author may not have intended to support it.
mapValueY
float mapValueY(float normalized)
Undocumented in source. Be warned that the author may not have intended to support it.
onAnimate
void onAnimate(double dt, double time)
Undocumented in source. Be warned that the author may not have intended to support it.
onDrawPBR
void onDrawPBR(ImageRef!RGBA diffuseMap, ImageRef!L16 depthMap, ImageRef!RGBA materialMap, box2i[] dirtyRects)
Undocumented in source. Be warned that the author may not have intended to support it.
onDrawRaw
void onDrawRaw(ImageRef!RGBA rawMap, box2i[] dirtyRects)
Undocumented in source. Be warned that the author may not have intended to support it.
reflow
void reflow()
Undocumented in source. Be warned that the author may not have intended to support it.
sendFeedbackToUI
void sendFeedbackToUI(float* measuredLevel_dB, int frames, float sampleRate)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

INPUT_SUBSAMPLING
enum INPUT_SUBSAMPLING;
Undocumented in source.
READ_OVERSAMPLING
enum READ_OVERSAMPLING;
Undocumented in source.
SAMPLES_IN_FIFO
enum SAMPLES_IN_FIFO;
Undocumented in source.

Variables

MAX_DISPLAYABLE_DB
enum int MAX_DISPLAYABLE_DB;
Undocumented in source.
MIN_DISPLAYABLE_DB
enum int MIN_DISPLAYABLE_DB;
Undocumented in source.

Meta