Skip to main content

Module gpu

Module gpu 

Source
Expand description

GPU compute and rendering actors.

  • sdf — Signed Distance Function primitives, operations, transforms, materials, scene composition, and GPU ray march rendering.
  • scene_render — Rasterization renderer for mesh-based scenes.
  • font_atlas — Shared font atlas utilities (SDF glyph generation).
  • font_load — FontLoadActor (loads TTF/OTF from AssetDB).
  • glyph_atlas — GlyphAtlasActor (builds SDF glyph atlas).

Modules§

context
Process-global GPU context — shared wgpu Device + Queue.
font_atlas
Shared font atlas utilities — SDF glyph atlas generation from TTF/OTF.
font_load
Font load actor — loads TTF/OTF from file path, AssetDB, or inport.
glyph_atlas
Glyph atlas actor — builds SDF glyph atlas from font data.
post_process
scene_render
Scene Render Actor — rasterizes mesh-based scenes via wgpu.
sdf
sdf_2d
GPU 2D SDF renderer — renders 2D primitives via instanced SDF evaluation.
shader