# GlInterface

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-opengl/struct-glinterface/

**struct** · [`ferroui-opengl`](/docs/0.5.0/api/ferroui-opengl/) · v0.5.0

```rust
struct GlInterface
```

GlInterface only includes essential members and members necessary for the
framework itself. It is not a general-purpose interface for OpenGL API.

Use `GlInterface::get_proc_address` to get GL procedures you need, or
integrate it with third-party GL wrappers.

The members of `GlBasicInfoInterface` are available on the interface
too.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L65)

## Members

- [`clear_stencil`](#function-clear_stencil)
- [`clear_color`](#function-clear_color)
- [`depth_func`](#function-depth_func)
- [`depth_mask`](#function-depth_mask)
- [`clear`](#function-clear)
- [`viewport`](#function-viewport)
- [`flush`](#function-flush)
- [`finish`](#function-finish)
- [`fence_sync`](#function-fence_sync)
- [`is_fence_sync_available`](#function-is_fence_sync_available)
- [`client_wait_sync`](#function-client_wait_sync)
- [`is_client_wait_sync_available`](#function-is_client_wait_sync_available)
- [`delete_sync`](#function-delete_sync)
- [`is_delete_sync_available`](#function-is_delete_sync_available)
- [`read_pixels`](#function-read_pixels)
- [`gen_framebuffers`](#function-gen_framebuffers)
- [`delete_framebuffers`](#function-delete_framebuffers)
- [`bind_framebuffer`](#function-bind_framebuffer)
- [`check_framebuffer_status`](#function-check_framebuffer_status)
- [`blit_framebuffer`](#function-blit_framebuffer)
- [`is_blit_framebuffer_available`](#function-is_blit_framebuffer_available)
- [`gen_renderbuffers`](#function-gen_renderbuffers)
- [`delete_renderbuffers`](#function-delete_renderbuffers)
- [`bind_renderbuffer`](#function-bind_renderbuffer)
- [`renderbuffer_storage`](#function-renderbuffer_storage)
- [`framebuffer_renderbuffer`](#function-framebuffer_renderbuffer)
- [`gen_textures`](#function-gen_textures)
- [`bind_texture`](#function-bind_texture)
- [`active_texture`](#function-active_texture)
- [`delete_textures`](#function-delete_textures)
- [`tex_image_2d`](#function-tex_image_2d)
- [`copy_tex_sub_image_2d`](#function-copy_tex_sub_image_2d)
- [`tex_parameteri`](#function-tex_parameteri)
- [`tex_sub_image_2d`](#function-tex_sub_image_2d)
- [`is_tex_sub_image_2d_available`](#function-is_tex_sub_image_2d_available)
- [`pixel_storei`](#function-pixel_storei)
- [`is_pixel_storei_available`](#function-is_pixel_storei_available)
- [`framebuffer_texture_2d`](#function-framebuffer_texture_2d)
- [`create_shader`](#function-create_shader)
- [`shader_source`](#function-shader_source)
- [`compile_shader`](#function-compile_shader)
- [`get_shaderiv`](#function-get_shaderiv)
- [`get_shader_info_log`](#function-get_shader_info_log)
- [`create_program`](#function-create_program)
- [`attach_shader`](#function-attach_shader)
- [`link_program`](#function-link_program)
- [`get_programiv`](#function-get_programiv)
- [`get_program_info_log`](#function-get_program_info_log)
- [`bind_attrib_location`](#function-bind_attrib_location)
- [`gen_buffers`](#function-gen_buffers)
- [`bind_buffer`](#function-bind_buffer)
- [`buffer_data`](#function-buffer_data)
- [`get_attrib_location`](#function-get_attrib_location)
- [`vertex_attrib_pointer`](#function-vertex_attrib_pointer)
- [`enable_vertex_attrib_array`](#function-enable_vertex_attrib_array)
- [`use_program`](#function-use_program)
- [`draw_arrays`](#function-draw_arrays)
- [`draw_elements`](#function-draw_elements)
- [`get_uniform_location`](#function-get_uniform_location)
- [`uniform1f`](#function-uniform1f)
- [`uniform1i`](#function-uniform1i)
- [`uniform_matrix4fv`](#function-uniform_matrix4fv)
- [`enable`](#function-enable)
- [`disable`](#function-disable)
- [`delete_buffers`](#function-delete_buffers)
- [`delete_program`](#function-delete_program)
- [`delete_shader`](#function-delete_shader)
- [`get_renderbuffer_parameteriv_native`](#function-get_renderbuffer_parameteriv_native)
- [`delete_vertex_arrays`](#function-delete_vertex_arrays)
- [`is_delete_vertex_arrays_available`](#function-is_delete_vertex_arrays_available)
- [`bind_vertex_array`](#function-bind_vertex_array)
- [`is_bind_vertex_array_available`](#function-is_bind_vertex_array_available)
- [`gen_vertex_arrays`](#function-gen_vertex_arrays)
- [`is_gen_vertex_arrays_available`](#function-is_gen_vertex_arrays_available)
- [`read_buffer`](#function-read_buffer)
- [`is_read_buffer_available`](#function-is_read_buffer_available)
- [`draw_buffer`](#function-draw_buffer)
- [`is_draw_buffer_available`](#function-is_draw_buffer_available)
- [`write_buffer`](#function-write_buffer)
- [`is_write_buffer_available`](#function-is_write_buffer_available)
- [`egl_image_target_texture_2d_oes`](#function-egl_image_target_texture_2d_oes)
- [`is_egl_image_target_texture_2d_oes_available`](#function-is_egl_image_target_texture_2d_oes_available)
- [`new`](#function-new)
- [`version`](#function-version)
- [`vendor`](#function-vendor)
- [`renderer`](#function-renderer)
- [`context_info`](#function-context_info)
- [`get_proc_address`](#function-get_proc_address)
- [`clear_depth`](#function-clear_depth)
- [`gen_framebuffer`](#function-gen_framebuffer)
- [`delete_framebuffer`](#function-delete_framebuffer)
- [`gen_renderbuffer`](#function-gen_renderbuffer)
- [`delete_renderbuffer`](#function-delete_renderbuffer)
- [`gen_texture`](#function-gen_texture)
- [`delete_texture`](#function-delete_texture)
- [`shader_source_string`](#function-shader_source_string)
- [`compile_shader_and_get_error`](#function-compile_shader_and_get_error)
- [`link_program_and_get_error`](#function-link_program_and_get_error)
- [`bind_attrib_location_string`](#function-bind_attrib_location_string)
- [`gen_buffer`](#function-gen_buffer)
- [`get_attrib_location_string`](#function-get_attrib_location_string)
- [`get_uniform_location_string`](#function-get_uniform_location_string)
- [`delete_buffer`](#function-delete_buffer)
- [`get_renderbuffer_parameteriv`](#function-get_renderbuffer_parameteriv)
- [`delete_vertex_array`](#function-delete_vertex_array)
- [`gen_vertex_array`](#function-gen_vertex_array)
- [`from_native_utf8_get_proc_address`](#function-from_native_utf8_get_proc_address)

<a id="function-clear_stencil"></a>

### clear_stencil

```rust
fn clear_stencil(self: &Self, s: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-clear_color"></a>

### clear_color

```rust
fn clear_color(self: &Self, r: f32, g: f32, b: f32, a: f32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-depth_func"></a>

### depth_func

```rust
fn depth_func(self: &Self, value: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-depth_mask"></a>

### depth_mask

```rust
fn depth_mask(self: &Self, value: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-clear"></a>

### clear

```rust
fn clear(self: &Self, bits: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-viewport"></a>

### viewport

```rust
fn viewport(self: &Self, x: i32, y: i32, width: i32, height: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-flush"></a>

### flush

```rust
fn flush(self: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-finish"></a>

### finish

```rust
fn finish(self: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-fence_sync"></a>

### fence_sync

```rust
fn fence_sync(self: &Self, condition: u32, flags: u32) -> isize
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_fence_sync_available"></a>

### is_fence_sync_available

```rust
fn is_fence_sync_available(self: &Self) -> bool
```

Whether the context has the entry point behind `fence_sync`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-client_wait_sync"></a>

### client_wait_sync

```rust
fn client_wait_sync(self: &Self, sync: isize, flags: u32, timeout: u64) -> u32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_client_wait_sync_available"></a>

### is_client_wait_sync_available

```rust
fn is_client_wait_sync_available(self: &Self) -> bool
```

Whether the context has the entry point behind `client_wait_sync`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-delete_sync"></a>

### delete_sync

```rust
fn delete_sync(self: &Self, sync: isize)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_delete_sync_available"></a>

### is_delete_sync_available

```rust
fn is_delete_sync_available(self: &Self) -> bool
```

Whether the context has the entry point behind `delete_sync`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-read_pixels"></a>

### read_pixels

```rust
unsafe fn read_pixels(self: &Self, x: i32, y: i32, width: i32, height: i32, format: i32, type_: i32, data: *mut c_void)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-gen_framebuffers"></a>

### gen_framebuffers

```rust
unsafe fn gen_framebuffers(self: &Self, count: i32, res: *mut i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-delete_framebuffers"></a>

### delete_framebuffers

```rust
unsafe fn delete_framebuffers(self: &Self, count: i32, framebuffers: *const i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-bind_framebuffer"></a>

### bind_framebuffer

```rust
fn bind_framebuffer(self: &Self, target: i32, fb: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-check_framebuffer_status"></a>

### check_framebuffer_status

```rust
fn check_framebuffer_status(self: &Self, target: i32) -> i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-blit_framebuffer"></a>

### blit_framebuffer

```rust
fn blit_framebuffer(self: &Self, src_x0: i32, src_y0: i32, src_x1: i32, src_y1: i32, dst_x0: i32, dst_y0: i32, dst_x1: i32, dst_y1: i32, mask: i32, filter: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_blit_framebuffer_available"></a>

### is_blit_framebuffer_available

```rust
fn is_blit_framebuffer_available(self: &Self) -> bool
```

Whether the context has the entry point behind `blit_framebuffer`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-gen_renderbuffers"></a>

### gen_renderbuffers

```rust
unsafe fn gen_renderbuffers(self: &Self, count: i32, res: *mut i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-delete_renderbuffers"></a>

### delete_renderbuffers

```rust
unsafe fn delete_renderbuffers(self: &Self, count: i32, renderbuffers: *const i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-bind_renderbuffer"></a>

### bind_renderbuffer

```rust
fn bind_renderbuffer(self: &Self, target: i32, fb: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-renderbuffer_storage"></a>

### renderbuffer_storage

```rust
fn renderbuffer_storage(self: &Self, target: i32, internal_format: i32, width: i32, height: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-framebuffer_renderbuffer"></a>

### framebuffer_renderbuffer

```rust
fn framebuffer_renderbuffer(self: &Self, target: i32, attachment: i32, renderbuffer_target: i32, renderbuffer: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-gen_textures"></a>

### gen_textures

```rust
unsafe fn gen_textures(self: &Self, count: i32, res: *mut i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-bind_texture"></a>

### bind_texture

```rust
fn bind_texture(self: &Self, target: i32, fb: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-active_texture"></a>

### active_texture

```rust
fn active_texture(self: &Self, texture: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-delete_textures"></a>

### delete_textures

```rust
unsafe fn delete_textures(self: &Self, count: i32, textures: *const i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-tex_image_2d"></a>

### tex_image_2d

```rust
unsafe fn tex_image_2d(self: &Self, target: i32, level: i32, internal_format: i32, width: i32, height: i32, border: i32, format: i32, type_: i32, data: *const c_void)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-copy_tex_sub_image_2d"></a>

### copy_tex_sub_image_2d

```rust
fn copy_tex_sub_image_2d(self: &Self, target: i32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-tex_parameteri"></a>

### tex_parameteri

```rust
fn tex_parameteri(self: &Self, target: i32, name: i32, value: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-tex_sub_image_2d"></a>

### tex_sub_image_2d

```rust
unsafe fn tex_sub_image_2d(self: &Self, target: i32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: i32, type_: i32, data: *const c_void)
```

 Not from the reference: the upload of a part of a texture, for a
 render backend that presents frames it draws in memory through the
 context (the Vello backend, docs/porting/vello-backend.md, section 14).
## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_tex_sub_image_2d_available"></a>

### is_tex_sub_image_2d_available

```rust
fn is_tex_sub_image_2d_available(self: &Self) -> bool
```

Whether the context has the entry point behind `tex_sub_image_2d`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-pixel_storei"></a>

### pixel_storei

```rust
fn pixel_storei(self: &Self, name: i32, value: i32)
```

Not from the reference, with `tex_sub_image_2d`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_pixel_storei_available"></a>

### is_pixel_storei_available

```rust
fn is_pixel_storei_available(self: &Self) -> bool
```

Whether the context has the entry point behind `pixel_storei`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-framebuffer_texture_2d"></a>

### framebuffer_texture_2d

```rust
fn framebuffer_texture_2d(self: &Self, target: i32, attachment: i32, tex_target: i32, texture: i32, level: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-create_shader"></a>

### create_shader

```rust
fn create_shader(self: &Self, shader_type: i32) -> i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-shader_source"></a>

### shader_source

```rust
unsafe fn shader_source(self: &Self, shader: i32, count: i32, strings: *const *const c_char, lengths: *const i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-compile_shader"></a>

### compile_shader

```rust
fn compile_shader(self: &Self, shader: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-get_shaderiv"></a>

### get_shaderiv

```rust
unsafe fn get_shaderiv(self: &Self, shader: i32, name: i32, parameters: *mut i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-get_shader_info_log"></a>

### get_shader_info_log

```rust
unsafe fn get_shader_info_log(self: &Self, shader: i32, max_length: i32, length: *mut i32, info_log: *mut c_void)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-create_program"></a>

### create_program

```rust
fn create_program(self: &Self) -> i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-attach_shader"></a>

### attach_shader

```rust
fn attach_shader(self: &Self, program: i32, shader: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-link_program"></a>

### link_program

```rust
fn link_program(self: &Self, program: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-get_programiv"></a>

### get_programiv

```rust
unsafe fn get_programiv(self: &Self, program: i32, name: i32, parameters: *mut i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-get_program_info_log"></a>

### get_program_info_log

```rust
unsafe fn get_program_info_log(self: &Self, program: i32, max_length: i32, len: *mut i32, info_log: *mut c_void)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-bind_attrib_location"></a>

### bind_attrib_location

```rust
unsafe fn bind_attrib_location(self: &Self, program: i32, index: i32, name: *const c_char)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-gen_buffers"></a>

### gen_buffers

```rust
unsafe fn gen_buffers(self: &Self, len: i32, rv: *mut i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-bind_buffer"></a>

### bind_buffer

```rust
fn bind_buffer(self: &Self, target: i32, buffer: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-buffer_data"></a>

### buffer_data

```rust
unsafe fn buffer_data(self: &Self, target: i32, size: isize, data: *const c_void, usage: i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-get_attrib_location"></a>

### get_attrib_location

```rust
unsafe fn get_attrib_location(self: &Self, program: i32, name: *const c_char) -> i32
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-vertex_attrib_pointer"></a>

### vertex_attrib_pointer

```rust
unsafe fn vertex_attrib_pointer(self: &Self, index: i32, size: i32, type_: i32, normalized: i32, stride: i32, pointer: *const c_void)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-enable_vertex_attrib_array"></a>

### enable_vertex_attrib_array

```rust
fn enable_vertex_attrib_array(self: &Self, index: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-use_program"></a>

### use_program

```rust
fn use_program(self: &Self, program: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-draw_arrays"></a>

### draw_arrays

```rust
unsafe fn draw_arrays(self: &Self, mode: i32, first: i32, count: i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-draw_elements"></a>

### draw_elements

```rust
unsafe fn draw_elements(self: &Self, mode: i32, count: i32, type_: i32, indices: *const c_void)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-get_uniform_location"></a>

### get_uniform_location

```rust
unsafe fn get_uniform_location(self: &Self, program: i32, name: *const c_char) -> i32
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-uniform1f"></a>

### uniform1f

```rust
fn uniform1f(self: &Self, location: i32, falue: f32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-uniform1i"></a>

### uniform1i

```rust
fn uniform1i(self: &Self, location: i32, value: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-uniform_matrix4fv"></a>

### uniform_matrix4fv

```rust
unsafe fn uniform_matrix4fv(self: &Self, location: i32, count: i32, transpose: u8, value: *const c_void)
```

 `transpose` is a `GLboolean`: 0 or 1.
## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-enable"></a>

### enable

```rust
fn enable(self: &Self, what: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-disable"></a>

### disable

```rust
fn disable(self: &Self, what: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-delete_buffers"></a>

### delete_buffers

```rust
unsafe fn delete_buffers(self: &Self, count: i32, buffers: *const i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-delete_program"></a>

### delete_program

```rust
fn delete_program(self: &Self, program: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-delete_shader"></a>

### delete_shader

```rust
fn delete_shader(self: &Self, shader: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-get_renderbuffer_parameteriv_native"></a>

### get_renderbuffer_parameteriv_native

```rust
unsafe fn get_renderbuffer_parameteriv_native(self: &Self, target: i32, name: i32, value: *mut i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-delete_vertex_arrays"></a>

### delete_vertex_arrays

```rust
unsafe fn delete_vertex_arrays(self: &Self, count: i32, arrays: *const i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_delete_vertex_arrays_available"></a>

### is_delete_vertex_arrays_available

```rust
fn is_delete_vertex_arrays_available(self: &Self) -> bool
```

Whether the context has the entry point behind `delete_vertex_arrays`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-bind_vertex_array"></a>

### bind_vertex_array

```rust
fn bind_vertex_array(self: &Self, array: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_bind_vertex_array_available"></a>

### is_bind_vertex_array_available

```rust
fn is_bind_vertex_array_available(self: &Self) -> bool
```

Whether the context has the entry point behind `bind_vertex_array`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-gen_vertex_arrays"></a>

### gen_vertex_arrays

```rust
unsafe fn gen_vertex_arrays(self: &Self, n: i32, rv: *mut i32)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_gen_vertex_arrays_available"></a>

### is_gen_vertex_arrays_available

```rust
fn is_gen_vertex_arrays_available(self: &Self) -> bool
```

Whether the context has the entry point behind `gen_vertex_arrays`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-read_buffer"></a>

### read_buffer

```rust
fn read_buffer(self: &Self, buffer: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_read_buffer_available"></a>

### is_read_buffer_available

```rust
fn is_read_buffer_available(self: &Self) -> bool
```

Whether the context has the entry point behind `read_buffer`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-draw_buffer"></a>

### draw_buffer

```rust
fn draw_buffer(self: &Self, buffer: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_draw_buffer_available"></a>

### is_draw_buffer_available

```rust
fn is_draw_buffer_available(self: &Self) -> bool
```

Whether the context has the entry point behind `draw_buffer`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-write_buffer"></a>

### write_buffer

```rust
fn write_buffer(self: &Self, buffer: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_write_buffer_available"></a>

### is_write_buffer_available

```rust
fn is_write_buffer_available(self: &Self) -> bool
```

Whether the context has the entry point behind `write_buffer`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-egl_image_target_texture_2d_oes"></a>

### egl_image_target_texture_2d_oes

```rust
unsafe fn egl_image_target_texture_2d_oes(self: &Self, target: i32, image: *mut c_void)
```

## Safety
The pointers passed, and the memory OpenGL reads or writes because
of this call, must satisfy what the OpenGL specification requires
for the entry point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-is_egl_image_target_texture_2d_oes_available"></a>

### is_egl_image_target_texture_2d_oes_available

```rust
fn is_egl_image_target_texture_2d_oes_available(self: &Self) -> bool
```

Whether the context has the entry point behind `egl_image_target_texture_2d_oes`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L83)

<a id="function-new"></a>

### new

```rust
unsafe fn new(version: GlVersion, get_proc_address: GetProcAddress) -> Self
```

Resolves the entry points of the current context, which implements
`version` of the API.
## Safety
`get_proc_address` must return, for the name of an OpenGL entry point,
either null or the address of that entry point in an OpenGL
implementation whose calling convention is the platform's default
one. The interface must only be used on a thread on which a context
of that implementation is current.
## Panics
Panics when a required entry point cannot be resolved; see
`GlInterface::try_new`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L326)

<a id="function-version"></a>

### version

```rust
fn version(self: &Self) -> Option<&str>
```

The `GL_VERSION` string of the context.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L346)

<a id="function-vendor"></a>

### vendor

```rust
fn vendor(self: &Self) -> Option<&str>
```

The `GL_VENDOR` string of the context.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L351)

<a id="function-renderer"></a>

### renderer

```rust
fn renderer(self: &Self) -> Option<&str>
```

The `GL_RENDERER` string of the context.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L356)

<a id="function-context_info"></a>

### context_info

```rust
fn context_info(self: &Self) -> &GlContextInfo
```

The version and the extensions of the context.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L361)

<a id="function-get_proc_address"></a>

### get_proc_address

```rust
fn get_proc_address(self: &Self, proc: &str) -> *const c_void
```

Returns an OpenGL function by name.

The result is the address of the function, which can be cast to a
function pointer of its signature; null when the context does not
have the function.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L370)

<a id="function-clear_depth"></a>

### clear_depth

```rust
fn clear_depth(self: &Self, value: f32)
```

`glClearDepth` or, where only that exists, `glClearDepthf`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L375)

<a id="function-gen_framebuffer"></a>

### gen_framebuffer

```rust
fn gen_framebuffer(self: &Self) -> i32
```

Creates one framebuffer object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L384)

<a id="function-delete_framebuffer"></a>

### delete_framebuffer

```rust
fn delete_framebuffer(self: &Self, fb: i32)
```

Deletes one framebuffer object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L392)

<a id="function-gen_renderbuffer"></a>

### gen_renderbuffer

```rust
fn gen_renderbuffer(self: &Self) -> i32
```

Creates one renderbuffer object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L398)

<a id="function-delete_renderbuffer"></a>

### delete_renderbuffer

```rust
fn delete_renderbuffer(self: &Self, renderbuffer: i32)
```

Deletes one renderbuffer object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L406)

<a id="function-gen_texture"></a>

### gen_texture

```rust
fn gen_texture(self: &Self) -> i32
```

Creates one texture object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L412)

<a id="function-delete_texture"></a>

### delete_texture

```rust
fn delete_texture(self: &Self, texture: i32)
```

Deletes one texture object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L420)

<a id="function-shader_source_string"></a>

### shader_source_string

```rust
fn shader_source_string(self: &Self, shader: i32, source: &str)
```

Replaces the source of a shader.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L426)

<a id="function-compile_shader_and_get_error"></a>

### compile_shader_and_get_error

```rust
fn compile_shader_and_get_error(self: &Self, shader: i32, source: &str) -> Option<String>
```

Compiles `source` as the shader. Returns the compiler's log when the
compilation fails and `None` when it succeeds.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L436)

<a id="function-link_program_and_get_error"></a>

### link_program_and_get_error

```rust
fn link_program_and_get_error(self: &Self, program: i32) -> Option<String>
```

Links the program. Returns the linker's log when linking fails and
`None` when it succeeds.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L460)

<a id="function-bind_attrib_location_string"></a>

### bind_attrib_location_string

```rust
fn bind_attrib_location_string(self: &Self, program: i32, index: i32, name: &str)
```

Binds a vertex attribute of the program to a location.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L488)

<a id="function-gen_buffer"></a>

### gen_buffer

```rust
fn gen_buffer(self: &Self) -> i32
```

Creates one buffer object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L495)

<a id="function-get_attrib_location_string"></a>

### get_attrib_location_string

```rust
fn get_attrib_location_string(self: &Self, program: i32, name: &str) -> i32
```

The location of a vertex attribute of the program.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L503)

<a id="function-get_uniform_location_string"></a>

### get_uniform_location_string

```rust
fn get_uniform_location_string(self: &Self, program: i32, name: &str) -> i32
```

The location of a uniform of the program.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L510)

<a id="function-delete_buffer"></a>

### delete_buffer

```rust
fn delete_buffer(self: &Self, buffer: i32)
```

Deletes one buffer object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L517)

<a id="function-get_renderbuffer_parameteriv"></a>

### get_renderbuffer_parameteriv

```rust
fn get_renderbuffer_parameteriv(self: &Self, target: i32, name: i32) -> i32
```

`glGetRenderbufferParameteriv` for a parameter with one value.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L523)

<a id="function-delete_vertex_array"></a>

### delete_vertex_array

```rust
fn delete_vertex_array(self: &Self, array: i32)
```

Deletes one vertex array object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L531)

<a id="function-gen_vertex_array"></a>

### gen_vertex_array

```rust
fn gen_vertex_array(self: &Self) -> i32
```

Creates one vertex array object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L537)

<a id="function-from_native_utf8_get_proc_address"></a>

### from_native_utf8_get_proc_address

```rust
unsafe fn from_native_utf8_get_proc_address(version: GlVersion, get_proc_address: impl Fn(*const c_char) -> *const c_void + 'static) -> GlInterface
```

Creates the interface from a loader that takes a NUL-terminated name.
## Safety
See `GlInterface::new`; `get_proc_address` must in addition accept a
pointer to a NUL-terminated name that is only valid during the call.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.OpenGL/gl_interface.rs#L549)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
