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

Public Member Functions

std::string err_str ()
GLuint handle () const

Static Public Member Functions

static util::Either< shader_t, std::string > compile (const std::string_view &source, GLenum type)

Detailed Description

Definition at line 100 of file graphics.h.

Member Function Documentation

◆ compile()

util::Either< shader_t, std::string > gl::shader_t::compile ( const std::string_view & source,
GLenum type )
static

Definition at line 102 of file graphics.cpp.

◆ err_str()

std::string gl::shader_t::err_str ( )

Definition at line 88 of file graphics.cpp.

◆ handle()

GLuint gl::shader_t::handle ( ) const

Definition at line 122 of file graphics.cpp.


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