Euphoria
id.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "render/gltypes.h"
4 
5 
6 namespace eu::render
7 {
8  struct Id
9  {
10  Id();
11  ~Id() = default;
12 
13  Id(const Id&) = delete;
14  Id(Id&&) = delete;
15  void operator=(const Id&) = delete;
16  void operator=(Id&&) = delete;
17 
18  // todo(Gustav): remove and make id public or remove class altogether
19  [[nodiscard]] gl::Uint get_id() const;
20 
21  protected:
22  // nolint regarding protected visibility
23  gl::Uint id; // NOLINT
24  };
25 }
unsigned int Uint
Definition: gltypes.h:6
gl::Uint get_id() const
Definition: id.cc:13
void operator=(Id &&)=delete
Id(Id &&)=delete
~Id()=default
void operator=(const Id &)=delete
gl::Uint id
Definition: id.h:23
Id(const Id &)=delete