Skip to main content

Crate xgpui_shader

Crate xgpui_shader 

Source
Expand description

Experimental independent GPU content as normal styled GPUI elements.

Modules§

typography
Selectable kinetic typography with optional brush fills and glyph-only shadows. Selectable read-only text with paint-only typewriter, wave and scramble snapshots.

Structs§

Painted
A normal layout container with extension-owned background/border materials. Explicit materials override native background/border colors on this container. Material changes are supplied by rebuilding it; native hover refinements do not carry custom materials. Descendant interaction and parent clip/opacity are native.
PaintedElement
Retained element implementation for Painted; its fields are private.

Enums§

Paint
CPU-side paint source. Native paints keep their existing GPU representation.

Traits§

WindowPaintExt
Extension convenience methods; native GPUI paint methods keep their original API.

Functions§

painted
Create an opt-in extension paint container.
shader
Place a reusable producer in an extension-owned styled container.

Type Aliases§

Shader
Compatibility name for the original shader element.