LibCarna Version 3.4.0
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
Framebuffer.hpp File Reference

Defines LibCarna::base::Framebuffer. More...

#include <LibCarna/LibCarna.hpp>
#include <LibCarna/base/noncopyable.hpp>
#include <LibCarna/base/math.hpp>
#include <stack>
#include <set>
+ Include dependency graph for Framebuffer.hpp:

Go to the source code of this file.

Classes

class  LibCarna::base::Framebuffer
 Maintains a framebuffer object that supports up to 8 color components simultaneously. More...
 
class  LibCarna::base::Framebuffer::MinimalBinding
 Maintains the binding of a Framebuffer in a RAII-manner. More...
 
class  LibCarna::base::Framebuffer::Binding
 Acts like MinimalBinding, but checks the bound framebuffer for validity and allows rendering. More...
 

Namespaces

namespace  LibCarna::base
 Contains the core framework components.
 

Macros

#define LIBCARNA_RENDER_TO_FRAMEBUFFER_EX(fbo, binding, instructions)
 Binds fbo using a binding named binding and performs instructions before revoking the binding.
 
#define LIBCARNA_RENDER_TO_FRAMEBUFFER(fbo, instructions)    LIBCARNA_RENDER_TO_FRAMEBUFFER_EX( fbo, fboBinding##__COUNTER__, instructions )
 

Detailed Description

Defines LibCarna::base::Framebuffer.

Definition in file Framebuffer.hpp.

Macro Definition Documentation

◆ LIBCARNA_RENDER_TO_FRAMEBUFFER

#define LIBCARNA_RENDER_TO_FRAMEBUFFER (   fbo,
  instructions 
)     LIBCARNA_RENDER_TO_FRAMEBUFFER_EX( fbo, fboBinding##__COUNTER__, instructions )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 318 of file Framebuffer.hpp.

◆ LIBCARNA_RENDER_TO_FRAMEBUFFER_EX

#define LIBCARNA_RENDER_TO_FRAMEBUFFER_EX (   fbo,
  binding,
  instructions 
)
Value:
{ \
instructions; \
}
Acts like MinimalBinding, but checks the bound framebuffer for validity and allows rendering.

Binds fbo using a binding named binding and performs instructions before revoking the binding.

Definition at line 304 of file Framebuffer.hpp.