• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

djeedai / bevy_hanabi / 10416573129
66%

Build:
DEFAULT BRANCH: main
Ran 16 Aug 2024 07:54AM UTC
Jobs 1
Files 29
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Aug 2024 07:49AM UTC coverage: 59.11% (-0.8%) from 59.863%
10416573129

push

github

web-flow
Add support for texture sampling as expression (#367)

Add a new `TextureSampleExpr` to allow sampling a texture from an
expression. Make the `ParticleTextureModifier` use this. Change the
texture image to be hosted on a new `EffectMaterial` component, and add
`Module::add_texture()` to define a new texture slot (binding).

This is a primitive first version with several restrictions:
- Only color textures (those returning `vec4<f32>`), no depth.
- Only sampling via `textureSample()` in WGSL, no LOD or bias, no
  unsampled gather, _etc._
- No validation whatsoever about the coherence of the slots, the images
  on the material, and the expressions. If anything is inconsistent,
  this might produce runtime errors (fail to create shader) or simply
  render the wrong thing (no texture).

Fixes #355

52 of 204 new or added lines in 8 files covered. (25.49%)

3 existing lines in 2 files now uncovered.

3494 of 5911 relevant lines covered (59.11%)

23.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
63.93
-1.07% src/asset.rs
2
67.53
0.22% src/modifier/mod.rs
2
0.0
0.0% src/modifier/ribbon.rs
2
0.0
0.0% src/render/batch.rs
8
65.32
5.44% src/modifier/output.rs
12
76.35
-1.06% src/lib.rs
33
54.62
-3.18% src/graph/expr.rs
91
25.18
-1.35% src/render/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
65.32
5.44% src/modifier/output.rs
2
25.18
-1.35% src/render/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 10416573129.1 16 Aug 2024 07:54AM UTC 29
59.11
GitHub Action Run
Source Files on build 10416573129
  • Tree
  • List 29
  • Changed 9
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 62046366 on github
  • Prev Build on main (#10395668511)
  • Next Build on main (#10417155429)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc