xgpui-shader 0.5.1

Shader and paint extension for xgpui with gradients, brushes, and portable WGSL shaders
Documentation
1
2
3
struct PaintInput { uv: vec2<f32>, position: vec2<f32>, size: vec2<f32> }
struct XgpuiGeometry { dimensions: vec4<f32> }
@group(0) @binding(0) var<uniform> xgpui_geometry: XgpuiGeometry;