LCOV - code coverage report
Current view: top level - packages/mask-editor/src/gpu - gpuSchema.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 2 2
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import * as d from 'typegpu/data'
       2              : 
       3              : // Global brush uniforms
       4           29 : export const BrushUniforms = d.struct({
       5              :   brushColor: d.vec3f,
       6              :   brushOpacity: d.f32,
       7              :   hardness: d.f32,
       8              :   screenSize: d.vec2f,
       9              :   brushShape: d.u32 // 0: Circle, 1: Square
      10              : })
      11              : 
      12              : // Per-point instance data
      13           29 : export const StrokePoint = d.struct({
      14              :   pos: d.location(0, d.vec2f), // Center position
      15              :   size: d.location(1, d.f32), // Brush radius
      16              :   pressure: d.location(2, d.f32) // Pressure value (0.0 - 1.0)
      17              : })
        

Generated by: LCOV version 2.0-1