YourGameLib
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | List of all members
yourgame::gl::Framebuffer Class Reference

#include <framebuffer.h>

Classes

struct  TextureAttachDescr
 

Public Member Functions

 ~Framebuffer ()
 
void bind ()
 
void unbindTarget ()
 
void resize (GLsizei width, GLsizei height)
 
yourgame::gl::TexturetextureAttachment (int idx)
 
 Framebuffer (Framebuffer const &)=delete
 
Framebufferoperator= (Framebuffer const &)=delete
 

Static Public Member Functions

static Framebuffermake (GLsizei width, GLsizei height, std::vector< TextureAttachDescr > texAttachDescrs)
 

Constructor & Destructor Documentation

◆ ~Framebuffer()

yourgame::gl::Framebuffer::~Framebuffer ( )

◆ Framebuffer()

yourgame::gl::Framebuffer::Framebuffer ( Framebuffer const &  )
delete

Member Function Documentation

◆ bind()

void yourgame::gl::Framebuffer::bind ( )

◆ make()

Framebuffer * yourgame::gl::Framebuffer::make ( GLsizei  width,
GLsizei  height,
std::vector< TextureAttachDescr texAttachDescrs 
)
static

◆ operator=()

Framebuffer & yourgame::gl::Framebuffer::operator= ( Framebuffer const &  )
delete

◆ resize()

void yourgame::gl::Framebuffer::resize ( GLsizei  width,
GLsizei  height 
)

◆ textureAttachment()

yourgame::gl::Texture * yourgame::gl::Framebuffer::textureAttachment ( int  idx)

◆ unbindTarget()

void yourgame::gl::Framebuffer::unbindTarget ( )

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