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

libs/render/src/eu/render/uniform.cc
Line Branch Exec Source
1 #include "eu/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