![]() |
Skia
2D Graphics Library
|
Creates a new Runtime Effect patterned after an already-existing one. More...
#include <SkRuntimeEffect.h>
Public Attributes | |
| sk_sp< SkShader > | shader |
| sk_sp< SkSL::DebugTrace > | debugTrace |
Creates a new Runtime Effect patterned after an already-existing one.
The new shader behaves like the original, but also creates a debug trace of its execution at the requested coordinate. After painting with this shader, the associated DebugTrace object will contain a shader execution trace. Call writeTrace on the debug trace object to generate a full trace suitable for a debugger, or call dump to emit a human-readable trace.
Debug traces are only supported on a raster (non-GPU) canvas.
Debug traces are currently only supported on shaders. Color filter and blender tracing is a work-in-progress.
| sk_sp<SkSL::DebugTrace> SkRuntimeEffect::TracedShader::debugTrace |