Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
gl::buffer_t Class Reference

Public Member Functions

GLuint handle () const
const char * block () const
void update (const std::string_view &view, std::size_t offset=0)
void update (std::string_view *members, std::size_t count, std::size_t offset=0)

Static Public Member Functions

static buffer_t make (util::buffer_t< GLint > &&offsets, const char *block, const std::string_view &data)

Detailed Description

Definition at line 118 of file graphics.h.

Member Function Documentation

◆ block()

const char * gl::buffer_t::block ( ) const

Definition at line 143 of file graphics.cpp.

◆ handle()

GLuint gl::buffer_t::handle ( ) const

Definition at line 139 of file graphics.cpp.

◆ make()

buffer_t gl::buffer_t::make ( util::buffer_t< GLint > && offsets,
const char * block,
const std::string_view & data )
static

Definition at line 126 of file graphics.cpp.

◆ update() [1/2]

void gl::buffer_t::update ( const std::string_view & view,
std::size_t offset = 0 )

Definition at line 147 of file graphics.cpp.

◆ update() [2/2]

void gl::buffer_t::update ( std::string_view * members,
std::size_t count,
std::size_t offset = 0 )

Definition at line 152 of file graphics.cpp.


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