GL_4_3

Trait GL_4_3 

Source
pub trait GL_4_3 {
Show 44 methods // Required methods fn glGetError(&self) -> GLenum; fn glClearBufferData( &self, target: GLenum, internalformat: GLenum, format: GLenum, type_: GLenum, data: *const c_void, ) -> Result<(), GLCoreError>; fn glClearBufferSubData( &self, target: GLenum, internalformat: GLenum, offset: GLintptr, size: GLsizeiptr, format: GLenum, type_: GLenum, data: *const c_void, ) -> Result<(), GLCoreError>; fn glDispatchCompute( &self, num_groups_x: GLuint, num_groups_y: GLuint, num_groups_z: GLuint, ) -> Result<(), GLCoreError>; fn glDispatchComputeIndirect( &self, indirect: GLintptr, ) -> Result<(), GLCoreError>; fn glCopyImageSubData( &self, srcName: GLuint, srcTarget: GLenum, srcLevel: GLint, srcX: GLint, srcY: GLint, srcZ: GLint, dstName: GLuint, dstTarget: GLenum, dstLevel: GLint, dstX: GLint, dstY: GLint, dstZ: GLint, srcWidth: GLsizei, srcHeight: GLsizei, srcDepth: GLsizei, ) -> Result<(), GLCoreError>; fn glFramebufferParameteri( &self, target: GLenum, pname: GLenum, param: GLint, ) -> Result<(), GLCoreError>; fn glGetFramebufferParameteriv( &self, target: GLenum, pname: GLenum, params: *mut GLint, ) -> Result<(), GLCoreError>; fn glGetInternalformati64v( &self, target: GLenum, internalformat: GLenum, pname: GLenum, count: GLsizei, params: *mut GLint64, ) -> Result<(), GLCoreError>; fn glInvalidateTexSubImage( &self, texture: GLuint, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, ) -> Result<(), GLCoreError>; fn glInvalidateTexImage( &self, texture: GLuint, level: GLint, ) -> Result<(), GLCoreError>; fn glInvalidateBufferSubData( &self, buffer: GLuint, offset: GLintptr, length: GLsizeiptr, ) -> Result<(), GLCoreError>; fn glInvalidateBufferData(&self, buffer: GLuint) -> Result<(), GLCoreError>; fn glInvalidateFramebuffer( &self, target: GLenum, numAttachments: GLsizei, attachments: *const GLenum, ) -> Result<(), GLCoreError>; fn glInvalidateSubFramebuffer( &self, target: GLenum, numAttachments: GLsizei, attachments: *const GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, ) -> Result<(), GLCoreError>; fn glMultiDrawArraysIndirect( &self, mode: GLenum, indirect: *const c_void, drawcount: GLsizei, stride: GLsizei, ) -> Result<(), GLCoreError>; fn glMultiDrawElementsIndirect( &self, mode: GLenum, type_: GLenum, indirect: *const c_void, drawcount: GLsizei, stride: GLsizei, ) -> Result<(), GLCoreError>; fn glGetProgramInterfaceiv( &self, program: GLuint, programInterface: GLenum, pname: GLenum, params: *mut GLint, ) -> Result<(), GLCoreError>; fn glGetProgramResourceIndex( &self, program: GLuint, programInterface: GLenum, name: *const GLchar, ) -> Result<GLuint, GLCoreError>; fn glGetProgramResourceName( &self, program: GLuint, programInterface: GLenum, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, name: *mut GLchar, ) -> Result<(), GLCoreError>; fn glGetProgramResourceiv( &self, program: GLuint, programInterface: GLenum, index: GLuint, propCount: GLsizei, props: *const GLenum, count: GLsizei, length: *mut GLsizei, params: *mut GLint, ) -> Result<(), GLCoreError>; fn glGetProgramResourceLocation( &self, program: GLuint, programInterface: GLenum, name: *const GLchar, ) -> Result<GLint, GLCoreError>; fn glGetProgramResourceLocationIndex( &self, program: GLuint, programInterface: GLenum, name: *const GLchar, ) -> Result<GLint, GLCoreError>; fn glShaderStorageBlockBinding( &self, program: GLuint, storageBlockIndex: GLuint, storageBlockBinding: GLuint, ) -> Result<(), GLCoreError>; fn glTexBufferRange( &self, target: GLenum, internalformat: GLenum, buffer: GLuint, offset: GLintptr, size: GLsizeiptr, ) -> Result<(), GLCoreError>; fn glTexStorage2DMultisample( &self, target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, fixedsamplelocations: GLboolean, ) -> Result<(), GLCoreError>; fn glTexStorage3DMultisample( &self, target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, fixedsamplelocations: GLboolean, ) -> Result<(), GLCoreError>; fn glTextureView( &self, texture: GLuint, target: GLenum, origtexture: GLuint, internalformat: GLenum, minlevel: GLuint, numlevels: GLuint, minlayer: GLuint, numlayers: GLuint, ) -> Result<(), GLCoreError>; fn glBindVertexBuffer( &self, bindingindex: GLuint, buffer: GLuint, offset: GLintptr, stride: GLsizei, ) -> Result<(), GLCoreError>; fn glVertexAttribFormat( &self, attribindex: GLuint, size: GLint, type_: GLenum, normalized: GLboolean, relativeoffset: GLuint, ) -> Result<(), GLCoreError>; fn glVertexAttribIFormat( &self, attribindex: GLuint, size: GLint, type_: GLenum, relativeoffset: GLuint, ) -> Result<(), GLCoreError>; fn glVertexAttribLFormat( &self, attribindex: GLuint, size: GLint, type_: GLenum, relativeoffset: GLuint, ) -> Result<(), GLCoreError>; fn glVertexAttribBinding( &self, attribindex: GLuint, bindingindex: GLuint, ) -> Result<(), GLCoreError>; fn glVertexBindingDivisor( &self, bindingindex: GLuint, divisor: GLuint, ) -> Result<(), GLCoreError>; fn glDebugMessageControl( &self, source: GLenum, type_: GLenum, severity: GLenum, count: GLsizei, ids: *const GLuint, enabled: GLboolean, ) -> Result<(), GLCoreError>; fn glDebugMessageInsert( &self, source: GLenum, type_: GLenum, id: GLuint, severity: GLenum, length: GLsizei, buf: *const GLchar, ) -> Result<(), GLCoreError>; fn glDebugMessageCallback( &self, callback: GLDEBUGPROC, userParam: *const c_void, ) -> Result<(), GLCoreError>; fn glGetDebugMessageLog( &self, count: GLuint, bufSize: GLsizei, sources: *mut GLenum, types: *mut GLenum, ids: *mut GLuint, severities: *mut GLenum, lengths: *mut GLsizei, messageLog: *mut GLchar, ) -> Result<GLuint, GLCoreError>; fn glPushDebugGroup( &self, source: GLenum, id: GLuint, length: GLsizei, message: *const GLchar, ) -> Result<(), GLCoreError>; fn glPopDebugGroup(&self) -> Result<(), GLCoreError>; fn glObjectLabel( &self, identifier: GLenum, name: GLuint, length: GLsizei, label: *const GLchar, ) -> Result<(), GLCoreError>; fn glGetObjectLabel( &self, identifier: GLenum, name: GLuint, bufSize: GLsizei, length: *mut GLsizei, label: *mut GLchar, ) -> Result<(), GLCoreError>; fn glObjectPtrLabel( &self, ptr: *const c_void, length: GLsizei, label: *const GLchar, ) -> Result<(), GLCoreError>; fn glGetObjectPtrLabel( &self, ptr: *const c_void, bufSize: GLsizei, length: *mut GLsizei, label: *mut GLchar, ) -> Result<(), GLCoreError>;
}
Expand description

