My Project
 
Loading...
Searching...
No Matches
gl-wrappers.h File Reference
#include <bitset>
#include <memory>
#include "dll-export.h"
#include "gl-types.h"
#include "i-gl-clear-flags.h"
#include "types.h"

Go to the source code of this file.

Namespaces

namespace  graphics_engine
 
namespace  graphics_engine::gl_wrappers
 

Functions

DLLEXPORT auto graphics_engine::gl_wrappers::AttachShader (unsigned int program, unsigned int shader) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::BindBuffer (gl_types::GLBufferTarget target, unsigned int buffer) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::BindVertexArray (unsigned int array) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::BufferData (gl_types::GLBufferTarget target, long long int size, const void *data, gl_types::GLDataUsagePattern usage) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::Clear (const gl_clear_flags::IGLClearFlags &flags) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::CompileShader (unsigned int shader) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::CreateProgram () -> types::Expected< unsigned int >
 
DLLEXPORT auto graphics_engine::gl_wrappers::CreateShader (gl_types::GLShaderType shader_type) -> types::Expected< unsigned int >
 
DLLEXPORT auto graphics_engine::gl_wrappers::DrawArrays (gl_types::GLDrawMode mode, int first, int count) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::EnableVertexAttribArray (unsigned int index) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::GenBuffers (int n, unsigned int *buffers) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::GenVertexArrays (int n, unsigned int *arrays) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::GetShaderInfoLog (unsigned int shader, int max_length, int *length, char *info_log) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::GetShaderiv (unsigned int shader, gl_types::GLShaderObjectParameter pname, int *params) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::LinkProgram (unsigned int program) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::ShaderSource (unsigned int shader, int count, const char **string, const int *length) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::UseProgram (unsigned int program) -> types::Expected< void >
 
DLLEXPORT auto graphics_engine::gl_wrappers::VertexAttribPointer (unsigned int index, int size, gl_types::GLDataType type, unsigned char normalized, int stride, const void *pointer) -> types::Expected< void >