pub struct Version40 { /* private fields */ }Implementations§
Trait Implementations§
Source§impl GL_4_0 for Version40
impl GL_4_0 for Version40
fn glGetError(&self) -> GLenum
fn glMinSampleShading(&self, value: GLfloat) -> Result<()>
fn glBlendEquationi(&self, buf: GLuint, mode: GLenum) -> Result<()>
fn glBlendEquationSeparatei( &self, buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum, ) -> Result<()>
fn glBlendFunci(&self, buf: GLuint, src: GLenum, dst: GLenum) -> Result<()>
fn glBlendFuncSeparatei( &self, buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum, ) -> Result<()>
fn glDrawArraysIndirect( &self, mode: GLenum, indirect: *const c_void, ) -> Result<()>
fn glDrawElementsIndirect( &self, mode: GLenum, type_: GLenum, indirect: *const c_void, ) -> Result<()>
fn glUniform1d(&self, location: GLint, x: GLdouble) -> Result<()>
fn glUniform2d(&self, location: GLint, x: GLdouble, y: GLdouble) -> Result<()>
fn glUniform3d( &self, location: GLint, x: GLdouble, y: GLdouble, z: GLdouble, ) -> Result<()>
fn glUniform4d( &self, location: GLint, x: GLdouble, y: GLdouble, z: GLdouble, w: GLdouble, ) -> Result<()>
fn glUniform1dv( &self, location: GLint, count: GLsizei, value: *const GLdouble, ) -> Result<()>
fn glUniform2dv( &self, location: GLint, count: GLsizei, value: *const GLdouble, ) -> Result<()>
fn glUniform3dv( &self, location: GLint, count: GLsizei, value: *const GLdouble, ) -> Result<()>
fn glUniform4dv( &self, location: GLint, count: GLsizei, value: *const GLdouble, ) -> Result<()>
fn glUniformMatrix2dv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLdouble, ) -> Result<()>
fn glUniformMatrix3dv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLdouble, ) -> Result<()>
fn glUniformMatrix4dv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLdouble, ) -> Result<()>
fn glUniformMatrix2x3dv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLdouble, ) -> Result<()>
fn glUniformMatrix2x4dv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLdouble, ) -> Result<()>
fn glUniformMatrix3x2dv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLdouble, ) -> Result<()>
fn glUniformMatrix3x4dv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLdouble, ) -> Result<()>
fn glUniformMatrix4x2dv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLdouble, ) -> Result<()>
fn glUniformMatrix4x3dv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLdouble, ) -> Result<()>
fn glGetUniformdv( &self, program: GLuint, location: GLint, params: *mut GLdouble, ) -> Result<()>
fn glGetSubroutineUniformLocation( &self, program: GLuint, shadertype: GLenum, name: *const GLchar, ) -> Result<GLint>
fn glGetSubroutineIndex( &self, program: GLuint, shadertype: GLenum, name: *const GLchar, ) -> Result<GLuint>
fn glGetActiveSubroutineUniformiv( &self, program: GLuint, shadertype: GLenum, index: GLuint, pname: GLenum, values: *mut GLint, ) -> Result<()>
fn glGetActiveSubroutineUniformName( &self, program: GLuint, shadertype: GLenum, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, name: *mut GLchar, ) -> Result<()>
fn glGetActiveSubroutineName( &self, program: GLuint, shadertype: GLenum, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, name: *mut GLchar, ) -> Result<()>
fn glUniformSubroutinesuiv( &self, shadertype: GLenum, count: GLsizei, indices: *const GLuint, ) -> Result<()>
fn glGetUniformSubroutineuiv( &self, shadertype: GLenum, location: GLint, params: *mut GLuint, ) -> Result<()>
fn glGetProgramStageiv( &self, program: GLuint, shadertype: GLenum, pname: GLenum, values: *mut GLint, ) -> Result<()>
fn glPatchParameteri(&self, pname: GLenum, value: GLint) -> Result<()>
fn glPatchParameterfv( &self, pname: GLenum, values: *const GLfloat, ) -> Result<()>
fn glBindTransformFeedback(&self, target: GLenum, id: GLuint) -> Result<()>
fn glDeleteTransformFeedbacks( &self, n: GLsizei, ids: *const GLuint, ) -> Result<()>
fn glGenTransformFeedbacks(&self, n: GLsizei, ids: *mut GLuint) -> Result<()>
fn glIsTransformFeedback(&self, id: GLuint) -> Result<GLboolean>
fn glPauseTransformFeedback(&self) -> Result<()>
fn glResumeTransformFeedback(&self) -> Result<()>
fn glDrawTransformFeedback(&self, mode: GLenum, id: GLuint) -> Result<()>
fn glDrawTransformFeedbackStream( &self, mode: GLenum, id: GLuint, stream: GLuint, ) -> Result<()>
fn glBeginQueryIndexed( &self, target: GLenum, index: GLuint, id: GLuint, ) -> Result<()>
fn glEndQueryIndexed(&self, target: GLenum, index: GLuint) -> Result<()>
fn glGetQueryIndexediv( &self, target: GLenum, index: GLuint, pname: GLenum, params: *mut GLint, ) -> Result<()>
impl Copy for Version40
impl Eq for Version40
impl StructuralPartialEq for Version40
Auto Trait Implementations§
impl Freeze for Version40
impl RefUnwindSafe for Version40
impl Send for Version40
impl Sync for Version40
impl Unpin for Version40
impl UnwindSafe for Version40
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more