File shader_util.hpp
FileList > illixr > shader_util.hpp
Go to the source code of this file
#include "error_util.hpp"#include <GL/glew.h>#include <GL/gl.h>#include <cassert>#include <cstring>#include <spdlog/spdlog.h>#include <string>#include <vector>
Public Static Attributes
| Type | Name |
|---|---|
| constexpr std::size_t | GL_MAX_LOG_LENGTH = 4096U |
Public Static Functions
| Type | Name |
|---|---|
| GLuint | init_and_link (const char * vertex_shader, const char * fragment_shader) |
| void GLAPIENTRY | message_callback (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * message, const void * user_param) |
Macros
| Type | Name |
|---|---|
| define | SHADER_TYPE GLint |
Public Static Attributes Documentation
variable GL_MAX_LOG_LENGTH
constexpr std::size_t GL_MAX_LOG_LENGTH;
Public Static Functions Documentation
function init_and_link
static GLuint init_and_link (
const char * vertex_shader,
const char * fragment_shader
)
function message_callback
static void GLAPIENTRY message_callback (
GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const GLchar * message,
const void * user_param
)
Macro Definition Documentation
define SHADER_TYPE
#define SHADER_TYPE `GLint`
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/include/illixr/shader_util.hpp