Use.
GPU
– 0.12.0
Docs
Source
Git
Repo
search
/
·
Intro
expand_more
Guides
·
Getting started
·
WebGPU canvas
·
Drawing and animation
·
Scene geometry
·
2D and 3D plot
·
Data-driven geometry
·
Live vs React
·
Memoization
·
WGSL Shaders
·
Renderers and Passes
·
Layout and UI
·
Background
·
Roadmap
·
Contributing
Reference
chevron_right
Components
expand_more
Libraries
chevron_right
@use-gpu/
core
expand_more
@use-gpu/
glyph
east
glyphToRGBA
east
glyphToSDF
east
makeSDFStage
east
packString
east
packStrings
east
padRectangle
east
padRGBA
east
paintSubpixelOffsets
east
rgbaToGlyph
east
rgbaToSDF
east
RustText
east
sdfToGradient
east
solidifyAlpha
title
Font
title
FontGlyph
title
FontMetrics
title
FontProps
title
GlyphMetrics
title
Image
title
LazyFontSource
title
RustTextAPI
title
SDFStage
title
SpanMetrics
chevron_right
@use-gpu/
parse
chevron_right
@use-gpu/
shader
inventory_2
@use-gpu/
wgsl
chevron_right
Live/React
chevron_right
Loaders
chevron_right
Development
east
Function – packString
const
packString
:
(
s:
string
) =>
Uint16Array
Source
packages
/
glyph
/
src
/
api.ts
Sections
Source
menu
format_list_numbered