#[repr(C)]pub struct GlFns { /* private fields */ }
Expand description
This holds the many, many function pointers for GL.
It’s typically quite large (hundreds of pointers), depending on what API level and extensions you selected during the generation.
Implementations§
Source§impl GlFns
impl GlFns
Sourcepub unsafe fn load_with<F>(get_proc_address: F) -> Self
pub unsafe fn load_with<F>(get_proc_address: F) -> Self
Constructs a new struct with all pointers loaded by the
get_proc_address
given.
Sourcepub unsafe fn ActiveTexture(&self, texture: GLenum)
pub unsafe fn ActiveTexture(&self, texture: GLenum)
glActiveTexture(texture)
texture
group: TextureUnit
Sourcepub unsafe fn AttachShader(&self, program: GLuint, shader: GLuint)
pub unsafe fn AttachShader(&self, program: GLuint, shader: GLuint)
glAttachShader(program, shader)
Sourcepub unsafe fn BeginQuery(&self, target: GLenum, id: GLuint)
pub unsafe fn BeginQuery(&self, target: GLenum, id: GLuint)
glBeginQuery(target, id)
target
group: QueryTarget
Sourcepub unsafe fn BeginTransformFeedback(&self, primitiveMode: GLenum)
pub unsafe fn BeginTransformFeedback(&self, primitiveMode: GLenum)
glBeginTransformFeedback(primitiveMode)
primitiveMode
group: PrimitiveType
Sourcepub unsafe fn BindAttribLocation(
&self,
program: GLuint,
index: GLuint,
name: *const GLchar,
)
pub unsafe fn BindAttribLocation( &self, program: GLuint, index: GLuint, name: *const GLchar, )
glBindAttribLocation(program, index, name)
Sourcepub unsafe fn BindBuffer(&self, target: GLenum, buffer: GLuint)
pub unsafe fn BindBuffer(&self, target: GLenum, buffer: GLuint)
glBindBuffer(target, buffer)
target
group: BufferTargetARB
Sourcepub unsafe fn BindBufferBase(
&self,
target: GLenum,
index: GLuint,
buffer: GLuint,
)
pub unsafe fn BindBufferBase( &self, target: GLenum, index: GLuint, buffer: GLuint, )
glBindBufferBase(target, index, buffer)
target
group: BufferTargetARB
Sourcepub unsafe fn BindBufferRange(
&self,
target: GLenum,
index: GLuint,
buffer: GLuint,
offset: GLintptr,
size: GLsizeiptr,
)
pub unsafe fn BindBufferRange( &self, target: GLenum, index: GLuint, buffer: GLuint, offset: GLintptr, size: GLsizeiptr, )
glBindBufferRange(target, index, buffer, offset, size)
target
group: BufferTargetARBoffset
group: BufferOffsetsize
group: BufferSize
Sourcepub unsafe fn BindFramebuffer(&self, target: GLenum, framebuffer: GLuint)
pub unsafe fn BindFramebuffer(&self, target: GLenum, framebuffer: GLuint)
glBindFramebuffer(target, framebuffer)
target
group: FramebufferTarget
Sourcepub unsafe fn BindRenderbuffer(&self, target: GLenum, renderbuffer: GLuint)
pub unsafe fn BindRenderbuffer(&self, target: GLenum, renderbuffer: GLuint)
glBindRenderbuffer(target, renderbuffer)
target
group: RenderbufferTarget
Sourcepub unsafe fn BindSampler(&self, unit: GLuint, sampler: GLuint)
pub unsafe fn BindSampler(&self, unit: GLuint, sampler: GLuint)
glBindSampler(unit, sampler)
Sourcepub unsafe fn BindTexture(&self, target: GLenum, texture: GLuint)
pub unsafe fn BindTexture(&self, target: GLenum, texture: GLuint)
glBindTexture(target, texture)
target
group: TextureTargettexture
group: Texture
Sourcepub unsafe fn BindTransformFeedback(&self, target: GLenum, id: GLuint)
pub unsafe fn BindTransformFeedback(&self, target: GLenum, id: GLuint)
glBindTransformFeedback(target, id)
target
group: BindTransformFeedbackTarget
Sourcepub unsafe fn BindVertexArray(&self, array: GLuint)
pub unsafe fn BindVertexArray(&self, array: GLuint)
glBindVertexArray(array)
Sourcepub unsafe fn BlendColor(
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat,
)
pub unsafe fn BlendColor( &self, red: GLfloat, green: GLfloat, blue: GLfloat, alpha: GLfloat, )
glBlendColor(red, green, blue, alpha)
red
group: ColorFgreen
group: ColorFblue
group: ColorFalpha
group: ColorF
Sourcepub unsafe fn BlendEquation(&self, mode: GLenum)
pub unsafe fn BlendEquation(&self, mode: GLenum)
glBlendEquation(mode)
mode
group: BlendEquationModeEXT
Sourcepub unsafe fn BlendEquationSeparate(&self, modeRGB: GLenum, modeAlpha: GLenum)
pub unsafe fn BlendEquationSeparate(&self, modeRGB: GLenum, modeAlpha: GLenum)
glBlendEquationSeparate(modeRGB, modeAlpha)
modeRGB
group: BlendEquationModeEXTmodeAlpha
group: BlendEquationModeEXT
Sourcepub unsafe fn BlendFunc(&self, sfactor: GLenum, dfactor: GLenum)
pub unsafe fn BlendFunc(&self, sfactor: GLenum, dfactor: GLenum)
glBlendFunc(sfactor, dfactor)
sfactor
group: BlendingFactordfactor
group: BlendingFactor
Sourcepub unsafe fn BlendFuncSeparate(
&self,
sfactorRGB: GLenum,
dfactorRGB: GLenum,
sfactorAlpha: GLenum,
dfactorAlpha: GLenum,
)
pub unsafe fn BlendFuncSeparate( &self, sfactorRGB: GLenum, dfactorRGB: GLenum, sfactorAlpha: GLenum, dfactorAlpha: GLenum, )
glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
sfactorRGB
group: BlendingFactordfactorRGB
group: BlendingFactorsfactorAlpha
group: BlendingFactordfactorAlpha
group: BlendingFactor
Sourcepub unsafe fn BlitFramebuffer(
&self,
srcX0: GLint,
srcY0: GLint,
srcX1: GLint,
srcY1: GLint,
dstX0: GLint,
dstY0: GLint,
dstX1: GLint,
dstY1: GLint,
mask: GLbitfield,
filter: GLenum,
)
pub unsafe fn BlitFramebuffer( &self, srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum, )
glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
mask
group: ClearBufferMaskfilter
group: BlitFramebufferFilter
Sourcepub unsafe fn BufferData(
&self,
target: GLenum,
size: GLsizeiptr,
data: *const c_void,
usage: GLenum,
)
pub unsafe fn BufferData( &self, target: GLenum, size: GLsizeiptr, data: *const c_void, usage: GLenum, )
glBufferData(target, size, data, usage)
target
group: BufferTargetARBsize
group: BufferSizedata
len: sizeusage
group: BufferUsageARB
Sourcepub unsafe fn BufferSubData(
&self,
target: GLenum,
offset: GLintptr,
size: GLsizeiptr,
data: *const c_void,
)
pub unsafe fn BufferSubData( &self, target: GLenum, offset: GLintptr, size: GLsizeiptr, data: *const c_void, )
glBufferSubData(target, offset, size, data)
target
group: BufferTargetARBoffset
group: BufferOffsetsize
group: BufferSizedata
len: size
Sourcepub unsafe fn CheckFramebufferStatus(&self, target: GLenum) -> GLenum
pub unsafe fn CheckFramebufferStatus(&self, target: GLenum) -> GLenum
glCheckFramebufferStatus(target)
target
group: FramebufferTarget- return value group: FramebufferStatus
Sourcepub unsafe fn Clear(&self, mask: GLbitfield)
pub unsafe fn Clear(&self, mask: GLbitfield)
glClear(mask)
mask
group: ClearBufferMask
Sourcepub unsafe fn ClearBufferfi(
&self,
buffer: GLenum,
drawbuffer: GLint,
depth: GLfloat,
stencil: GLint,
)
pub unsafe fn ClearBufferfi( &self, buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint, )
glClearBufferfi(buffer, drawbuffer, depth, stencil)
buffer
group: Bufferdrawbuffer
group: DrawBufferName
Sourcepub unsafe fn ClearBufferfv(
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLfloat,
)
pub unsafe fn ClearBufferfv( &self, buffer: GLenum, drawbuffer: GLint, value: *const GLfloat, )
glClearBufferfv(buffer, drawbuffer, value)
buffer
group: Bufferdrawbuffer
group: DrawBufferNamevalue
len: COMPSIZE(buffer)
Sourcepub unsafe fn ClearBufferiv(
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLint,
)
pub unsafe fn ClearBufferiv( &self, buffer: GLenum, drawbuffer: GLint, value: *const GLint, )
glClearBufferiv(buffer, drawbuffer, value)
buffer
group: Bufferdrawbuffer
group: DrawBufferNamevalue
len: COMPSIZE(buffer)
Sourcepub unsafe fn ClearBufferuiv(
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLuint,
)
pub unsafe fn ClearBufferuiv( &self, buffer: GLenum, drawbuffer: GLint, value: *const GLuint, )
glClearBufferuiv(buffer, drawbuffer, value)
buffer
group: Bufferdrawbuffer
group: DrawBufferNamevalue
len: COMPSIZE(buffer)
Sourcepub unsafe fn ClearColor(
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat,
)
pub unsafe fn ClearColor( &self, red: GLfloat, green: GLfloat, blue: GLfloat, alpha: GLfloat, )
glClearColor(red, green, blue, alpha)
red
group: ColorFgreen
group: ColorFblue
group: ColorFalpha
group: ColorF
Sourcepub unsafe fn ClearDepthf(&self, d: GLfloat)
pub unsafe fn ClearDepthf(&self, d: GLfloat)
Sourcepub unsafe fn ClearStencil(&self, s: GLint)
pub unsafe fn ClearStencil(&self, s: GLint)
s
group: StencilValue
Sourcepub unsafe fn ClientWaitSync(
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64,
) -> GLenum
pub unsafe fn ClientWaitSync( &self, sync: GLsync, flags: GLbitfield, timeout: GLuint64, ) -> GLenum
glClientWaitSync(sync, flags, timeout)
sync
group: syncflags
group: SyncObjectMask- return value group: SyncStatus
Sourcepub unsafe fn ColorMask(
&self,
red: GLboolean,
green: GLboolean,
blue: GLboolean,
alpha: GLboolean,
)
pub unsafe fn ColorMask( &self, red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean, )
glColorMask(red, green, blue, alpha)
Sourcepub unsafe fn CompileShader(&self, shader: GLuint)
pub unsafe fn CompileShader(&self, shader: GLuint)
glCompileShader(shader)
Sourcepub unsafe fn CompressedTexImage2D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
imageSize: GLsizei,
data: *const c_void,
)
pub unsafe fn CompressedTexImage2D( &self, target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, data: *const c_void, )
glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data)
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32data
group: CompressedTextureARBdata
len: imageSize
Sourcepub unsafe fn CompressedTexImage3D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
imageSize: GLsizei,
data: *const c_void,
)
pub unsafe fn CompressedTexImage3D( &self, target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, data: *const c_void, )
glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data)
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32data
group: CompressedTextureARBdata
len: imageSize
Sourcepub unsafe fn CompressedTexSubImage2D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
imageSize: GLsizei,
data: *const c_void,
)
pub unsafe fn CompressedTexSubImage2D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, data: *const c_void, )
glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32format
group: PixelFormatdata
group: CompressedTextureARBdata
len: imageSize
Sourcepub unsafe fn CompressedTexSubImage3D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
imageSize: GLsizei,
data: *const c_void,
)
pub unsafe fn CompressedTexSubImage3D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, data: *const c_void, )
glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data)
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32zoffset
group: CheckedInt32format
group: PixelFormatdata
group: CompressedTextureARBdata
len: imageSize
Sourcepub unsafe fn CopyBufferSubData(
&self,
readTarget: GLenum,
writeTarget: GLenum,
readOffset: GLintptr,
writeOffset: GLintptr,
size: GLsizeiptr,
)
pub unsafe fn CopyBufferSubData( &self, readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr, )
glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size)
readTarget
group: CopyBufferSubDataTargetwriteTarget
group: CopyBufferSubDataTargetreadOffset
group: BufferOffsetwriteOffset
group: BufferOffsetsize
group: BufferSize
Sourcepub unsafe fn CopyTexImage2D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
)
pub unsafe fn CopyTexImage2D( &self, target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint, )
glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatx
group: WinCoordy
group: WinCoordborder
group: CheckedInt32
Sourcepub unsafe fn CopyTexSubImage2D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
)
pub unsafe fn CopyTexSubImage2D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )
glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32x
group: WinCoordy
group: WinCoord
Sourcepub unsafe fn CopyTexSubImage3D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
)
pub unsafe fn CopyTexSubImage3D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )
glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32zoffset
group: CheckedInt32x
group: WinCoordy
group: WinCoord
Sourcepub unsafe fn CreateProgram(&self) -> GLuint
pub unsafe fn CreateProgram(&self) -> GLuint
Sourcepub unsafe fn CreateShader(&self, type_: GLenum) -> GLuint
pub unsafe fn CreateShader(&self, type_: GLenum) -> GLuint
glCreateShader(type_)
type_
group: ShaderType
Sourcepub unsafe fn CullFace(&self, mode: GLenum)
pub unsafe fn CullFace(&self, mode: GLenum)
glCullFace(mode)
mode
group: CullFaceMode
Sourcepub unsafe fn DebugMessageCallbackKHR(
&self,
callback: GLDEBUGPROCKHR,
userParam: *const c_void,
)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn DebugMessageCallbackKHR( &self, callback: GLDEBUGPROCKHR, userParam: *const c_void, )
GL_KHR_debug
only.glDebugMessageCallbackKHR(callback, userParam)
- alias of: [
glDebugMessageCallback
]
Sourcepub unsafe fn DebugMessageControlKHR(
&self,
source: GLenum,
type_: GLenum,
severity: GLenum,
count: GLsizei,
ids: *const GLuint,
enabled: GLboolean,
)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn DebugMessageControlKHR( &self, source: GLenum, type_: GLenum, severity: GLenum, count: GLsizei, ids: *const GLuint, enabled: GLboolean, )
GL_KHR_debug
only.glDebugMessageControlKHR(source, type_, severity, count, ids, enabled)
source
group: DebugSourcetype_
group: DebugTypeseverity
group: DebugSeverity- alias of: [
glDebugMessageControl
]
Sourcepub unsafe fn DebugMessageInsertKHR(
&self,
source: GLenum,
type_: GLenum,
id: GLuint,
severity: GLenum,
length: GLsizei,
buf: *const GLchar,
)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn DebugMessageInsertKHR( &self, source: GLenum, type_: GLenum, id: GLuint, severity: GLenum, length: GLsizei, buf: *const GLchar, )
GL_KHR_debug
only.glDebugMessageInsertKHR(source, type_, id, severity, length, buf)
source
group: DebugSourcetype_
group: DebugTypeseverity
group: DebugSeverity- alias of: [
glDebugMessageInsert
]
Sourcepub unsafe fn DeleteBuffers(&self, n: GLsizei, buffers: *const GLuint)
pub unsafe fn DeleteBuffers(&self, n: GLsizei, buffers: *const GLuint)
glDeleteBuffers(n, buffers)
buffers
len: n
Sourcepub unsafe fn DeleteFramebuffers(&self, n: GLsizei, framebuffers: *const GLuint)
pub unsafe fn DeleteFramebuffers(&self, n: GLsizei, framebuffers: *const GLuint)
glDeleteFramebuffers(n, framebuffers)
framebuffers
len: n
Sourcepub unsafe fn DeleteProgram(&self, program: GLuint)
pub unsafe fn DeleteProgram(&self, program: GLuint)
glDeleteProgram(program)
Sourcepub unsafe fn DeleteQueries(&self, n: GLsizei, ids: *const GLuint)
pub unsafe fn DeleteQueries(&self, n: GLsizei, ids: *const GLuint)
glDeleteQueries(n, ids)
ids
len: n
Sourcepub unsafe fn DeleteRenderbuffers(
&self,
n: GLsizei,
renderbuffers: *const GLuint,
)
pub unsafe fn DeleteRenderbuffers( &self, n: GLsizei, renderbuffers: *const GLuint, )
glDeleteRenderbuffers(n, renderbuffers)
renderbuffers
len: n
Sourcepub unsafe fn DeleteSamplers(&self, count: GLsizei, samplers: *const GLuint)
pub unsafe fn DeleteSamplers(&self, count: GLsizei, samplers: *const GLuint)
glDeleteSamplers(count, samplers)
samplers
len: count
Sourcepub unsafe fn DeleteShader(&self, shader: GLuint)
pub unsafe fn DeleteShader(&self, shader: GLuint)
glDeleteShader(shader)
Sourcepub unsafe fn DeleteSync(&self, sync: GLsync)
pub unsafe fn DeleteSync(&self, sync: GLsync)
glDeleteSync(sync)
sync
group: sync
Sourcepub unsafe fn DeleteTextures(&self, n: GLsizei, textures: *const GLuint)
pub unsafe fn DeleteTextures(&self, n: GLsizei, textures: *const GLuint)
glDeleteTextures(n, textures)
textures
group: Texturetextures
len: n
Sourcepub unsafe fn DeleteTransformFeedbacks(&self, n: GLsizei, ids: *const GLuint)
pub unsafe fn DeleteTransformFeedbacks(&self, n: GLsizei, ids: *const GLuint)
glDeleteTransformFeedbacks(n, ids)
ids
len: n
Sourcepub unsafe fn DeleteVertexArrays(&self, n: GLsizei, arrays: *const GLuint)
pub unsafe fn DeleteVertexArrays(&self, n: GLsizei, arrays: *const GLuint)
glDeleteVertexArrays(n, arrays)
arrays
len: n
Sourcepub unsafe fn DepthFunc(&self, func: GLenum)
pub unsafe fn DepthFunc(&self, func: GLenum)
glDepthFunc(func)
func
group: DepthFunction
Sourcepub unsafe fn DepthMask(&self, flag: GLboolean)
pub unsafe fn DepthMask(&self, flag: GLboolean)
glDepthMask(flag)
Sourcepub unsafe fn DepthRangef(&self, n: GLfloat, f: GLfloat)
pub unsafe fn DepthRangef(&self, n: GLfloat, f: GLfloat)
glDepthRangef(n, f)
Sourcepub unsafe fn DetachShader(&self, program: GLuint, shader: GLuint)
pub unsafe fn DetachShader(&self, program: GLuint, shader: GLuint)
glDetachShader(program, shader)
Sourcepub unsafe fn DisableVertexAttribArray(&self, index: GLuint)
pub unsafe fn DisableVertexAttribArray(&self, index: GLuint)
glDisableVertexAttribArray(index)
Sourcepub unsafe fn DrawArrays(&self, mode: GLenum, first: GLint, count: GLsizei)
pub unsafe fn DrawArrays(&self, mode: GLenum, first: GLint, count: GLsizei)
glDrawArrays(mode, first, count)
mode
group: PrimitiveType
Sourcepub unsafe fn DrawArraysInstanced(
&self,
mode: GLenum,
first: GLint,
count: GLsizei,
instancecount: GLsizei,
)
pub unsafe fn DrawArraysInstanced( &self, mode: GLenum, first: GLint, count: GLsizei, instancecount: GLsizei, )
glDrawArraysInstanced(mode, first, count, instancecount)
mode
group: PrimitiveType
Sourcepub unsafe fn DrawBuffers(&self, n: GLsizei, bufs: *const GLenum)
pub unsafe fn DrawBuffers(&self, n: GLsizei, bufs: *const GLenum)
glDrawBuffers(n, bufs)
bufs
group: DrawBufferModebufs
len: n
Sourcepub unsafe fn DrawElements(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
)
pub unsafe fn DrawElements( &self, mode: GLenum, count: GLsizei, type_: GLenum, indices: *const c_void, )
glDrawElements(mode, count, type_, indices)
mode
group: PrimitiveTypetype_
group: DrawElementsTypeindices
len: COMPSIZE(count,type)
Sourcepub unsafe fn DrawElementsInstanced(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
instancecount: GLsizei,
)
pub unsafe fn DrawElementsInstanced( &self, mode: GLenum, count: GLsizei, type_: GLenum, indices: *const c_void, instancecount: GLsizei, )
glDrawElementsInstanced(mode, count, type_, indices, instancecount)
mode
group: PrimitiveTypetype_
group: DrawElementsTypeindices
len: COMPSIZE(count,type)
Sourcepub unsafe fn DrawRangeElements(
&self,
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
)
pub unsafe fn DrawRangeElements( &self, mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type_: GLenum, indices: *const c_void, )
glDrawRangeElements(mode, start, end, count, type_, indices)
mode
group: PrimitiveTypetype_
group: DrawElementsTypeindices
len: COMPSIZE(count,type)
Sourcepub unsafe fn EnableVertexAttribArray(&self, index: GLuint)
pub unsafe fn EnableVertexAttribArray(&self, index: GLuint)
glEnableVertexAttribArray(index)
Sourcepub unsafe fn EndQuery(&self, target: GLenum)
pub unsafe fn EndQuery(&self, target: GLenum)
glEndQuery(target)
target
group: QueryTarget
Sourcepub unsafe fn EndTransformFeedback(&self)
pub unsafe fn EndTransformFeedback(&self)
Sourcepub unsafe fn FenceSync(&self, condition: GLenum, flags: GLbitfield) -> GLsync
pub unsafe fn FenceSync(&self, condition: GLenum, flags: GLbitfield) -> GLsync
glFenceSync(condition, flags)
condition
group: SyncCondition- return value group: sync
Sourcepub unsafe fn FlushMappedBufferRange(
&self,
target: GLenum,
offset: GLintptr,
length: GLsizeiptr,
)
pub unsafe fn FlushMappedBufferRange( &self, target: GLenum, offset: GLintptr, length: GLsizeiptr, )
glFlushMappedBufferRange(target, offset, length)
target
group: BufferTargetARBoffset
group: BufferOffsetlength
group: BufferSize
Sourcepub unsafe fn FramebufferRenderbuffer(
&self,
target: GLenum,
attachment: GLenum,
renderbuffertarget: GLenum,
renderbuffer: GLuint,
)
pub unsafe fn FramebufferRenderbuffer( &self, target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: GLuint, )
glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
target
group: FramebufferTargetattachment
group: FramebufferAttachmentrenderbuffertarget
group: RenderbufferTarget
Sourcepub unsafe fn FramebufferTexture2D(
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: GLuint,
level: GLint,
)
pub unsafe fn FramebufferTexture2D( &self, target: GLenum, attachment: GLenum, textarget: GLenum, texture: GLuint, level: GLint, )
glFramebufferTexture2D(target, attachment, textarget, texture, level)
target
group: FramebufferTargetattachment
group: FramebufferAttachmenttextarget
group: TextureTarget
Sourcepub unsafe fn FramebufferTextureLayer(
&self,
target: GLenum,
attachment: GLenum,
texture: GLuint,
level: GLint,
layer: GLint,
)
pub unsafe fn FramebufferTextureLayer( &self, target: GLenum, attachment: GLenum, texture: GLuint, level: GLint, layer: GLint, )
glFramebufferTextureLayer(target, attachment, texture, level, layer)
target
group: FramebufferTargetattachment
group: FramebufferAttachmenttexture
group: Texturelevel
group: CheckedInt32layer
group: CheckedInt32
Sourcepub unsafe fn FrontFace(&self, mode: GLenum)
pub unsafe fn FrontFace(&self, mode: GLenum)
glFrontFace(mode)
mode
group: FrontFaceDirection
Sourcepub unsafe fn GenBuffers(&self, n: GLsizei, buffers: *mut GLuint)
pub unsafe fn GenBuffers(&self, n: GLsizei, buffers: *mut GLuint)
glGenBuffers(n, buffers)
buffers
len: n
Sourcepub unsafe fn GenFramebuffers(&self, n: GLsizei, framebuffers: *mut GLuint)
pub unsafe fn GenFramebuffers(&self, n: GLsizei, framebuffers: *mut GLuint)
glGenFramebuffers(n, framebuffers)
framebuffers
len: n
Sourcepub unsafe fn GenQueries(&self, n: GLsizei, ids: *mut GLuint)
pub unsafe fn GenQueries(&self, n: GLsizei, ids: *mut GLuint)
glGenQueries(n, ids)
ids
len: n
Sourcepub unsafe fn GenRenderbuffers(&self, n: GLsizei, renderbuffers: *mut GLuint)
pub unsafe fn GenRenderbuffers(&self, n: GLsizei, renderbuffers: *mut GLuint)
glGenRenderbuffers(n, renderbuffers)
renderbuffers
len: n
Sourcepub unsafe fn GenSamplers(&self, count: GLsizei, samplers: *mut GLuint)
pub unsafe fn GenSamplers(&self, count: GLsizei, samplers: *mut GLuint)
glGenSamplers(count, samplers)
samplers
len: count
Sourcepub unsafe fn GenTextures(&self, n: GLsizei, textures: *mut GLuint)
pub unsafe fn GenTextures(&self, n: GLsizei, textures: *mut GLuint)
glGenTextures(n, textures)
textures
group: Texturetextures
len: n
Sourcepub unsafe fn GenTransformFeedbacks(&self, n: GLsizei, ids: *mut GLuint)
pub unsafe fn GenTransformFeedbacks(&self, n: GLsizei, ids: *mut GLuint)
glGenTransformFeedbacks(n, ids)
ids
len: n
Sourcepub unsafe fn GenVertexArrays(&self, n: GLsizei, arrays: *mut GLuint)
pub unsafe fn GenVertexArrays(&self, n: GLsizei, arrays: *mut GLuint)
glGenVertexArrays(n, arrays)
arrays
len: n
Sourcepub unsafe fn GenerateMipmap(&self, target: GLenum)
pub unsafe fn GenerateMipmap(&self, target: GLenum)
glGenerateMipmap(target)
target
group: TextureTarget
Sourcepub unsafe fn GetActiveAttrib(
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLint,
type_: *mut GLenum,
name: *mut GLchar,
)
pub unsafe fn GetActiveAttrib( &self, program: GLuint, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, size: *mut GLint, type_: *mut GLenum, name: *mut GLchar, )
glGetActiveAttrib(program, index, bufSize, length, size, type_, name)
length
len: 1size
len: 1type_
group: AttributeTypetype_
len: 1name
len: bufSize
Sourcepub unsafe fn GetActiveUniform(
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLint,
type_: *mut GLenum,
name: *mut GLchar,
)
pub unsafe fn GetActiveUniform( &self, program: GLuint, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, size: *mut GLint, type_: *mut GLenum, name: *mut GLchar, )
glGetActiveUniform(program, index, bufSize, length, size, type_, name)
length
len: 1size
len: 1type_
group: UniformTypetype_
len: 1name
len: bufSize
Sourcepub unsafe fn GetActiveUniformBlockName(
&self,
program: GLuint,
uniformBlockIndex: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
uniformBlockName: *mut GLchar,
)
pub unsafe fn GetActiveUniformBlockName( &self, program: GLuint, uniformBlockIndex: GLuint, bufSize: GLsizei, length: *mut GLsizei, uniformBlockName: *mut GLchar, )
glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName)
length
len: 1uniformBlockName
len: bufSize
Sourcepub unsafe fn GetActiveUniformBlockiv(
&self,
program: GLuint,
uniformBlockIndex: GLuint,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetActiveUniformBlockiv( &self, program: GLuint, uniformBlockIndex: GLuint, pname: GLenum, params: *mut GLint, )
glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params)
pname
group: UniformBlockPNameparams
len: COMPSIZE(program,uniformBlockIndex,pname)
Sourcepub unsafe fn GetActiveUniformsiv(
&self,
program: GLuint,
uniformCount: GLsizei,
uniformIndices: *const GLuint,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetActiveUniformsiv( &self, program: GLuint, uniformCount: GLsizei, uniformIndices: *const GLuint, pname: GLenum, params: *mut GLint, )
glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params)
uniformIndices
len: uniformCountpname
group: UniformPNameparams
len: COMPSIZE(uniformCount,pname)
Sourcepub unsafe fn GetAttachedShaders(
&self,
program: GLuint,
maxCount: GLsizei,
count: *mut GLsizei,
shaders: *mut GLuint,
)
pub unsafe fn GetAttachedShaders( &self, program: GLuint, maxCount: GLsizei, count: *mut GLsizei, shaders: *mut GLuint, )
glGetAttachedShaders(program, maxCount, count, shaders)
count
len: 1shaders
len: maxCount
Sourcepub unsafe fn GetAttribLocation(
&self,
program: GLuint,
name: *const GLchar,
) -> GLint
pub unsafe fn GetAttribLocation( &self, program: GLuint, name: *const GLchar, ) -> GLint
glGetAttribLocation(program, name)
Sourcepub unsafe fn GetBooleanv(&self, pname: GLenum, data: *mut GLboolean)
pub unsafe fn GetBooleanv(&self, pname: GLenum, data: *mut GLboolean)
glGetBooleanv(pname, data)
pname
group: GetPNamedata
len: COMPSIZE(pname)
Sourcepub unsafe fn GetBufferParameteri64v(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint64,
)
pub unsafe fn GetBufferParameteri64v( &self, target: GLenum, pname: GLenum, params: *mut GLint64, )
glGetBufferParameteri64v(target, pname, params)
target
group: BufferTargetARBpname
group: BufferPNameARBparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetBufferParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetBufferParameteriv( &self, target: GLenum, pname: GLenum, params: *mut GLint, )
glGetBufferParameteriv(target, pname, params)
target
group: BufferTargetARBpname
group: BufferPNameARBparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetBufferPointerv(
&self,
target: GLenum,
pname: GLenum,
params: *mut *mut c_void,
)
pub unsafe fn GetBufferPointerv( &self, target: GLenum, pname: GLenum, params: *mut *mut c_void, )
glGetBufferPointerv(target, pname, params)
target
group: BufferTargetARBpname
group: BufferPointerNameARBparams
len: 1
Sourcepub unsafe fn GetDebugMessageLogKHR(
&self,
count: GLuint,
bufSize: GLsizei,
sources: *mut GLenum,
types: *mut GLenum,
ids: *mut GLuint,
severities: *mut GLenum,
lengths: *mut GLsizei,
messageLog: *mut GLchar,
) -> GLuint
Available on crate feature GL_KHR_debug
only.
pub unsafe fn GetDebugMessageLogKHR( &self, count: GLuint, bufSize: GLsizei, sources: *mut GLenum, types: *mut GLenum, ids: *mut GLuint, severities: *mut GLenum, lengths: *mut GLsizei, messageLog: *mut GLchar, ) -> GLuint
GL_KHR_debug
only.glGetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, messageLog)
sources
group: DebugSourcesources
len: counttypes
group: DebugTypetypes
len: countids
len: countseverities
group: DebugSeverityseverities
len: countlengths
len: countmessageLog
len: bufSize- alias of: [
glGetDebugMessageLog
]
Sourcepub unsafe fn GetFloatv(&self, pname: GLenum, data: *mut GLfloat)
pub unsafe fn GetFloatv(&self, pname: GLenum, data: *mut GLfloat)
glGetFloatv(pname, data)
pname
group: GetPNamedata
len: COMPSIZE(pname)
Sourcepub unsafe fn GetFragDataLocation(
&self,
program: GLuint,
name: *const GLchar,
) -> GLint
pub unsafe fn GetFragDataLocation( &self, program: GLuint, name: *const GLchar, ) -> GLint
glGetFragDataLocation(program, name)
name
len: COMPSIZE(name)
Sourcepub unsafe fn GetFramebufferAttachmentParameteriv(
&self,
target: GLenum,
attachment: GLenum,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetFramebufferAttachmentParameteriv( &self, target: GLenum, attachment: GLenum, pname: GLenum, params: *mut GLint, )
glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)
target
group: FramebufferTargetattachment
group: FramebufferAttachmentpname
group: FramebufferAttachmentParameterNameparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetInteger64i_v(
&self,
target: GLenum,
index: GLuint,
data: *mut GLint64,
)
pub unsafe fn GetInteger64i_v( &self, target: GLenum, index: GLuint, data: *mut GLint64, )
glGetInteger64i_v(target, index, data)
data
len: COMPSIZE(target)
Sourcepub unsafe fn GetInteger64v(&self, pname: GLenum, data: *mut GLint64)
pub unsafe fn GetInteger64v(&self, pname: GLenum, data: *mut GLint64)
glGetInteger64v(pname, data)
pname
group: GetPNamedata
len: COMPSIZE(pname)
Sourcepub unsafe fn GetIntegeri_v(
&self,
target: GLenum,
index: GLuint,
data: *mut GLint,
)
pub unsafe fn GetIntegeri_v( &self, target: GLenum, index: GLuint, data: *mut GLint, )
glGetIntegeri_v(target, index, data)
data
len: COMPSIZE(target)
Sourcepub unsafe fn GetIntegerv(&self, pname: GLenum, data: *mut GLint)
pub unsafe fn GetIntegerv(&self, pname: GLenum, data: *mut GLint)
glGetIntegerv(pname, data)
pname
group: GetPNamedata
len: COMPSIZE(pname)
Sourcepub unsafe fn GetInternalformativ(
&self,
target: GLenum,
internalformat: GLenum,
pname: GLenum,
count: GLsizei,
params: *mut GLint,
)
pub unsafe fn GetInternalformativ( &self, target: GLenum, internalformat: GLenum, pname: GLenum, count: GLsizei, params: *mut GLint, )
glGetInternalformativ(target, internalformat, pname, count, params)
target
group: TextureTargetinternalformat
group: InternalFormatpname
group: InternalFormatPNameparams
len: count
Sourcepub unsafe fn GetObjectLabelKHR(
&self,
identifier: GLenum,
name: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
label: *mut GLchar,
)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn GetObjectLabelKHR( &self, identifier: GLenum, name: GLuint, bufSize: GLsizei, length: *mut GLsizei, label: *mut GLchar, )
GL_KHR_debug
only.glGetObjectLabelKHR(identifier, name, bufSize, length, label)
label
len: bufSize- alias of: [
glGetObjectLabel
]
Sourcepub unsafe fn GetObjectPtrLabelKHR(
&self,
ptr: *const c_void,
bufSize: GLsizei,
length: *mut GLsizei,
label: *mut GLchar,
)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn GetObjectPtrLabelKHR( &self, ptr: *const c_void, bufSize: GLsizei, length: *mut GLsizei, label: *mut GLchar, )
GL_KHR_debug
only.glGetObjectPtrLabelKHR(ptr, bufSize, length, label)
length
len: 1label
len: bufSize- alias of: [
glGetObjectPtrLabel
]
Sourcepub unsafe fn GetPointervKHR(&self, pname: GLenum, params: *mut *mut c_void)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn GetPointervKHR(&self, pname: GLenum, params: *mut *mut c_void)
GL_KHR_debug
only.glGetPointervKHR(pname, params)
- alias of: [
glGetPointerv
]
Sourcepub unsafe fn GetProgramBinary(
&self,
program: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
binaryFormat: *mut GLenum,
binary: *mut c_void,
)
pub unsafe fn GetProgramBinary( &self, program: GLuint, bufSize: GLsizei, length: *mut GLsizei, binaryFormat: *mut GLenum, binary: *mut c_void, )
glGetProgramBinary(program, bufSize, length, binaryFormat, binary)
length
len: 1binaryFormat
len: 1binary
len: bufSize
Sourcepub unsafe fn GetProgramInfoLog(
&self,
program: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar,
)
pub unsafe fn GetProgramInfoLog( &self, program: GLuint, bufSize: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar, )
glGetProgramInfoLog(program, bufSize, length, infoLog)
length
len: 1infoLog
len: bufSize
Sourcepub unsafe fn GetProgramiv(
&self,
program: GLuint,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetProgramiv( &self, program: GLuint, pname: GLenum, params: *mut GLint, )
glGetProgramiv(program, pname, params)
pname
group: ProgramPropertyARBparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetQueryObjectuiv(
&self,
id: GLuint,
pname: GLenum,
params: *mut GLuint,
)
pub unsafe fn GetQueryObjectuiv( &self, id: GLuint, pname: GLenum, params: *mut GLuint, )
glGetQueryObjectuiv(id, pname, params)
pname
group: QueryObjectParameterNameparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetQueryiv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetQueryiv( &self, target: GLenum, pname: GLenum, params: *mut GLint, )
glGetQueryiv(target, pname, params)
target
group: QueryTargetpname
group: QueryParameterNameparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetRenderbufferParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetRenderbufferParameteriv( &self, target: GLenum, pname: GLenum, params: *mut GLint, )
glGetRenderbufferParameteriv(target, pname, params)
target
group: RenderbufferTargetpname
group: RenderbufferParameterNameparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetSamplerParameterfv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLfloat,
)
pub unsafe fn GetSamplerParameterfv( &self, sampler: GLuint, pname: GLenum, params: *mut GLfloat, )
glGetSamplerParameterfv(sampler, pname, params)
pname
group: SamplerParameterFparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetSamplerParameteriv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetSamplerParameteriv( &self, sampler: GLuint, pname: GLenum, params: *mut GLint, )
glGetSamplerParameteriv(sampler, pname, params)
pname
group: SamplerParameterIparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetShaderInfoLog(
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar,
)
pub unsafe fn GetShaderInfoLog( &self, shader: GLuint, bufSize: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar, )
glGetShaderInfoLog(shader, bufSize, length, infoLog)
length
len: 1infoLog
len: bufSize
Sourcepub unsafe fn GetShaderPrecisionFormat(
&self,
shadertype: GLenum,
precisiontype: GLenum,
range: *mut GLint,
precision: *mut GLint,
)
pub unsafe fn GetShaderPrecisionFormat( &self, shadertype: GLenum, precisiontype: GLenum, range: *mut GLint, precision: *mut GLint, )
glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision)
shadertype
group: ShaderTypeprecisiontype
group: PrecisionTyperange
len: 2precision
len: 1
Sourcepub unsafe fn GetShaderSource(
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
source: *mut GLchar,
)
pub unsafe fn GetShaderSource( &self, shader: GLuint, bufSize: GLsizei, length: *mut GLsizei, source: *mut GLchar, )
glGetShaderSource(shader, bufSize, length, source)
length
len: 1source
len: bufSize
Sourcepub unsafe fn GetShaderiv(
&self,
shader: GLuint,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetShaderiv( &self, shader: GLuint, pname: GLenum, params: *mut GLint, )
glGetShaderiv(shader, pname, params)
pname
group: ShaderParameterNameparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetString(&self, name: GLenum) -> *const GLubyte
pub unsafe fn GetString(&self, name: GLenum) -> *const GLubyte
glGetString(name)
name
group: StringName- return value group: String
Sourcepub unsafe fn GetStringi(&self, name: GLenum, index: GLuint) -> *const GLubyte
pub unsafe fn GetStringi(&self, name: GLenum, index: GLuint) -> *const GLubyte
glGetStringi(name, index)
name
group: StringName- return value group: String
Sourcepub unsafe fn GetSynciv(
&self,
sync: GLsync,
pname: GLenum,
count: GLsizei,
length: *mut GLsizei,
values: *mut GLint,
)
pub unsafe fn GetSynciv( &self, sync: GLsync, pname: GLenum, count: GLsizei, length: *mut GLsizei, values: *mut GLint, )
glGetSynciv(sync, pname, count, length, values)
sync
group: syncpname
group: SyncParameterNamelength
len: 1values
len: count
Sourcepub unsafe fn GetTexParameterfv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLfloat,
)
pub unsafe fn GetTexParameterfv( &self, target: GLenum, pname: GLenum, params: *mut GLfloat, )
glGetTexParameterfv(target, pname, params)
target
group: TextureTargetpname
group: GetTextureParameterparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetTexParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetTexParameteriv( &self, target: GLenum, pname: GLenum, params: *mut GLint, )
glGetTexParameteriv(target, pname, params)
target
group: TextureTargetpname
group: GetTextureParameterparams
len: COMPSIZE(pname)
Sourcepub unsafe fn GetTransformFeedbackVarying(
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLsizei,
type_: *mut GLenum,
name: *mut GLchar,
)
pub unsafe fn GetTransformFeedbackVarying( &self, program: GLuint, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, size: *mut GLsizei, type_: *mut GLenum, name: *mut GLchar, )
glGetTransformFeedbackVarying(program, index, bufSize, length, size, type_, name)
length
len: 1size
len: 1type_
group: AttributeTypetype_
len: 1name
len: bufSize
Sourcepub unsafe fn GetUniformBlockIndex(
&self,
program: GLuint,
uniformBlockName: *const GLchar,
) -> GLuint
pub unsafe fn GetUniformBlockIndex( &self, program: GLuint, uniformBlockName: *const GLchar, ) -> GLuint
glGetUniformBlockIndex(program, uniformBlockName)
uniformBlockName
len: COMPSIZE()
Sourcepub unsafe fn GetUniformIndices(
&self,
program: GLuint,
uniformCount: GLsizei,
uniformNames: *const *const GLchar,
uniformIndices: *mut GLuint,
)
pub unsafe fn GetUniformIndices( &self, program: GLuint, uniformCount: GLsizei, uniformNames: *const *const GLchar, uniformIndices: *mut GLuint, )
glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices)
uniformNames
len: COMPSIZE(uniformCount)uniformIndices
len: COMPSIZE(uniformCount)
Sourcepub unsafe fn GetUniformLocation(
&self,
program: GLuint,
name: *const GLchar,
) -> GLint
pub unsafe fn GetUniformLocation( &self, program: GLuint, name: *const GLchar, ) -> GLint
glGetUniformLocation(program, name)
Sourcepub unsafe fn GetUniformfv(
&self,
program: GLuint,
location: GLint,
params: *mut GLfloat,
)
pub unsafe fn GetUniformfv( &self, program: GLuint, location: GLint, params: *mut GLfloat, )
glGetUniformfv(program, location, params)
params
len: COMPSIZE(program,location)
Sourcepub unsafe fn GetUniformiv(
&self,
program: GLuint,
location: GLint,
params: *mut GLint,
)
pub unsafe fn GetUniformiv( &self, program: GLuint, location: GLint, params: *mut GLint, )
glGetUniformiv(program, location, params)
params
len: COMPSIZE(program,location)
Sourcepub unsafe fn GetUniformuiv(
&self,
program: GLuint,
location: GLint,
params: *mut GLuint,
)
pub unsafe fn GetUniformuiv( &self, program: GLuint, location: GLint, params: *mut GLuint, )
glGetUniformuiv(program, location, params)
params
len: COMPSIZE(program,location)
Sourcepub unsafe fn GetVertexAttribIiv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetVertexAttribIiv( &self, index: GLuint, pname: GLenum, params: *mut GLint, )
glGetVertexAttribIiv(index, pname, params)
pname
group: VertexAttribEnumparams
len: 1
Sourcepub unsafe fn GetVertexAttribIuiv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLuint,
)
pub unsafe fn GetVertexAttribIuiv( &self, index: GLuint, pname: GLenum, params: *mut GLuint, )
glGetVertexAttribIuiv(index, pname, params)
pname
group: VertexAttribEnumparams
len: 1
Sourcepub unsafe fn GetVertexAttribPointerv(
&self,
index: GLuint,
pname: GLenum,
pointer: *mut *mut c_void,
)
pub unsafe fn GetVertexAttribPointerv( &self, index: GLuint, pname: GLenum, pointer: *mut *mut c_void, )
glGetVertexAttribPointerv(index, pname, pointer)
pname
group: VertexAttribPointerPropertyARBpointer
len: 1
Sourcepub unsafe fn GetVertexAttribfv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLfloat,
)
pub unsafe fn GetVertexAttribfv( &self, index: GLuint, pname: GLenum, params: *mut GLfloat, )
glGetVertexAttribfv(index, pname, params)
pname
group: VertexAttribPropertyARBparams
len: 4
Sourcepub unsafe fn GetVertexAttribiv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint,
)
pub unsafe fn GetVertexAttribiv( &self, index: GLuint, pname: GLenum, params: *mut GLint, )
glGetVertexAttribiv(index, pname, params)
pname
group: VertexAttribPropertyARBparams
len: 4
Sourcepub unsafe fn Hint(&self, target: GLenum, mode: GLenum)
pub unsafe fn Hint(&self, target: GLenum, mode: GLenum)
glHint(target, mode)
target
group: HintTargetmode
group: HintMode
Sourcepub unsafe fn InvalidateFramebuffer(
&self,
target: GLenum,
numAttachments: GLsizei,
attachments: *const GLenum,
)
pub unsafe fn InvalidateFramebuffer( &self, target: GLenum, numAttachments: GLsizei, attachments: *const GLenum, )
glInvalidateFramebuffer(target, numAttachments, attachments)
target
group: FramebufferTargetattachments
group: InvalidateFramebufferAttachmentattachments
len: numAttachments
Sourcepub unsafe fn InvalidateSubFramebuffer(
&self,
target: GLenum,
numAttachments: GLsizei,
attachments: *const GLenum,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
)
pub unsafe fn InvalidateSubFramebuffer( &self, target: GLenum, numAttachments: GLsizei, attachments: *const GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )
glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height)
target
group: FramebufferTargetattachments
group: InvalidateFramebufferAttachmentattachments
len: numAttachments
Sourcepub unsafe fn IsBuffer(&self, buffer: GLuint) -> GLboolean
pub unsafe fn IsBuffer(&self, buffer: GLuint) -> GLboolean
glIsBuffer(buffer)
Sourcepub unsafe fn IsEnabled(&self, cap: GLenum) -> GLboolean
pub unsafe fn IsEnabled(&self, cap: GLenum) -> GLboolean
glIsEnabled(cap)
cap
group: EnableCap
Sourcepub unsafe fn IsFramebuffer(&self, framebuffer: GLuint) -> GLboolean
pub unsafe fn IsFramebuffer(&self, framebuffer: GLuint) -> GLboolean
glIsFramebuffer(framebuffer)
Sourcepub unsafe fn IsProgram(&self, program: GLuint) -> GLboolean
pub unsafe fn IsProgram(&self, program: GLuint) -> GLboolean
glIsProgram(program)
Sourcepub unsafe fn IsRenderbuffer(&self, renderbuffer: GLuint) -> GLboolean
pub unsafe fn IsRenderbuffer(&self, renderbuffer: GLuint) -> GLboolean
glIsRenderbuffer(renderbuffer)
Sourcepub unsafe fn IsSampler(&self, sampler: GLuint) -> GLboolean
pub unsafe fn IsSampler(&self, sampler: GLuint) -> GLboolean
glIsSampler(sampler)
Sourcepub unsafe fn IsShader(&self, shader: GLuint) -> GLboolean
pub unsafe fn IsShader(&self, shader: GLuint) -> GLboolean
glIsShader(shader)
Sourcepub unsafe fn IsTexture(&self, texture: GLuint) -> GLboolean
pub unsafe fn IsTexture(&self, texture: GLuint) -> GLboolean
glIsTexture(texture)
texture
group: Texture
Sourcepub unsafe fn IsTransformFeedback(&self, id: GLuint) -> GLboolean
pub unsafe fn IsTransformFeedback(&self, id: GLuint) -> GLboolean
Sourcepub unsafe fn IsVertexArray(&self, array: GLuint) -> GLboolean
pub unsafe fn IsVertexArray(&self, array: GLuint) -> GLboolean
glIsVertexArray(array)
Sourcepub unsafe fn LineWidth(&self, width: GLfloat)
pub unsafe fn LineWidth(&self, width: GLfloat)
glLineWidth(width)
width
group: CheckedFloat32
Sourcepub unsafe fn LinkProgram(&self, program: GLuint)
pub unsafe fn LinkProgram(&self, program: GLuint)
glLinkProgram(program)
Sourcepub unsafe fn MapBufferRange(
&self,
target: GLenum,
offset: GLintptr,
length: GLsizeiptr,
access: GLbitfield,
) -> *mut c_void
pub unsafe fn MapBufferRange( &self, target: GLenum, offset: GLintptr, length: GLsizeiptr, access: GLbitfield, ) -> *mut c_void
glMapBufferRange(target, offset, length, access)
target
group: BufferTargetARBoffset
group: BufferOffsetlength
group: BufferSizeaccess
group: MapBufferAccessMask
Sourcepub unsafe fn ObjectLabelKHR(
&self,
identifier: GLenum,
name: GLuint,
length: GLsizei,
label: *const GLchar,
)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn ObjectLabelKHR( &self, identifier: GLenum, name: GLuint, length: GLsizei, label: *const GLchar, )
GL_KHR_debug
only.glObjectLabelKHR(identifier, name, length, label)
identifier
group: ObjectIdentifier- alias of: [
glObjectLabel
]
Sourcepub unsafe fn ObjectPtrLabelKHR(
&self,
ptr: *const c_void,
length: GLsizei,
label: *const GLchar,
)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn ObjectPtrLabelKHR( &self, ptr: *const c_void, length: GLsizei, label: *const GLchar, )
GL_KHR_debug
only.glObjectPtrLabelKHR(ptr, length, label)
- alias of: [
glObjectPtrLabel
]
Sourcepub unsafe fn PauseTransformFeedback(&self)
pub unsafe fn PauseTransformFeedback(&self)
Sourcepub unsafe fn PixelStorei(&self, pname: GLenum, param: GLint)
pub unsafe fn PixelStorei(&self, pname: GLenum, param: GLint)
glPixelStorei(pname, param)
pname
group: PixelStoreParameterparam
group: CheckedInt32
Sourcepub unsafe fn PolygonOffset(&self, factor: GLfloat, units: GLfloat)
pub unsafe fn PolygonOffset(&self, factor: GLfloat, units: GLfloat)
glPolygonOffset(factor, units)
Sourcepub unsafe fn PopDebugGroupKHR(&self)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn PopDebugGroupKHR(&self)
GL_KHR_debug
only.- alias of: [
glPopDebugGroup
]
Sourcepub unsafe fn ProgramBinary(
&self,
program: GLuint,
binaryFormat: GLenum,
binary: *const c_void,
length: GLsizei,
)
pub unsafe fn ProgramBinary( &self, program: GLuint, binaryFormat: GLenum, binary: *const c_void, length: GLsizei, )
glProgramBinary(program, binaryFormat, binary, length)
binary
len: length
Sourcepub unsafe fn ProgramParameteri(
&self,
program: GLuint,
pname: GLenum,
value: GLint,
)
pub unsafe fn ProgramParameteri( &self, program: GLuint, pname: GLenum, value: GLint, )
glProgramParameteri(program, pname, value)
pname
group: ProgramParameterPName
Sourcepub unsafe fn PushDebugGroupKHR(
&self,
source: GLenum,
id: GLuint,
length: GLsizei,
message: *const GLchar,
)
Available on crate feature GL_KHR_debug
only.
pub unsafe fn PushDebugGroupKHR( &self, source: GLenum, id: GLuint, length: GLsizei, message: *const GLchar, )
GL_KHR_debug
only.glPushDebugGroupKHR(source, id, length, message)
source
group: DebugSource- alias of: [
glPushDebugGroup
]
Sourcepub unsafe fn ReadBuffer(&self, src: GLenum)
pub unsafe fn ReadBuffer(&self, src: GLenum)
glReadBuffer(src)
src
group: ReadBufferMode
Sourcepub unsafe fn ReadPixels(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *mut c_void,
)
pub unsafe fn ReadPixels( &self, x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type_: GLenum, pixels: *mut c_void, )
glReadPixels(x, y, width, height, format, type_, pixels)
x
group: WinCoordy
group: WinCoordformat
group: PixelFormattype_
group: PixelTypepixels
len: COMPSIZE(format,type,width,height)
Sourcepub unsafe fn ReleaseShaderCompiler(&self)
pub unsafe fn ReleaseShaderCompiler(&self)
Sourcepub unsafe fn RenderbufferStorage(
&self,
target: GLenum,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
)
pub unsafe fn RenderbufferStorage( &self, target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei, )
glRenderbufferStorage(target, internalformat, width, height)
target
group: RenderbufferTargetinternalformat
group: InternalFormat
Sourcepub unsafe fn RenderbufferStorageMultisample(
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
)
pub unsafe fn RenderbufferStorageMultisample( &self, target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, )
glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
target
group: RenderbufferTargetinternalformat
group: InternalFormat
Sourcepub unsafe fn ResumeTransformFeedback(&self)
pub unsafe fn ResumeTransformFeedback(&self)
Sourcepub unsafe fn SampleCoverage(&self, value: GLfloat, invert: GLboolean)
pub unsafe fn SampleCoverage(&self, value: GLfloat, invert: GLboolean)
glSampleCoverage(value, invert)
Sourcepub unsafe fn SamplerParameterf(
&self,
sampler: GLuint,
pname: GLenum,
param: GLfloat,
)
pub unsafe fn SamplerParameterf( &self, sampler: GLuint, pname: GLenum, param: GLfloat, )
glSamplerParameterf(sampler, pname, param)
pname
group: SamplerParameterF
Sourcepub unsafe fn SamplerParameterfv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLfloat,
)
pub unsafe fn SamplerParameterfv( &self, sampler: GLuint, pname: GLenum, param: *const GLfloat, )
glSamplerParameterfv(sampler, pname, param)
pname
group: SamplerParameterFparam
len: COMPSIZE(pname)
Sourcepub unsafe fn SamplerParameteri(
&self,
sampler: GLuint,
pname: GLenum,
param: GLint,
)
pub unsafe fn SamplerParameteri( &self, sampler: GLuint, pname: GLenum, param: GLint, )
glSamplerParameteri(sampler, pname, param)
pname
group: SamplerParameterI
Sourcepub unsafe fn SamplerParameteriv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLint,
)
pub unsafe fn SamplerParameteriv( &self, sampler: GLuint, pname: GLenum, param: *const GLint, )
glSamplerParameteriv(sampler, pname, param)
pname
group: SamplerParameterIparam
len: COMPSIZE(pname)
Sourcepub unsafe fn Scissor(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
)
pub unsafe fn Scissor( &self, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )
glScissor(x, y, width, height)
x
group: WinCoordy
group: WinCoord
Sourcepub unsafe fn ShaderBinary(
&self,
count: GLsizei,
shaders: *const GLuint,
binaryformat: GLenum,
binary: *const c_void,
length: GLsizei,
)
pub unsafe fn ShaderBinary( &self, count: GLsizei, shaders: *const GLuint, binaryformat: GLenum, binary: *const c_void, length: GLsizei, )
glShaderBinary(count, shaders, binaryformat, binary, length)
shaders
len: countbinary
len: length
Sourcepub unsafe fn ShaderSource(
&self,
shader: GLuint,
count: GLsizei,
string: *const *const GLchar,
length: *const GLint,
)
pub unsafe fn ShaderSource( &self, shader: GLuint, count: GLsizei, string: *const *const GLchar, length: *const GLint, )
glShaderSource(shader, count, string, length)
string
len: countlength
len: count
Sourcepub unsafe fn StencilFunc(&self, func: GLenum, ref_: GLint, mask: GLuint)
pub unsafe fn StencilFunc(&self, func: GLenum, ref_: GLint, mask: GLuint)
glStencilFunc(func, ref_, mask)
func
group: StencilFunctionref_
group: StencilValuemask
group: MaskedStencilValue
Sourcepub unsafe fn StencilFuncSeparate(
&self,
face: GLenum,
func: GLenum,
ref_: GLint,
mask: GLuint,
)
pub unsafe fn StencilFuncSeparate( &self, face: GLenum, func: GLenum, ref_: GLint, mask: GLuint, )
glStencilFuncSeparate(face, func, ref_, mask)
face
group: StencilFaceDirectionfunc
group: StencilFunctionref_
group: StencilValuemask
group: MaskedStencilValue
Sourcepub unsafe fn StencilMask(&self, mask: GLuint)
pub unsafe fn StencilMask(&self, mask: GLuint)
glStencilMask(mask)
mask
group: MaskedStencilValue
Sourcepub unsafe fn StencilMaskSeparate(&self, face: GLenum, mask: GLuint)
pub unsafe fn StencilMaskSeparate(&self, face: GLenum, mask: GLuint)
glStencilMaskSeparate(face, mask)
face
group: StencilFaceDirectionmask
group: MaskedStencilValue
Sourcepub unsafe fn StencilOp(&self, fail: GLenum, zfail: GLenum, zpass: GLenum)
pub unsafe fn StencilOp(&self, fail: GLenum, zfail: GLenum, zpass: GLenum)
glStencilOp(fail, zfail, zpass)
fail
group: StencilOpzfail
group: StencilOpzpass
group: StencilOp
Sourcepub unsafe fn StencilOpSeparate(
&self,
face: GLenum,
sfail: GLenum,
dpfail: GLenum,
dppass: GLenum,
)
pub unsafe fn StencilOpSeparate( &self, face: GLenum, sfail: GLenum, dpfail: GLenum, dppass: GLenum, )
glStencilOpSeparate(face, sfail, dpfail, dppass)
face
group: StencilFaceDirectionsfail
group: StencilOpdpfail
group: StencilOpdppass
group: StencilOp
Sourcepub unsafe fn TexImage2D(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void,
)
pub unsafe fn TexImage2D( &self, target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type_: GLenum, pixels: *const c_void, )
glTexImage2D(target, level, internalformat, width, height, border, format, type_, pixels)
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32format
group: PixelFormattype_
group: PixelTypepixels
len: COMPSIZE(format,type,width,height)
Sourcepub unsafe fn TexImage3D(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void,
)
pub unsafe fn TexImage3D( &self, target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type_: GLenum, pixels: *const c_void, )
glTexImage3D(target, level, internalformat, width, height, depth, border, format, type_, pixels)
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32format
group: PixelFormattype_
group: PixelTypepixels
len: COMPSIZE(format,type,width,height,depth)
Sourcepub unsafe fn TexParameterf(
&self,
target: GLenum,
pname: GLenum,
param: GLfloat,
)
pub unsafe fn TexParameterf( &self, target: GLenum, pname: GLenum, param: GLfloat, )
glTexParameterf(target, pname, param)
target
group: TextureTargetpname
group: TextureParameterNameparam
group: CheckedFloat32
Sourcepub unsafe fn TexParameterfv(
&self,
target: GLenum,
pname: GLenum,
params: *const GLfloat,
)
pub unsafe fn TexParameterfv( &self, target: GLenum, pname: GLenum, params: *const GLfloat, )
glTexParameterfv(target, pname, params)
target
group: TextureTargetpname
group: TextureParameterNameparams
group: CheckedFloat32params
len: COMPSIZE(pname)
Sourcepub unsafe fn TexParameteri(&self, target: GLenum, pname: GLenum, param: GLint)
pub unsafe fn TexParameteri(&self, target: GLenum, pname: GLenum, param: GLint)
glTexParameteri(target, pname, param)
target
group: TextureTargetpname
group: TextureParameterNameparam
group: CheckedInt32
Sourcepub unsafe fn TexParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *const GLint,
)
pub unsafe fn TexParameteriv( &self, target: GLenum, pname: GLenum, params: *const GLint, )
glTexParameteriv(target, pname, params)
target
group: TextureTargetpname
group: TextureParameterNameparams
group: CheckedInt32params
len: COMPSIZE(pname)
Sourcepub unsafe fn TexStorage2D(
&self,
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
)
pub unsafe fn TexStorage2D( &self, target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, )
glTexStorage2D(target, levels, internalformat, width, height)
target
group: TextureTargetinternalformat
group: InternalFormat
Sourcepub unsafe fn TexStorage3D(
&self,
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
)
pub unsafe fn TexStorage3D( &self, target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, )
glTexStorage3D(target, levels, internalformat, width, height, depth)
target
group: TextureTargetinternalformat
group: InternalFormat
Sourcepub unsafe fn TexSubImage2D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *const c_void,
)
pub unsafe fn TexSubImage2D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type_: GLenum, pixels: *const c_void, )
glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type_, pixels)
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32format
group: PixelFormattype_
group: PixelTypepixels
len: COMPSIZE(format,type,width,height)
Sourcepub unsafe fn TexSubImage3D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *const c_void,
)
pub unsafe fn TexSubImage3D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type_: GLenum, pixels: *const c_void, )
glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type_, pixels)
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32zoffset
group: CheckedInt32format
group: PixelFormattype_
group: PixelTypepixels
len: COMPSIZE(format,type,width,height,depth)
Sourcepub unsafe fn TransformFeedbackVaryings(
&self,
program: GLuint,
count: GLsizei,
varyings: *const *const GLchar,
bufferMode: GLenum,
)
pub unsafe fn TransformFeedbackVaryings( &self, program: GLuint, count: GLsizei, varyings: *const *const GLchar, bufferMode: GLenum, )
glTransformFeedbackVaryings(program, count, varyings, bufferMode)
varyings
len: countbufferMode
group: TransformFeedbackBufferMode
Sourcepub unsafe fn Uniform1f(&self, location: GLint, v0: GLfloat)
pub unsafe fn Uniform1f(&self, location: GLint, v0: GLfloat)
glUniform1f(location, v0)
Sourcepub unsafe fn Uniform1fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat,
)
pub unsafe fn Uniform1fv( &self, location: GLint, count: GLsizei, value: *const GLfloat, )
glUniform1fv(location, count, value)
value
len: count*1
Sourcepub unsafe fn Uniform1i(&self, location: GLint, v0: GLint)
pub unsafe fn Uniform1i(&self, location: GLint, v0: GLint)
glUniform1i(location, v0)
Sourcepub unsafe fn Uniform1iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint,
)
pub unsafe fn Uniform1iv( &self, location: GLint, count: GLsizei, value: *const GLint, )
glUniform1iv(location, count, value)
value
len: count*1
Sourcepub unsafe fn Uniform1ui(&self, location: GLint, v0: GLuint)
pub unsafe fn Uniform1ui(&self, location: GLint, v0: GLuint)
glUniform1ui(location, v0)
Sourcepub unsafe fn Uniform1uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint,
)
pub unsafe fn Uniform1uiv( &self, location: GLint, count: GLsizei, value: *const GLuint, )
glUniform1uiv(location, count, value)
value
len: count*1
Sourcepub unsafe fn Uniform2f(&self, location: GLint, v0: GLfloat, v1: GLfloat)
pub unsafe fn Uniform2f(&self, location: GLint, v0: GLfloat, v1: GLfloat)
glUniform2f(location, v0, v1)
Sourcepub unsafe fn Uniform2fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat,
)
pub unsafe fn Uniform2fv( &self, location: GLint, count: GLsizei, value: *const GLfloat, )
glUniform2fv(location, count, value)
value
len: count*2
Sourcepub unsafe fn Uniform2i(&self, location: GLint, v0: GLint, v1: GLint)
pub unsafe fn Uniform2i(&self, location: GLint, v0: GLint, v1: GLint)
glUniform2i(location, v0, v1)
Sourcepub unsafe fn Uniform2iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint,
)
pub unsafe fn Uniform2iv( &self, location: GLint, count: GLsizei, value: *const GLint, )
glUniform2iv(location, count, value)
value
len: count*2
Sourcepub unsafe fn Uniform2ui(&self, location: GLint, v0: GLuint, v1: GLuint)
pub unsafe fn Uniform2ui(&self, location: GLint, v0: GLuint, v1: GLuint)
glUniform2ui(location, v0, v1)
Sourcepub unsafe fn Uniform2uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint,
)
pub unsafe fn Uniform2uiv( &self, location: GLint, count: GLsizei, value: *const GLuint, )
glUniform2uiv(location, count, value)
value
len: count*2
Sourcepub unsafe fn Uniform3f(
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat,
)
pub unsafe fn Uniform3f( &self, location: GLint, v0: GLfloat, v1: GLfloat, v2: GLfloat, )
glUniform3f(location, v0, v1, v2)
Sourcepub unsafe fn Uniform3fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat,
)
pub unsafe fn Uniform3fv( &self, location: GLint, count: GLsizei, value: *const GLfloat, )
glUniform3fv(location, count, value)
value
len: count*3
Sourcepub unsafe fn Uniform3i(&self, location: GLint, v0: GLint, v1: GLint, v2: GLint)
pub unsafe fn Uniform3i(&self, location: GLint, v0: GLint, v1: GLint, v2: GLint)
glUniform3i(location, v0, v1, v2)
Sourcepub unsafe fn Uniform3iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint,
)
pub unsafe fn Uniform3iv( &self, location: GLint, count: GLsizei, value: *const GLint, )
glUniform3iv(location, count, value)
value
len: count*3
Sourcepub unsafe fn Uniform3ui(
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint,
)
pub unsafe fn Uniform3ui( &self, location: GLint, v0: GLuint, v1: GLuint, v2: GLuint, )
glUniform3ui(location, v0, v1, v2)
Sourcepub unsafe fn Uniform3uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint,
)
pub unsafe fn Uniform3uiv( &self, location: GLint, count: GLsizei, value: *const GLuint, )
glUniform3uiv(location, count, value)
value
len: count*3
Sourcepub unsafe fn Uniform4f(
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat,
v3: GLfloat,
)
pub unsafe fn Uniform4f( &self, location: GLint, v0: GLfloat, v1: GLfloat, v2: GLfloat, v3: GLfloat, )
glUniform4f(location, v0, v1, v2, v3)
Sourcepub unsafe fn Uniform4fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat,
)
pub unsafe fn Uniform4fv( &self, location: GLint, count: GLsizei, value: *const GLfloat, )
glUniform4fv(location, count, value)
value
len: count*4
Sourcepub unsafe fn Uniform4i(
&self,
location: GLint,
v0: GLint,
v1: GLint,
v2: GLint,
v3: GLint,
)
pub unsafe fn Uniform4i( &self, location: GLint, v0: GLint, v1: GLint, v2: GLint, v3: GLint, )
glUniform4i(location, v0, v1, v2, v3)
Sourcepub unsafe fn Uniform4iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint,
)
pub unsafe fn Uniform4iv( &self, location: GLint, count: GLsizei, value: *const GLint, )
glUniform4iv(location, count, value)
value
len: count*4
Sourcepub unsafe fn Uniform4ui(
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint,
v3: GLuint,
)
pub unsafe fn Uniform4ui( &self, location: GLint, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint, )
glUniform4ui(location, v0, v1, v2, v3)
Sourcepub unsafe fn Uniform4uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint,
)
pub unsafe fn Uniform4uiv( &self, location: GLint, count: GLsizei, value: *const GLuint, )
glUniform4uiv(location, count, value)
value
len: count*4
Sourcepub unsafe fn UniformBlockBinding(
&self,
program: GLuint,
uniformBlockIndex: GLuint,
uniformBlockBinding: GLuint,
)
pub unsafe fn UniformBlockBinding( &self, program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint, )
glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding)
Sourcepub unsafe fn UniformMatrix2fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat,
)
pub unsafe fn UniformMatrix2fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )
glUniformMatrix2fv(location, count, transpose, value)
value
len: count*4
Sourcepub unsafe fn UniformMatrix2x3fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat,
)
pub unsafe fn UniformMatrix2x3fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )
glUniformMatrix2x3fv(location, count, transpose, value)
value
len: count*6
Sourcepub unsafe fn UniformMatrix2x4fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat,
)
pub unsafe fn UniformMatrix2x4fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )
glUniformMatrix2x4fv(location, count, transpose, value)
value
len: count*8
Sourcepub unsafe fn UniformMatrix3fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat,
)
pub unsafe fn UniformMatrix3fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )
glUniformMatrix3fv(location, count, transpose, value)
value
len: count*9
Sourcepub unsafe fn UniformMatrix3x2fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat,
)
pub unsafe fn UniformMatrix3x2fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )
glUniformMatrix3x2fv(location, count, transpose, value)
value
len: count*6
Sourcepub unsafe fn UniformMatrix3x4fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat,
)
pub unsafe fn UniformMatrix3x4fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )
glUniformMatrix3x4fv(location, count, transpose, value)
value
len: count*12
Sourcepub unsafe fn UniformMatrix4fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat,
)
pub unsafe fn UniformMatrix4fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )
glUniformMatrix4fv(location, count, transpose, value)
value
len: count*16
Sourcepub unsafe fn UniformMatrix4x2fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat,
)
pub unsafe fn UniformMatrix4x2fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )
glUniformMatrix4x2fv(location, count, transpose, value)
value
len: count*8
Sourcepub unsafe fn UniformMatrix4x3fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat,
)
pub unsafe fn UniformMatrix4x3fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )
glUniformMatrix4x3fv(location, count, transpose, value)
value
len: count*12
Sourcepub unsafe fn UnmapBuffer(&self, target: GLenum) -> GLboolean
pub unsafe fn UnmapBuffer(&self, target: GLenum) -> GLboolean
glUnmapBuffer(target)
target
group: BufferTargetARB
Sourcepub unsafe fn UseProgram(&self, program: GLuint)
pub unsafe fn UseProgram(&self, program: GLuint)
glUseProgram(program)
Sourcepub unsafe fn ValidateProgram(&self, program: GLuint)
pub unsafe fn ValidateProgram(&self, program: GLuint)
glValidateProgram(program)
Sourcepub unsafe fn VertexAttrib1f(&self, index: GLuint, x: GLfloat)
pub unsafe fn VertexAttrib1f(&self, index: GLuint, x: GLfloat)
glVertexAttrib1f(index, x)
- vector equivalent:
glVertexAttrib1fv
Sourcepub unsafe fn VertexAttrib1fv(&self, index: GLuint, v: *const GLfloat)
pub unsafe fn VertexAttrib1fv(&self, index: GLuint, v: *const GLfloat)
glVertexAttrib1fv(index, v)
v
len: 1
Sourcepub unsafe fn VertexAttrib2f(&self, index: GLuint, x: GLfloat, y: GLfloat)
pub unsafe fn VertexAttrib2f(&self, index: GLuint, x: GLfloat, y: GLfloat)
glVertexAttrib2f(index, x, y)
- vector equivalent:
glVertexAttrib2fv
Sourcepub unsafe fn VertexAttrib2fv(&self, index: GLuint, v: *const GLfloat)
pub unsafe fn VertexAttrib2fv(&self, index: GLuint, v: *const GLfloat)
glVertexAttrib2fv(index, v)
v
len: 2
Sourcepub unsafe fn VertexAttrib3f(
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat,
)
pub unsafe fn VertexAttrib3f( &self, index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, )
glVertexAttrib3f(index, x, y, z)
- vector equivalent:
glVertexAttrib3fv
Sourcepub unsafe fn VertexAttrib3fv(&self, index: GLuint, v: *const GLfloat)
pub unsafe fn VertexAttrib3fv(&self, index: GLuint, v: *const GLfloat)
glVertexAttrib3fv(index, v)
v
len: 3
Sourcepub unsafe fn VertexAttrib4f(
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat,
w: GLfloat,
)
pub unsafe fn VertexAttrib4f( &self, index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat, )
glVertexAttrib4f(index, x, y, z, w)
- vector equivalent:
glVertexAttrib4fv
Sourcepub unsafe fn VertexAttrib4fv(&self, index: GLuint, v: *const GLfloat)
pub unsafe fn VertexAttrib4fv(&self, index: GLuint, v: *const GLfloat)
glVertexAttrib4fv(index, v)
v
len: 4
Sourcepub unsafe fn VertexAttribDivisor(&self, index: GLuint, divisor: GLuint)
pub unsafe fn VertexAttribDivisor(&self, index: GLuint, divisor: GLuint)
glVertexAttribDivisor(index, divisor)
Sourcepub unsafe fn VertexAttribI4i(
&self,
index: GLuint,
x: GLint,
y: GLint,
z: GLint,
w: GLint,
)
pub unsafe fn VertexAttribI4i( &self, index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint, )
glVertexAttribI4i(index, x, y, z, w)
- vector equivalent:
glVertexAttribI4iv
Sourcepub unsafe fn VertexAttribI4iv(&self, index: GLuint, v: *const GLint)
pub unsafe fn VertexAttribI4iv(&self, index: GLuint, v: *const GLint)
glVertexAttribI4iv(index, v)
v
len: 4
Sourcepub unsafe fn VertexAttribI4ui(
&self,
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint,
w: GLuint,
)
pub unsafe fn VertexAttribI4ui( &self, index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint, )
glVertexAttribI4ui(index, x, y, z, w)
- vector equivalent:
glVertexAttribI4uiv
Sourcepub unsafe fn VertexAttribI4uiv(&self, index: GLuint, v: *const GLuint)
pub unsafe fn VertexAttribI4uiv(&self, index: GLuint, v: *const GLuint)
glVertexAttribI4uiv(index, v)
v
len: 4
Sourcepub unsafe fn VertexAttribIPointer(
&self,
index: GLuint,
size: GLint,
type_: GLenum,
stride: GLsizei,
pointer: *const c_void,
)
pub unsafe fn VertexAttribIPointer( &self, index: GLuint, size: GLint, type_: GLenum, stride: GLsizei, pointer: *const c_void, )
glVertexAttribIPointer(index, size, type_, stride, pointer)
type_
group: VertexAttribITypepointer
len: COMPSIZE(size,type,stride)
Sourcepub unsafe fn VertexAttribPointer(
&self,
index: GLuint,
size: GLint,
type_: GLenum,
normalized: GLboolean,
stride: GLsizei,
pointer: *const c_void,
)
pub unsafe fn VertexAttribPointer( &self, index: GLuint, size: GLint, type_: GLenum, normalized: GLboolean, stride: GLsizei, pointer: *const c_void, )
glVertexAttribPointer(index, size, type_, normalized, stride, pointer)
type_
group: VertexAttribPointerTypepointer
len: COMPSIZE(size,type,stride)
Sourcepub unsafe fn Viewport(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
)
pub unsafe fn Viewport( &self, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )
glViewport(x, y, width, height)
x
group: WinCoordy
group: WinCoord
Sourcepub unsafe fn WaitSync(
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64,
)
pub unsafe fn WaitSync( &self, sync: GLsync, flags: GLbitfield, timeout: GLuint64, )
glWaitSync(sync, flags, timeout)
sync
group: sync