This is the documentation for Enlighten.

class Enlighten RadDebugBucketSelectionTask

class Enlighten::RadDebugBucketSelectionTask

Structure describing an internal debugging task to colour output pixels according to debug data.

The task will add the appropriate colour values to the highlighted pixels only. For these pixels it sets alpha to 1. Any non-highlighted pixels will be left untouched, so this function assumes the texture has either been cleared to zero in advance, or has valid data which you want to overlay this highlight on top of. This is not expected to be required by end-users.

Variables

Name Description
const RadSystemCore * m_CoreSystem

Precompute data for system solved in this task. Required.

void * m_IrradianceOutput

Radiosity output.

const ILightTransportOutput * m_LtOutput

Precompute light transport output data for system solved in this task (optional).

Geo::u32 m_OutputFormat

Output format. This must be OUTPUT_FORMAT_FP16. This is the default.

Geo::s32 m_OutputStride

The stride of the output texture in pixels


.

Geo::v128 m_PixelColour

Colour of the selected pixel (defaults to green)

Geo::s32 m_PixelX

The pixel x coord to colourise. Must be a valid coord.

Geo::s32 m_PixelY

The pixel y coord to colourise. Must be a valid coord.

Geo::v128 m_PrecompBucketColour

Colour of the selected bucket (defaults to blue)

Geo::s32 m_PrecompBucketIndex

The precomp bucket to colourise. Can be negative for none.

Geo::v128 m_RuntimeBucketColour

Colour of the selected bucket (defaults to red)

Geo::s32 m_RuntimeBucketIndex

The runtime bucket to colourise. Can be negative for none.

Functions

Name Description
RadDebugBucketSelectionTask()

Default constructor.


Enlighten::RadDebugBucketSelectionTask::RadDebugBucketSelectionTask


public: RadDebugBucketSelectionTask()


Default constructor.