Functions from OpenGL version 4.3

Required Methods§

Source

fn glGetError(&self) -> GLenum

Source

fn glClearBufferData( &self, target: GLenum, internalformat: GLenum, format: GLenum, type_: GLenum, data: *const c_void, ) -> Result<(), GLCoreError>

Source

fn glClearBufferSubData( &self, target: GLenum, internalformat: GLenum, offset: GLintptr, size: GLsizeiptr, format: GLenum, type_: GLenum, data: *const c_void, ) -> Result<(), GLCoreError>

Source

fn glDispatchCompute( &self, num_groups_x: GLuint, num_groups_y: GLuint, num_groups_z: GLuint, ) -> Result<(), GLCoreError>

Source

fn glDispatchComputeIndirect( &self, indirect: GLintptr, ) -> Result<(), GLCoreError>

Source

fn glCopyImageSubData( &self, srcName: GLuint, srcTarget: GLenum, srcLevel: GLint, srcX: GLint, srcY: GLint, srcZ: GLint, dstName: GLuint, dstTarget: GLenum, dstLevel: GLint, dstX: GLint, dstY: GLint, dstZ: GLint, srcWidth: GLsizei, srcHeight: GLsizei, srcDepth: GLsizei, ) -> Result<(), GLCoreError>

Source

