Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::geode::FilterImageTextureSource Class Referenceabstract

Caller-side resolution of the GPU raster an feImage primitive holds in filter_primitive::Image::imageTexture, for a renderer whose texture snapshot type this engine does not know. More...

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

Public Member Functions

virtual const gpu::Texture * imageTexture (const svg::components::filter_primitive::Image &primitive)=0
 The texture holding primitive's premultiplied raster on the engine's device, kept alive until the caller's frame submits, or null when it cannot be sampled there.

Detailed Description

Caller-side resolution of the GPU raster an feImage primitive holds in filter_primitive::Image::imageTexture, for a renderer whose texture snapshot type this engine does not know.

Member Function Documentation

◆ imageTexture()

virtual const gpu::Texture * donner::geode::FilterImageTextureSource::imageTexture ( const svg::components::filter_primitive::Image & primitive)
pure virtual

The texture holding primitive's premultiplied raster on the engine's device, kept alive until the caller's frame submits, or null when it cannot be sampled there.

Parameters
primitivePrimitive whose imageTexture is set.

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