CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc > Struct Template Referencefinal

#include <CeresEngine/RenderAPI/OpenGL/OpenGL.hpp>

Public Member Functions

template<typename... Args>
 GLObjectHandle (Args &&... args)
 
 ~GLObjectHandle ()
 
 GLObjectHandle (std::nullptr_t)
 
 GLObjectHandle (bool, const GLuint raw)
 
 GLObjectHandle (const GLObjectHandle &)=delete
 
GLObjectHandleoperator= (const GLObjectHandle &)=delete
 
 GLObjectHandle (GLObjectHandle &&) noexcept=default
 
GLObjectHandleoperator= (GLObjectHandle &&) noexcept=default
 
 operator GLuint () const
 

Public Attributes

GLuint raw
 

Constructor & Destructor Documentation

◆ GLObjectHandle() [1/5]

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
template<typename... Args>
CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::GLObjectHandle ( Args &&...  args)
inlineexplicit

◆ ~GLObjectHandle()

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::~GLObjectHandle ( )
inline

◆ GLObjectHandle() [2/5]

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::GLObjectHandle ( std::nullptr_t  )
inlineexplicit

◆ GLObjectHandle() [3/5]

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::GLObjectHandle ( bool  ,
const GLuint  raw 
)
inlineexplicit

◆ GLObjectHandle() [4/5]

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::GLObjectHandle ( const GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc > &  )
delete

◆ GLObjectHandle() [5/5]

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::GLObjectHandle ( GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc > &&  )
defaultnoexcept

Member Function Documentation

◆ operator GLuint()

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::operator GLuint ( ) const
inline

◆ operator=() [1/2]

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
GLObjectHandle & CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::operator= ( const GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc > &  )
delete

◆ operator=() [2/2]

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
GLObjectHandle & CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::operator= ( GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc > &&  )
defaultnoexcept

Member Data Documentation

◆ raw

template<auto Alloc, auto Dealloc, bool BatchAlloc = true, bool BatchDealloc = BatchAlloc>
GLuint CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >::raw

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