fn glFramebufferParameteri( &self, target: GLenum, pname: GLenum, param: GLint, ) -> Result<(), GLCoreError>

Source

fn glGetFramebufferParameteriv( &self, target: GLenum, pname: GLenum, params: *mut GLint, ) -> Result<(), GLCoreError>

Source

fn glGetInternalformati64v( &self, target: GLenum, internalformat: GLenum, pname: GLenum, count: GLsizei, params: *mut GLint64, ) -> Result<(), GLCoreError>

Source

fn glInvalidateTexSubImage( &self, texture: GLuint, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, ) -> Result<(), GLCoreError>

Source

fn glInvalidateTexImage( &self, texture: GLuint, level: GLint, ) -> Result<(), GLCoreError>

Source

fn glInvalidateBufferSubData( &self, buffer: GLuint, offset: GLintptr, length: GLsizeiptr, ) -> Result<(), GLCoreError>

Source

fn glInvalidateBufferData(&self, buffer: GLuint) -> Result<(), GLCoreError>

Source

fn glInvalidateFramebuffer( &self, target: GLenum, numAttachments: GLsizei, attachments: *const GLenum, ) -> Result<(), GLCoreError>

Source

fn glInvalidateSubFramebuffer( &self, target: GLenum, numAttachments: GLsizei, attachments: *const GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, ) -> Result<(), GLCoreError>

Source

fn glMultiDrawArraysIndirect( &self, mode: GLenum, indirect: *const c_void, drawcount: GLsizei, stride: GLsizei, ) -> Result<(), GLCoreError>

Source

fn glMultiDrawElementsIndirect( &self, mode: GLenum, type_: GLenum, indirect: *const c_void, drawcount: GLsizei, stride: GLsizei, ) -> Result<(), GLCoreError>

Source

fn glGetProgramInterfaceiv( &self, program: GLuint, programInterface: GLenum, pname: GLenum, params: *mut GLint, ) -> Result<(), GLCoreError>

Source

fn glGetProgramResourceIndex( &self, program: GLuint, programInterface: GLenum, name: *const GLchar, ) -> Result<GLuint, GLCoreError>

Source

fn glGetProgramResourceName( &self, program: GLuint, programInterface: GLenum, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, name: *mut GLchar, ) -> Result<(), GLCoreError>

Source

fn glGetProgramResourceiv( &self, program: GLuint, programInterface: GLenum, index: GLuint, propCount: GLsizei, props: *const GLenum, count: GLsizei, length: *mut GLsizei, params: *mut GLint, ) -> Result<(), GLCoreError>

Source

fn glGetProgramResourceLocation( &self, program: GLuint, programInterface: GLenum, name: *const GLchar, ) -> Result<GLint, GLCoreError>

Source

