|
| enum | Type {
Byte = GL_BYTE
, UnsignedByte = GL_UNSIGNED_BYTE
, Short = GL_SHORT
, UnsignedShort = GL_UNSIGNED_SHORT
,
Int = GL_INT
, UnsignedInt = GL_UNSIGNED_INT
, Float = GL_FLOAT
} |
| |
| using | Error = std::string |
| |
|
| std::expected< void, Subsystem::Error > | initialize () override |
| |
| std::expected< void, Subsystem::Error > | terminate () override |
| |
| std::string | name () override |
| |
| bool | is_initialized () override |
| |
|
| static const GLboolean | True = GL_TRUE |
| |
| static const GLboolean | False = GL_FALSE |
| |
| static const std::string | subsystem_name = "gl" |
| |
Definition at line 31 of file gl.hpp.
◆ Type
◆ _check_error()
| GLenum Gl::_check_error |
( |
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
static |
◆ clear()
◆ draw_arrays()
| void Gl::draw_arrays |
( |
GLenum |
mode, |
|
|
int |
first, |
|
|
int |
count |
|
) |
| |
|
static |
◆ draw_elements()
| void Gl::draw_elements |
( |
GLenum |
mode, |
|
|
int |
count, |
|
|
GLenum |
type, |
|
|
const void * |
indices |
|
) |
| |
|
static |
◆ get_bytes_per_channel()
| int Gl::get_bytes_per_channel |
( |
GLenum |
type | ) |
|
|
static |
◆ get_num_channels()
| int Gl::get_num_channels |
( |
GLenum |
color_format | ) |
|
|
static |
◆ initialize()
| std::expected< void, Subsystem::Error > Gl::initialize |
( |
| ) |
|
|
overridevirtual |
◆ instance()
◆ is_initialized()
| bool Gl::is_initialized |
( |
| ) |
|
|
overridevirtual |
◆ name()
◆ set_color()
| void Gl::set_color |
( |
const Color & |
color | ) |
|
|
static |
◆ set_poligon_mode()
| void Gl::set_poligon_mode |
( |
GLboolean |
enable | ) |
|
|
static |
◆ set_viewport()
| void Gl::set_viewport |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
◆ terminate()
| std::expected< void, Subsystem::Error > Gl::terminate |
( |
| ) |
|
|
overridevirtual |
◆ False
| const GLboolean Gl::False = GL_FALSE |
|
static |
◆ subsystem_name
| const std::string Gl::subsystem_name = "gl" |
|
static |
◆ True
| const GLboolean Gl::True = GL_TRUE |
|
static |
The documentation for this class was generated from the following files:
- include/brenta/renderer/opengl/gl.hpp
- src/renderer/opengl/gl.cpp