Contents

module::debug::drawLine

Draws a debug line

Declaration

void module::debug::drawLine(float3 from, float3 to, half4 color)

Parameters

  • from:

    Start of line

  • to:

    End of line

  • color:

    Color of line

Discussion

Debug Lines are not enabled by default. You enable them in your editor or by setting LinkOptions/debugDraw to true when compiling your pipelines, and assigning a DebugLinesProvider to your ComputeGraphSimulation.