Crate vello_encoding

Source
Expand description

Raw scene encoding.

Re-exports§

pub use math::Transform;

Modules§

math

Structs§

BinHeader
Binning header.
BufferSize
Typed buffer size primitive.
BufferSizes
Computed sizes for all buffers.
BumpAllocatorMemory
BumpAllocators
Counters for tracking dynamic allocation on the GPU.
BumpEstimatorbump_estimate
Clip
Clip resolution.
ClipBbox
Clip bounding box.
ClipBic
Clip stack element.
ClipElement
Clip element.
ConfigUniform
Uniform render configuration data used by all GPU stages.
Cubic
Cubic path segment.
DrawBbox
Draw object bounding box.
DrawBeginClip
Draw data for a clip or layer.
DrawBlurRoundedRect
Draw data for a blurred rounded rectangle.
DrawColor
Draw data for a solid color.
DrawImage
Draw data for an image.
DrawLinearGradient
Draw data for a linear gradient.
DrawMonoid
Monoid for the draw tag stream.
DrawRadialGradient
Draw data for a radial gradient.
DrawSweepGradient
Draw data for a sweep gradient.
DrawTag
Draw tag representation.
Encoding
Encoded data streams for a scene.
Glyph
Positioned glyph.
GlyphRun
Properties for a sequence of glyphs in an encoding.
IndirectCount
Storage of indirect dispatch size values.
Layout
Layout of a packed encoding.
LineSoup
Line segment (after flattening, before tiling).
Path
Tiled path object.
PathBbox
Path bounding box.
PathEncoder
Encoder for path segments.
PathMonoid
Monoid for the path tag stream.
PathSegment
Path segment.
PathSegmentType
Path segment type.
PathTag
Path tag representation.
Ramps
Data and dimensions for a set of resolved gradient ramps.
RenderConfig
CPU side setup and configuration.
Resolver
Resolver for late bound resources.
Resources
Encoded data for late bound resources.
SegmentCount
Line segment (after flattening, before tiling).
StreamOffsets
Snapshot of offsets for encoded streams.
Style
Data structure encoding stroke or fill style.
Tile
Tile object.
WorkgroupCounts
Computed sizes for all dispatches.

Enums§

Patch
Patch for a late bound resource.

Constants§

DRAW_INFO_FLAGS_FILL_RULE_BIT
The first word of each draw info stream entry contains the flags.

Traits§

Monoid
Interface for a monoid. The default value must be the identity of the monoid.

Functions§

make_mask_lut
Make a lookup table of half-plane masks.
make_mask_lut_16
Make a lookup table of half-plane masks.
resolve_solid_paths_only
Resolves and packs an encoding that contains only paths with solid color fills.

Type Aliases§

NormalizedCoord
A normalized variation coordinate (for variable fonts) in 2.14 fixed point format.
WorkgroupSize
Type alias for a workgroup size.