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

Public Member Functions

std::string err_str ()
void bind (const buffer_t &buffer)
std::optional< buffer_t > uniform (const char *block, std::pair< const char *, std::string_view > *members, std::size_t count)
GLuint handle () const

Static Public Member Functions

static util::Either< program_t, std::string > link (const shader_t &vert, const shader_t &frag)

Detailed Description

Definition at line 145 of file graphics.h.

Member Function Documentation

◆ bind()

void gl::program_t::bind ( const buffer_t & buffer)

Definition at line 205 of file graphics.cpp.

◆ err_str()

std::string gl::program_t::err_str ( )

Definition at line 164 of file graphics.cpp.

◆ handle()

GLuint gl::program_t::handle ( ) const

Definition at line 260 of file graphics.cpp.

◆ link()

util::Either< program_t, std::string > gl::program_t::link ( const shader_t & vert,
const shader_t & frag )
static

Definition at line 178 of file graphics.cpp.

◆ uniform()

std::optional< buffer_t > gl::program_t::uniform ( const char * block,
std::pair< const char *, std::string_view > * members,
std::size_t count )

Definition at line 212 of file graphics.cpp.


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