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
}
mn::Graphics::ObjectHandle
Definition:
ObjectHandle.hpp:9
mn::Utility::TypedHandle
Definition:
TypedHandle.hpp:9
include
midnight
Graphics
ObjectHandle.hpp
Generated by
1.9.1