nngn
Loading...
Searching...
No Matches
nngn::OpenGLHandle< T > Class Template Reference

#include <handle.h>

Public Member Functions

constexpr OpenGLHandle ()=default
 
constexpr OpenGLHandle (u32 h) noexcept
 
 OpenGLHandle (const OpenGLHandle &)=delete
 
 OpenGLHandle (OpenGLHandle &&lhs) noexcept
 
OpenGLHandleoperator= (const OpenGLHandle &)=delete
 
OpenGLHandleoperator= (OpenGLHandle &&lhs) noexcept
 
 ~OpenGLHandle ()
 
u32 id () const
 
u32id ()
 

Private Attributes

u32 m_h = 0
 

Constructor & Destructor Documentation

◆ OpenGLHandle() [1/4]

template<typename T >
nngn::OpenGLHandle< T >::OpenGLHandle ( )
constexprdefault

◆ OpenGLHandle() [2/4]

template<typename T >
nngn::OpenGLHandle< T >::OpenGLHandle ( u32 h)
inlineexplicitconstexprnoexcept

◆ OpenGLHandle() [3/4]

template<typename T >
nngn::OpenGLHandle< T >::OpenGLHandle ( const OpenGLHandle< T > & )
delete

◆ OpenGLHandle() [4/4]

template<typename T >
nngn::OpenGLHandle< T >::OpenGLHandle ( OpenGLHandle< T > && lhs)
inlinenoexcept

◆ ~OpenGLHandle()

template<typename T >
nngn::OpenGLHandle< T >::~OpenGLHandle ( )
inline

Member Function Documentation

◆ id() [1/2]

template<typename T >
u32 & nngn::OpenGLHandle< T >::id ( )
inline

◆ id() [2/2]

template<typename T >
u32 nngn::OpenGLHandle< T >::id ( ) const
inline
Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename T >
OpenGLHandle & nngn::OpenGLHandle< T >::operator= ( const OpenGLHandle< T > & )
delete

◆ operator=() [2/2]

template<typename T >
OpenGLHandle & nngn::OpenGLHandle< T >::operator= ( OpenGLHandle< T > && lhs)
inlinenoexcept

Member Data Documentation

◆ m_h

template<typename T >
u32 nngn::OpenGLHandle< T >::m_h = 0
private

The documentation for this class was generated from the following file: