Midnight Graphics
Create Fast and Simple Graphics in C++
ObjectHandle.hpp
1 #pragma once
2 
3 #include <Def.hpp>
4 
5 namespace mn::Graphics
6 {
7  template<typename T>
8  struct ObjectHandle
9  {
10  ObjectHandle(Handle<T> h = nullptr) : handle(h) { }
11 
12  auto getHandle() const { return handle; }
13 
14  protected:
15  Handle<T> handle;
16  };
17 }
Definition: ObjectHandle.hpp:9
Definition: TypedHandle.hpp:9