Ylva And Malin
|
#include <ym_gfx_gl.h>
#include <ym_gfx_sprite.h>
#include <ym_allocator.h>
#include <stdio.h>
#include <errno.h>
Functions | |
ym_errc | ym_gfx_gl_init (ym_mem_reg_id region) |
ym_errc | ym_gfx_gl_create_shader (const char *file_path, GLenum type, GLuint *out_shader) |
ym_errc | ym_gfx_gl_create_program (GLuint *shaders, int shader_count, GLuint *out_program) |
ym_errc | ym_gfx_gl_create_texture (const char *file_path, GLenum texture_slot, GLuint *out_texture) |
ym_errc | ym_gfx_gl_get_uniform (GLuint program, const char *uniform_name, GLint *out_uniform) |
ym_errc ym_gfx_gl_create_shader | ( | const char * | file_path, |
GLenum | type, | ||
GLuint * | out_shader | ||
) |
ym_errc ym_gfx_gl_create_texture | ( | const char * | file_path, |
GLenum | texture_slot, | ||
GLuint * | out_texture | ||
) |
ym_errc ym_gfx_gl_get_uniform | ( | GLuint | program, |
const char * | uniform_name, | ||
GLint * | out_uniform | ||
) |
ym_errc ym_gfx_gl_init | ( | ym_mem_reg_id | region | ) |