Function CE::Text::Rendering::prepare
Defined in File unicode-text.h
Function Documentation
-
Prepared CE::Text::Rendering::prepare(ShapedText layout, RasterOptions options = {})
Declaration:
[[nodiscard]]Consume/copy an owned shaping result and rasterize only its used visible grayscale outline glyphs on CPU.
Spaces/empty outlines keep advances without quads. Page extent outside4..4096, oversized/unsupported glyphs and invalid references reject; rasterization/allocation failures propagate. No provider is retained, so this may run on a worker.
See also
- Returns:
Complete immutable CPU preparation ready for upload().