GCC Code Coverage Report


./
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
0 of 7, 0 excluded
0.0%
Functions:
0 of 2, 0 excluded
0.0%
Branches:
0 of 0, 0 excluded
-%

libs/render/src/render/uniform.cc
Line Branch Exec Source
1 #include "render/uniform.h"
2
3 namespace eu::render
4 {
5 Uniform::Uniform(std::string n, int l, unsigned int sp)
6 : name(std::move(n))
7 , location(l)
8 , debug_shader_program(sp)
9 {
10 }
11
12 bool Uniform::is_valid() const
13 {
14 return location >= 0;
15 }
16
17 }
18