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
chevron_right
@use-gpu/glyph
expand_more
@use-gpu/parse
east
clampNumber
east
isTypedArray
east
makeParseArray
east
makeParseBasis
east
makeParseEnum
east
makeParseMap
east
makeParseMapOrValue
east
makeParseMat4
east
makeParseMultiMultiVectorArray
east
makeParseMultiScalarArray
east
makeParseMultiVectorArray
east
makeParseObject
east
makeParseScalarArray
east
makeParseScalarArrayLike
east
makeParseVec2
east
makeParseVec3
east
makeParseVec4
east
makeParseVectorArray
east
parseAxes
east
parseAxis
east
parseBlending
east
parseBoolean
east
parseBooleanArray
east
parseBooleanArrayLike
east
parseColor
east
parseColorArray
east
parseColorArrayLike
east
parseColorMultiArray
east
parseColorOpacity
east
parseDomain
east
parseInteger
east
parseIntegerArray
east
parseIntegerPositive
east
parseJoin
east
parseMatrix
east
parseMultiScalarArray
east
parseNumber
east
parseNumberLike
east
parseNumberPositive
east
parseNumberUnsigned
east
parseObject
east
parsePlacement
east
parsePointShape
east
parsePosition
east
parsePositionArray
east
parsePositionMultiArray
east
parsePositionMultiMultiArray
east
parseQuaternion
east
parseRange
east
parseRanges
east
parseRotation
east
parseScalarArray
east
parseScalarArrayLike
east
parseScale
east
parseSide
east
parseString
east
parseStringArray
east
parseStringFormatter
east
parseVec2
east
parseVec2Array
east
parseVec3
east
parseVec3Array
east
parseVec4
east
parseVec4Array
east
parseVec4MultiArray
east
parseWeight
east
sizeToChunkCounts
east
toChunkCounts
east
toMultiMultiVectorArray
east
toMultiScalarArray
east
toMultiVectorArray
east
toScalarArray
east
toVectorArray
east
toVertexCount
title
Domain
title
Join
title
Parser
title
Placement
title
PointShape
chevron_right
@use-gpu/shader
inventory_2
@use-gpu/wgsl
chevron_right
Live/React
chevron_right
Loaders
chevron_right
Development

inventory_2 @use-gpu/parse

npm install --save @use-gpu/parse
yarn add @use-gpu/parse

Docs: https://usegpu.live/docs/reference-live-@use-gpu-live

Use.GPU Parsing helpers

Contains parsers for 'common uncommon' types like vec3/vec4, colors, typed arrays, etc.

Colofon

Made by Steven Wittens. Part of @use-gpu.

menu
format_list_numbered