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

MeltyPlayer / MeltyTool / 20982513833

14 Jan 2026 04:35AM UTC coverage: 41.138% (-0.8%) from 41.907%
20982513833

push

github

MeltyPlayer
Fixed broken shader source tests.

6752 of 18485 branches covered (36.53%)

Branch coverage included in aggregate %.

28650 of 67572 relevant lines covered (42.4%)

64006.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.33
/FinModelUtility/Fin/Fin/src/model/impl/material/StandardMaterialImpl.cs
1
using System.Collections.Generic;
2

3
namespace fin.model.impl;
4

5
public partial class ModelImpl<TVertex> {
6
  private partial class MaterialManagerImpl {
7
    public IStandardMaterial AddStandardMaterial() {
13✔
8
      var material = new StandardMaterialImpl {
13✔
9
          Index = this.materials_.Count
13✔
10
      };
13✔
11
      this.materials_.Add(material);
13✔
12
      return material;
13✔
13
    }
13✔
14
  }
15

16
  private class StandardMaterialImpl : BMaterialImpl, IStandardMaterial {
17
    public override IEnumerable<IReadOnlyTexture> Textures {
18
      get {
65✔
19
        if (this.DiffuseTexture != null) {
100✔
20
          yield return this.DiffuseTexture;
35✔
21
        }
35✔
22

23
        if (this.MaskTexture != null) {
65!
24
          yield return this.MaskTexture;
×
25
        }
×
26

27
        if (this.AmbientOcclusionTexture != null) {
70✔
28
          yield return this.AmbientOcclusionTexture;
5✔
29
        }
5✔
30

31
        if (this.NormalTexture != null) {
85✔
32
          yield return this.NormalTexture;
20✔
33
        }
20✔
34

35
        if (this.EmissiveTexture != null) {
75✔
36
          yield return this.EmissiveTexture;
10✔
37
        }
10✔
38

39
        if (this.SpecularTexture != null) {
85✔
40
          yield return this.SpecularTexture;
20✔
41
        }
20✔
42
      }
65✔
43
    }
44

45
    public IReadOnlyTexture? DiffuseTexture { get; set; }
138✔
46
    public IReadOnlyTexture? MaskTexture { get; set; }
65✔
47
    public IReadOnlyTexture? AmbientOcclusionTexture { get; set; }
93✔
48
    public IReadOnlyTexture? NormalTexture { get; set; }
116✔
49
    public IReadOnlyTexture? EmissiveTexture { get; set; }
99✔
50
    public IReadOnlyTexture? SpecularTexture { get; set; }
102✔
51
  }
52
}
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