Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::geode::GeometryDebugSink Class Referenceabstract

Optional debug observer for Slug draws that actually reach a GPU draw call. More...

#include "donner/svg/renderer/geode/GeoEncoder.h"

Public Member Functions

virtual void recordSlugDraw (const EncodedPath &encoded, const Transform2d &targetFromPath, const Transform2d &rootFromTarget, std::span< const float > instanceTransforms)=0

Detailed Description

Optional debug observer for Slug draws that actually reach a GPU draw call.

The observer is null in normal rendering. Implementations must copy any needed EncodedPath data before returning because an inline encode may be destroyed immediately after the submission call.


The documentation for this class was generated from the following file: