Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
gl::frame_buf_t Class Reference
Inheritance diagram for gl::frame_buf_t:
[legend]
Collaboration diagram for gl::frame_buf_t:
[legend]

Public Member Functions

 frame_buf_t (frame_buf_t &&)=default
frame_buf_t & operator= (frame_buf_t &&)=default
void bind (std::nullptr_t, std::nullptr_t)
template<class It>
void bind (It it_begin, It it_end)
void copy (int id, int texture, int offset_x, int offset_y, int width, int height)
Public Member Functions inherited from util::buffer_t< GLuint >
buffer_t & operator= (buffer_t &&o) noexcept
GLuint & operator[] (size_t el)
size_t size () const
void fake_resize (std::size_t els)
GLuint * begin ()
GLuint * end ()

Static Public Member Functions

static frame_buf_t make (std::size_t count)

Detailed Description

Definition at line 53 of file graphics.h.

Constructor & Destructor Documentation

◆ ~frame_buf_t()

gl::frame_buf_t::~frame_buf_t ( )

Definition at line 67 of file graphics.cpp.

Member Function Documentation

◆ bind() [1/2]

template<class It>
void gl::frame_buf_t::bind ( It it_begin,
It it_end )
inline

Definition at line 76 of file graphics.h.

◆ bind() [2/2]

void gl::frame_buf_t::bind ( std::nullptr_t ,
std::nullptr_t  )
inline

Definition at line 64 of file graphics.h.

◆ copy()

void gl::frame_buf_t::copy ( int id,
int texture,
int offset_x,
int offset_y,
int width,
int height )

Copies a part of the framebuffer to texture

Definition at line 81 of file graphics.cpp.

◆ make()

frame_buf_t gl::frame_buf_t::make ( std::size_t count)
static

Definition at line 73 of file graphics.cpp.


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