pub trait GL_4_4 {
// Required methods
fn glGetError(&self) -> GLenum;
fn glBufferStorage(
&self,
target: GLenum,
size: GLsizeiptr,
data: *const c_void,
flags: GLbitfield,
) -> Result<(), GLCoreError>;
fn glClearTexImage(
&self,
texture: GLuint,
level: GLint,
format: GLenum,
type_: GLenum,
data: *const c_void,
) -> Result<(), GLCoreError>;
fn glClearTexSubImage(
&self,
texture: GLuint,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type_: GLenum,
data: *const c_void,
) -> Result<(), GLCoreError>;
fn glBindBuffersBase(
&self,
target: GLenum,
first: GLuint,
count: GLsizei,
buffers: *const GLuint,
) -> Result<(), GLCoreError>;
fn glBindBuffersRange(
&self,
target: GLenum,
first: GLuint,
count: GLsizei,
buffers: *const GLuint,
offsets: *const GLintptr,
sizes: *const GLsizeiptr,
) -> Result<(), GLCoreError>;
fn glBindTextures(
&self,
first: GLuint,
count: GLsizei,
textures: *const GLuint,
) -> Result<(), GLCoreError>;
fn glBindSamplers(
&self,
first: GLuint,
count: GLsizei,
samplers: *const GLuint,
) -> Result<(), GLCoreError>;
fn glBindImageTextures(
&self,
first: GLuint,
count: GLsizei,
textures: *const GLuint,
) -> Result<(), GLCoreError>;
fn glBindVertexBuffers(
&self,
first: GLuint,
count: GLsizei,
buffers: *const GLuint,
offsets: *const GLintptr,
strides: *const GLsizei,
) -> Result<(), GLCoreError>;
}Expand description
Functions from OpenGL version 4.4