GL_4_4

Trait GL_4_4 

Source
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

Required Methods§

Source

fn glGetError(&self) -> GLenum

Source

fn glBufferStorage( &self, target: GLenum, size: GLsizeiptr, data: *const c_void, flags: GLbitfield, ) -> Result<(), GLCoreError>

Source

fn glClearTexImage( &self, texture: GLuint, level: GLint, format: GLenum, type_: GLenum, data: *const c_void, ) -> Result<(), GLCoreError>

Source

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>

Source

fn glBindBuffersBase( &self, target: GLenum, first: GLuint, count: GLsizei, buffers: *const GLuint, ) -> Result<(), GLCoreError>

Source

fn glBindBuffersRange( &self, target: GLenum, first: GLuint, count: GLsizei, buffers: *const GLuint, offsets: *const GLintptr, sizes: *const GLsizeiptr, ) -> Result<(), GLCoreError>

Source

fn glBindTextures( &self, first: GLuint, count: GLsizei, textures: *const GLuint, ) -> Result<(), GLCoreError>

Source

fn glBindSamplers( &self, first: GLuint, count: GLsizei, samplers: *const GLuint, ) -> Result<(), GLCoreError>

Source

fn glBindImageTextures( &self, first: GLuint, count: GLsizei, textures: *const GLuint, ) -> Result<(), GLCoreError>

Source

fn glBindVertexBuffers( &self, first: GLuint, count: GLsizei, buffers: *const GLuint, offsets: *const GLintptr, strides: *const GLsizei, ) -> Result<(), GLCoreError>

Implementors§