My Project
 
Loading...
Searching...
No Matches
graphics_engine::gl_wrappers Namespace Reference

Functions

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

Function Documentation

◆ AttachShader()

DLLEXPORT auto graphics_engine::gl_wrappers::AttachShader ( unsigned int  program,
unsigned int  shader 
) -> types::Expected< void >

◆ BindBuffer()

DLLEXPORT auto graphics_engine::gl_wrappers::BindBuffer ( gl_types::GLBufferTarget  target,
unsigned int  buffer 
) -> types::Expected< void >

◆ BindVertexArray()

DLLEXPORT auto graphics_engine::gl_wrappers::BindVertexArray ( unsigned int  array) -> types::Expected< void >

◆ BufferData()

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 >

◆ Clear()

DLLEXPORT auto graphics_engine::gl_wrappers::Clear ( const gl_clear_flags::IGLClearFlags flags) -> types::Expected< void >

◆ CompileShader()

DLLEXPORT auto graphics_engine::gl_wrappers::CompileShader ( unsigned int  shader) -> types::Expected< void >

◆ CreateProgram()

DLLEXPORT auto graphics_engine::gl_wrappers::CreateProgram ( ) -> types::Expected< unsigned int >

◆ CreateShader()

DLLEXPORT auto graphics_engine::gl_wrappers::CreateShader ( gl_types::GLShaderType  shader_type) -> types::Expected< unsigned int >

◆ DrawArrays()

DLLEXPORT auto graphics_engine::gl_wrappers::DrawArrays ( gl_types::GLDrawMode  mode,
int  first,
int  count 
) -> types::Expected< void >

◆ EnableVertexAttribArray()

DLLEXPORT auto graphics_engine::gl_wrappers::EnableVertexAttribArray ( unsigned int  index) -> types::Expected< void >

◆ GenBuffers()

DLLEXPORT auto graphics_engine::gl_wrappers::GenBuffers ( int  n,
unsigned int *  buffers 
) -> types::Expected< void >

◆ GenVertexArrays()

DLLEXPORT auto graphics_engine::gl_wrappers::GenVertexArrays ( int  n,
unsigned int *  arrays 
) -> types::Expected< void >

◆ GetShaderInfoLog()

DLLEXPORT auto graphics_engine::gl_wrappers::GetShaderInfoLog ( unsigned int  shader,
int  max_length,
int *  length,
char *  info_log 
) -> types::Expected< void >

◆ GetShaderiv()

DLLEXPORT auto graphics_engine::gl_wrappers::GetShaderiv ( unsigned int  shader,
gl_types::GLShaderObjectParameter  pname,
int *  params 
) -> types::Expected< void >

◆ LinkProgram()

DLLEXPORT auto graphics_engine::gl_wrappers::LinkProgram ( unsigned int  program) -> types::Expected< void >

◆ ShaderSource()

DLLEXPORT auto graphics_engine::gl_wrappers::ShaderSource ( unsigned int  shader,
int  count,
const char **  string,
const int *  length 
) -> types::Expected< void >

◆ UseProgram()

DLLEXPORT auto graphics_engine::gl_wrappers::UseProgram ( unsigned int  program) -> types::Expected< void >

◆ VertexAttribPointer()

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 >