fn glGetProgramResourceLocationIndex( &self, program: GLuint, programInterface: GLenum, name: *const GLchar, ) -> Result<GLint, GLCoreError>

Source

fn glShaderStorageBlockBinding( &self, program: GLuint, storageBlockIndex: GLuint, storageBlockBinding: GLuint, ) -> Result<(), GLCoreError>

Source

fn glTexBufferRange( &self, target: GLenum, internalformat: GLenum, buffer: GLuint, offset: GLintptr, size: GLsizeiptr, ) -> Result<(), GLCoreError>

Source

fn glTexStorage2DMultisample( &self, target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, fixedsamplelocations: GLboolean, ) -> Result<(), GLCoreError>

Source

fn glTexStorage3DMultisample( &self, target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, fixedsamplelocations: GLboolean, ) -> Result<(), GLCoreError>

Source

fn glTextureView( &self, texture: GLuint, target: GLenum, origtexture: GLuint, internalformat: GLenum, minlevel: GLuint, numlevels: GLuint, minlayer: GLuint, numlayers: GLuint, ) -> Result<(), GLCoreError>

Source

fn glBindVertexBuffer( &self, bindingindex: GLuint, buffer: GLuint, offset: GLintptr, stride: GLsizei, ) -> Result<(), GLCoreError>

Source

fn glVertexAttribFormat( &self, attribindex: GLuint, size: GLint, type_: GLenum, normalized: GLboolean, relativeoffset: GLuint, ) -> Result<(), GLCoreError>

Source

fn glVertexAttribIFormat( &self, attribindex: GLuint, size: GLint, type_: GLenum, relativeoffset: GLuint, ) -> Result<(), GLCoreError>

Source

fn glVertexAttribLFormat( &self, attribindex: GLuint, size: GLint, type_: GLenum, relativeoffset: GLuint, ) -> Result<(), GLCoreError>

Source

fn glVertexAttribBinding( &self, attribindex: GLuint, bindingindex: GLuint, ) -> Result<(), GLCoreError>

Source

fn glVertexBindingDivisor( &self, bindingindex: GLuint, divisor: GLuint, ) -> Result<(), GLCoreError>

Source

fn glDebugMessageControl( &self, source: GLenum, type_: GLenum, severity: GLenum, count: GLsizei, ids: *const GLuint, enabled: GLboolean, ) -> Result<(), GLCoreError>

Source

fn glDebugMessageInsert( &self, source: GLenum, type_: GLenum, id: GLuint, severity: GLenum, length: GLsizei, buf: *const GLchar, ) -> Result<(), GLCoreError>

Source

fn glDebugMessageCallback( &self, callback: GLDEBUGPROC, userParam: *const c_void, ) -> Result<(), GLCoreError>

Source

fn glGetDebugMessageLog( &self, count: GLuint, bufSize: GLsizei, sources: *mut GLenum, types: *mut GLenum, ids: *mut GLuint, severities: *mut GLenum, lengths: *mut GLsizei, messageLog: *mut GLchar, ) -> Result<GLuint, GLCoreError>

Source

fn glPushDebugGroup( &self, source: GLenum, id: GLuint, length: GLsizei, message: *const GLchar, ) -> Result<(), GLCoreError>

Source

fn glPopDebugGroup(&self) -> Result<(), GLCoreError>

Source

fn glObjectLabel( &self, identifier: GLenum, name: GLuint, length: GLsizei, label: *const GLchar, ) -> Result<(), GLCoreError>

Source

fn glGetObjectLabel( &self, identifier: GLenum, name: GLuint, bufSize: GLsizei, length: *mut GLsizei, label: *mut GLchar, ) -> Result<(), GLCoreError>

Source

fn glObjectPtrLabel( &self, ptr: *const c_void, length: GLsizei, label: *const GLchar, ) -> Result<(), GLCoreError>

Source

fn glGetObjectPtrLabel( &self, ptr: *const c_void, bufSize: GLsizei, length: *mut GLsizei, label: *mut GLchar, ) -> Result<(), GLCoreError>

Implementors§