enesim  0.0.23.1
Drawinglibrary
Data Structures | Defines | Functions
OpenGL

OpenGL specific functions. More...

Data Structures

struct  Enesim_Buffer_OpenGL_Data

Defines

#define ENESIM_OPENGL_SHADER(k)   #k

Functions

EAPI Enesim_Poolenesim_pool_opengl_new (void)
EAPI Enesim_Bufferenesim_buffer_new_opengl_data_from (Enesim_Buffer_Format f, uint32_t w, uint32_t h, GLuint *texture, unsigned int num_textures)
EAPI Enesim_Surfaceenesim_surface_new_opengl_data_from (Enesim_Format f, uint32_t w, uint32_t h, GLuint texture)
EAPI const
Enesim_Buffer_OpenGL_Data
enesim_surface_opengl_data_get (Enesim_Surface *thiz)

Detailed Description

OpenGL specific functions.


Define Documentation

#define ENESIM_OPENGL_SHADER (   k)    #k

Helper macro to stringify a shader code


Function Documentation

Todo:
  • Create as many textures as we need to create the desired surface
 All Data Structures Variables