gl_sys/glew/
vertex_array.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use super::types::*;

#[inline(always)]
pub unsafe fn glGenVertexArrays(n: GLsizei, arrays: *mut GLuint) {
  call_glew_fn!(__glewGenVertexArrays(n, arrays));
}

#[inline(always)]
pub unsafe fn glBindVertexArray(array: GLuint) {
  call_glew_fn!(__glewBindVertexArray(array));
}

#[inline(always)]
pub unsafe fn glDeleteVertexArrays(n: GLsizei, arrays: *const GLuint) {
  call_glew_fn!(__glewDeleteVertexArrays(n, arrays));
}

#[inline(always)]
pub unsafe fn glBindBuffer(target: GLenum, buffer: GLuint) {
  call_glew_fn!(__glewBindBuffer(target, buffer));
}