|
vgl 1.0.0
Virtual Globe Library: API reference
|
#include <vgl/gl.h>
Public Attributes | |
| uint32_t | struct_size |
| vgl_depth_convention | depth_convention |
| vgl_gl_get_proc_address_fn | get_proc_address |
| void * | get_proc_address_user_data |
Creation parameters of a backend. Zero-initialize, set struct_size, then fill in.
| uint32_t vgl_gl_backend_create_info::struct_size |
| vgl_depth_convention vgl_gl_backend_create_info::depth_convention |
How depth is written and compared (vgl/render.h). The default is logarithmic. The reversed-Z convention needs clip control: OpenGL 4.5, GL_ARB_clip_control or, on OpenGL ES, GL_EXT_clip_control.
| vgl_gl_get_proc_address_fn vgl_gl_backend_create_info::get_proc_address |
Required. Loads the OpenGL functions.
| void* vgl_gl_backend_create_info::get_proc_address_user_data |