Skip to content

XRayConfig ​

cpp
#include <Components/Agnus/XRay/XRayTypes.h>
cpp
struct XRayConfig

Defined in Components/Agnus/XRay/XRayTypes.h:193

Configuration options of the X-Ray visualizer.

Public Attributes ​

ReturnNameDescription
XRayModemodeX-Ray mode (off, DMA debugger, layer inspector).
booloverlayIf true, the visualization is blended into the displayed picture. If false, it is only computed into the dedicated DMA debug texture (see PixelEngine::xrayTexture), leaving the real picture untouched.
boolvisualizeIndividual enable switch for each DMA channel.
u32debugColorColor palette.
XRayCompositorcompositorWho merges the xray texture into the picture (if overlay is enabled).
DmaDisplayModedisplayModeDisplay mode.
isizeopacityOpacity.

mode ​

cpp
XRayMode mode

Type: XRayMode

Defined in Components/Agnus/XRay/XRayTypes.h:196

X-Ray mode (off, DMA debugger, layer inspector).


overlay ​

cpp
bool overlay

Defined in Components/Agnus/XRay/XRayTypes.h:201

If true, the visualization is blended into the displayed picture. If false, it is only computed into the dedicated DMA debug texture (see PixelEngine::xrayTexture), leaving the real picture untouched.


visualize ​

cpp
bool visualize[isize(DmaChannel::COUNT)]

Defined in Components/Agnus/XRay/XRayTypes.h:204

Individual enable switch for each DMA channel.


debugColor ​

cpp
u32 debugColor[XRAY_COLOR_COUNT]

Defined in Components/Agnus/XRay/XRayTypes.h:207

Color palette.


compositor ​

cpp
XRayCompositor compositor

Type: XRayCompositor

Defined in Components/Agnus/XRay/XRayTypes.h:210

Who merges the xray texture into the picture (if overlay is enabled).


displayMode ​

cpp
DmaDisplayMode displayMode

Type: DmaDisplayMode

Defined in Components/Agnus/XRay/XRayTypes.h:213

Display mode.


opacity ​

cpp
isize opacity

Defined in Components/Agnus/XRay/XRayTypes.h:216

Opacity.