Inherits GLObject.
Inherited by DefaultFrameBuffer, and UserFrameBuffer.
Public Member Functions | |
virtual void | create ()=0 |
virtual void | prime (std::shared_ptr< FrameBufferInterface > fb, std::function< void(HotFrameBuffer &)> func)=0 |
virtual void | attachColor (int index, const Tex2D &tex)=0 |
virtual void | attachDepth (const Tex2D &tex)=0 |
virtual void | attachDepthStencil (const Tex2D &tex)=0 |
virtual int | countAttachments ()=0 |
virtual void | clearColor (int index, Color32fA color)=0 |
virtual void | clearDepth (float val)=0 |
virtual void | clearDepthStencil (float depth, int stencil)=0 |
![]() | |
void | setServiceContext (config::ServiceContext cnt) |
template<typename Ex , LogLevel LL, typename... Ts> | |
Error Notice Debug void | logAndThrow (Ts...args) |
Static Protected Attributes | |
static bool | s_isPrimed = false |
![]() | |
static constexpr PrintGL | GLERR = PrintGL::Error |
Additional Inherited Members | |
![]() | |
template<typename... Ts> | |
void | checkGLError (Ts...) |
template<typename... Ts> | |
void | checkGLWarning (Ts...) |
template<typename... Ts> | |
void | logThrowGL (Ts...) |
![]() | |
template<typename... Ts> | |
void | logCritical (Ts...args) |
template<typename... Ts> | |
void | logError (Ts...args) |
template<typename... Ts> | |
void | logWarning (Ts...args) |
template<typename... Ts> | |
void | logNotice (Ts...args) |
template<typename... Ts> | |
void | log (Ts...args) |
template<typename... Ts> | |
void | logDebug (Ts...args) |
template<typename Ex , LogLevel LL = LogLevel::Error, typename... Ts> | |
void | logAndThrow (Ts...args) |
![]() | |
NotCopyable (const NotCopyable &)=delete | |
NotCopyable & | operator= (const NotCopyable &)=delete |