[−][src]Struct gles30::GlFns
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
impl GlFns
[src]
pub fn load_with<F>(get_proc_address: F) -> Self where
F: FnMut(*const c_char) -> *mut c_void,
[src]
F: FnMut(*const c_char) -> *mut c_void,
Constructs a new struct with all pointers loaded by the
get_proc_address
given.
pub unsafe fn ActiveTexture(&self, texture: GLenum)
[src]
glActiveTexture(texture)
texture
group: TextureUnit
pub unsafe fn AttachShader(&self, program: GLuint, shader: GLuint)
[src]
glAttachShader(program, shader)
pub unsafe fn BeginQuery(&self, target: GLenum, id: GLuint)
[src]
glBeginQuery(target, id)
target
group: QueryTarget
pub unsafe fn BeginTransformFeedback(&self, primitiveMode: GLenum)
[src]
glBeginTransformFeedback(primitiveMode)
primitiveMode
group: PrimitiveType
pub unsafe fn BindAttribLocation(
&self,
program: GLuint,
index: GLuint,
name: *const GLchar
)
[src]
&self,
program: GLuint,
index: GLuint,
name: *const GLchar
)
glBindAttribLocation(program, index, name)
pub unsafe fn BindBuffer(&self, target: GLenum, buffer: GLuint)
[src]
glBindBuffer(target, buffer)
target
group: BufferTargetARB
pub unsafe fn BindBufferBase(
&self,
target: GLenum,
index: GLuint,
buffer: GLuint
)
[src]
&self,
target: GLenum,
index: GLuint,
buffer: GLuint
)
glBindBufferBase(target, index, buffer)
target
group: BufferTargetARB
pub unsafe fn BindBufferRange(
&self,
target: GLenum,
index: GLuint,
buffer: GLuint,
offset: GLintptr,
size: GLsizeiptr
)
[src]
&self,
target: GLenum,
index: GLuint,
buffer: GLuint,
offset: GLintptr,
size: GLsizeiptr
)
glBindBufferRange(target, index, buffer, offset, size)
target
group: BufferTargetARBoffset
group: BufferOffsetsize
group: BufferSize
pub unsafe fn BindFramebuffer(&self, target: GLenum, framebuffer: GLuint)
[src]
glBindFramebuffer(target, framebuffer)
target
group: FramebufferTarget
pub unsafe fn BindRenderbuffer(&self, target: GLenum, renderbuffer: GLuint)
[src]
glBindRenderbuffer(target, renderbuffer)
target
group: RenderbufferTarget
pub unsafe fn BindSampler(&self, unit: GLuint, sampler: GLuint)
[src]
glBindSampler(unit, sampler)
pub unsafe fn BindTexture(&self, target: GLenum, texture: GLuint)
[src]
glBindTexture(target, texture)
target
group: TextureTargettexture
group: Texture
pub unsafe fn BindTransformFeedback(&self, target: GLenum, id: GLuint)
[src]
glBindTransformFeedback(target, id)
target
group: BindTransformFeedbackTarget
pub unsafe fn BindVertexArray(&self, array: GLuint)
[src]
glBindVertexArray(array)
pub unsafe fn BlendColor(
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat
)
[src]
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat
)
glBlendColor(red, green, blue, alpha)
red
group: ColorFgreen
group: ColorFblue
group: ColorFalpha
group: ColorF
pub unsafe fn BlendEquation(&self, mode: GLenum)
[src]
glBlendEquation(mode)
mode
group: BlendEquationModeEXT
pub unsafe fn BlendEquationSeparate(&self, modeRGB: GLenum, modeAlpha: GLenum)
[src]
glBlendEquationSeparate(modeRGB, modeAlpha)
modeRGB
group: BlendEquationModeEXTmodeAlpha
group: BlendEquationModeEXT
pub unsafe fn BlendFunc(&self, sfactor: GLenum, dfactor: GLenum)
[src]
glBlendFunc(sfactor, dfactor)
sfactor
group: BlendingFactordfactor
group: BlendingFactor
pub unsafe fn BlendFuncSeparate(
&self,
sfactorRGB: GLenum,
dfactorRGB: GLenum,
sfactorAlpha: GLenum,
dfactorAlpha: GLenum
)
[src]
&self,
sfactorRGB: GLenum,
dfactorRGB: GLenum,
sfactorAlpha: GLenum,
dfactorAlpha: GLenum
)
glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
sfactorRGB
group: BlendingFactordfactorRGB
group: BlendingFactorsfactorAlpha
group: BlendingFactordfactorAlpha
group: BlendingFactor
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
)
[src]
&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
pub unsafe fn BufferData(
&self,
target: GLenum,
size: GLsizeiptr,
data: *const c_void,
usage: GLenum
)
[src]
&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
pub unsafe fn BufferSubData(
&self,
target: GLenum,
offset: GLintptr,
size: GLsizeiptr,
data: *const c_void
)
[src]
&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
pub unsafe fn CheckFramebufferStatus(&self, target: GLenum) -> GLenum
[src]
glCheckFramebufferStatus(target)
target
group: FramebufferTarget- return value group: FramebufferStatus
pub unsafe fn Clear(&self, mask: GLbitfield)
[src]
glClear(mask)
mask
group: ClearBufferMask
pub unsafe fn ClearBufferfi(
&self,
buffer: GLenum,
drawbuffer: GLint,
depth: GLfloat,
stencil: GLint
)
[src]
&self,
buffer: GLenum,
drawbuffer: GLint,
depth: GLfloat,
stencil: GLint
)
glClearBufferfi(buffer, drawbuffer, depth, stencil)
buffer
group: Bufferdrawbuffer
group: DrawBufferName
pub unsafe fn ClearBufferfv(
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLfloat
)
[src]
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLfloat
)
glClearBufferfv(buffer, drawbuffer, value)
buffer
group: Bufferdrawbuffer
group: DrawBufferNamevalue
len: COMPSIZE(buffer)
pub unsafe fn ClearBufferiv(
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLint
)
[src]
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLint
)
glClearBufferiv(buffer, drawbuffer, value)
buffer
group: Bufferdrawbuffer
group: DrawBufferNamevalue
len: COMPSIZE(buffer)
pub unsafe fn ClearBufferuiv(
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLuint
)
[src]
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLuint
)
glClearBufferuiv(buffer, drawbuffer, value)
buffer
group: Bufferdrawbuffer
group: DrawBufferNamevalue
len: COMPSIZE(buffer)
pub unsafe fn ClearColor(
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat
)
[src]
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat
)
glClearColor(red, green, blue, alpha)
red
group: ColorFgreen
group: ColorFblue
group: ColorFalpha
group: ColorF
pub unsafe fn ClearDepthf(&self, d: GLfloat)
[src]
pub unsafe fn ClearStencil(&self, s: GLint)
[src]
s
group: StencilValue
pub unsafe fn ClientWaitSync(
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64
) -> GLenum
[src]
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64
) -> GLenum
glClientWaitSync(sync, flags, timeout)
sync
group: syncflags
group: SyncObjectMask- return value group: SyncStatus
pub unsafe fn ColorMask(
&self,
red: GLboolean,
green: GLboolean,
blue: GLboolean,
alpha: GLboolean
)
[src]
&self,
red: GLboolean,
green: GLboolean,
blue: GLboolean,
alpha: GLboolean
)
glColorMask(red, green, blue, alpha)
pub unsafe fn CompileShader(&self, shader: GLuint)
[src]
glCompileShader(shader)
pub unsafe fn CompressedTexImage2D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
imageSize: GLsizei,
data: *const c_void
)
[src]
&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
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
)
[src]
&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
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
)
[src]
&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
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
)
[src]
&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
pub unsafe fn CopyBufferSubData(
&self,
readTarget: GLenum,
writeTarget: GLenum,
readOffset: GLintptr,
writeOffset: GLintptr,
size: GLsizeiptr
)
[src]
&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
pub unsafe fn CopyTexImage2D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
border: GLint
)
[src]
&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
pub unsafe fn CopyTexSubImage2D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
[src]
&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
pub unsafe fn CopyTexSubImage3D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
[src]
&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
pub unsafe fn CreateProgram(&self) -> GLuint
[src]
pub unsafe fn CreateShader(&self, type_: GLenum) -> GLuint
[src]
glCreateShader(type_)
type_
group: ShaderType
pub unsafe fn CullFace(&self, mode: GLenum)
[src]
glCullFace(mode)
mode
group: CullFaceMode
pub unsafe fn DeleteBuffers(&self, n: GLsizei, buffers: *const GLuint)
[src]
glDeleteBuffers(n, buffers)
buffers
len: n
pub unsafe fn DeleteFramebuffers(&self, n: GLsizei, framebuffers: *const GLuint)
[src]
glDeleteFramebuffers(n, framebuffers)
framebuffers
len: n
pub unsafe fn DeleteProgram(&self, program: GLuint)
[src]
glDeleteProgram(program)
pub unsafe fn DeleteQueries(&self, n: GLsizei, ids: *const GLuint)
[src]
glDeleteQueries(n, ids)
ids
len: n
pub unsafe fn DeleteRenderbuffers(
&self,
n: GLsizei,
renderbuffers: *const GLuint
)
[src]
&self,
n: GLsizei,
renderbuffers: *const GLuint
)
glDeleteRenderbuffers(n, renderbuffers)
renderbuffers
len: n
pub unsafe fn DeleteSamplers(&self, count: GLsizei, samplers: *const GLuint)
[src]
glDeleteSamplers(count, samplers)
samplers
len: count
pub unsafe fn DeleteShader(&self, shader: GLuint)
[src]
glDeleteShader(shader)
pub unsafe fn DeleteSync(&self, sync: GLsync)
[src]
glDeleteSync(sync)
sync
group: sync
pub unsafe fn DeleteTextures(&self, n: GLsizei, textures: *const GLuint)
[src]
glDeleteTextures(n, textures)
textures
group: Texturetextures
len: n
pub unsafe fn DeleteTransformFeedbacks(&self, n: GLsizei, ids: *const GLuint)
[src]
glDeleteTransformFeedbacks(n, ids)
ids
len: n
pub unsafe fn DeleteVertexArrays(&self, n: GLsizei, arrays: *const GLuint)
[src]
glDeleteVertexArrays(n, arrays)
arrays
len: n
pub unsafe fn DepthFunc(&self, func: GLenum)
[src]
glDepthFunc(func)
func
group: DepthFunction
pub unsafe fn DepthMask(&self, flag: GLboolean)
[src]
glDepthMask(flag)
pub unsafe fn DepthRangef(&self, n: GLfloat, f: GLfloat)
[src]
glDepthRangef(n, f)
pub unsafe fn DetachShader(&self, program: GLuint, shader: GLuint)
[src]
glDetachShader(program, shader)
pub unsafe fn Disable(&self, cap: GLenum)
[src]
glDisable(cap)
cap
group: EnableCap
pub unsafe fn DisableVertexAttribArray(&self, index: GLuint)
[src]
glDisableVertexAttribArray(index)
pub unsafe fn DrawArrays(&self, mode: GLenum, first: GLint, count: GLsizei)
[src]
glDrawArrays(mode, first, count)
mode
group: PrimitiveType
pub unsafe fn DrawArraysInstanced(
&self,
mode: GLenum,
first: GLint,
count: GLsizei,
instancecount: GLsizei
)
[src]
&self,
mode: GLenum,
first: GLint,
count: GLsizei,
instancecount: GLsizei
)
glDrawArraysInstanced(mode, first, count, instancecount)
mode
group: PrimitiveType
pub unsafe fn DrawBuffers(&self, n: GLsizei, bufs: *const GLenum)
[src]
glDrawBuffers(n, bufs)
bufs
group: DrawBufferModebufs
len: n
pub unsafe fn DrawElements(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void
)
[src]
&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)
pub unsafe fn DrawElementsInstanced(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
instancecount: GLsizei
)
[src]
&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)
pub unsafe fn DrawRangeElements(
&self,
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type_: GLenum,
indices: *const c_void
)
[src]
&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)
pub unsafe fn Enable(&self, cap: GLenum)
[src]
glEnable(cap)
cap
group: EnableCap
pub unsafe fn EnableVertexAttribArray(&self, index: GLuint)
[src]
glEnableVertexAttribArray(index)
pub unsafe fn EndQuery(&self, target: GLenum)
[src]
glEndQuery(target)
target
group: QueryTarget
pub unsafe fn EndTransformFeedback(&self)
[src]
pub unsafe fn FenceSync(&self, condition: GLenum, flags: GLbitfield) -> GLsync
[src]
glFenceSync(condition, flags)
condition
group: SyncCondition- return value group: sync
pub unsafe fn Finish(&self)
[src]
glFinish()
pub unsafe fn Flush(&self)
[src]
glFlush()
pub unsafe fn FlushMappedBufferRange(
&self,
target: GLenum,
offset: GLintptr,
length: GLsizeiptr
)
[src]
&self,
target: GLenum,
offset: GLintptr,
length: GLsizeiptr
)
glFlushMappedBufferRange(target, offset, length)
target
group: BufferTargetARBoffset
group: BufferOffsetlength
group: BufferSize
pub unsafe fn FramebufferRenderbuffer(
&self,
target: GLenum,
attachment: GLenum,
renderbuffertarget: GLenum,
renderbuffer: GLuint
)
[src]
&self,
target: GLenum,
attachment: GLenum,
renderbuffertarget: GLenum,
renderbuffer: GLuint
)
glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
target
group: FramebufferTargetattachment
group: FramebufferAttachmentrenderbuffertarget
group: RenderbufferTarget
pub unsafe fn FramebufferTexture2D(
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: GLuint,
level: GLint
)
[src]
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: GLuint,
level: GLint
)
glFramebufferTexture2D(target, attachment, textarget, texture, level)
target
group: FramebufferTargetattachment
group: FramebufferAttachmenttextarget
group: TextureTarget
pub unsafe fn FramebufferTextureLayer(
&self,
target: GLenum,
attachment: GLenum,
texture: GLuint,
level: GLint,
layer: GLint
)
[src]
&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
pub unsafe fn FrontFace(&self, mode: GLenum)
[src]
glFrontFace(mode)
mode
group: FrontFaceDirection
pub unsafe fn GenBuffers(&self, n: GLsizei, buffers: *mut GLuint)
[src]
glGenBuffers(n, buffers)
buffers
len: n
pub unsafe fn GenFramebuffers(&self, n: GLsizei, framebuffers: *mut GLuint)
[src]
glGenFramebuffers(n, framebuffers)
framebuffers
len: n
pub unsafe fn GenQueries(&self, n: GLsizei, ids: *mut GLuint)
[src]
glGenQueries(n, ids)
ids
len: n
pub unsafe fn GenRenderbuffers(&self, n: GLsizei, renderbuffers: *mut GLuint)
[src]
glGenRenderbuffers(n, renderbuffers)
renderbuffers
len: n
pub unsafe fn GenSamplers(&self, count: GLsizei, samplers: *mut GLuint)
[src]
glGenSamplers(count, samplers)
samplers
len: count
pub unsafe fn GenTextures(&self, n: GLsizei, textures: *mut GLuint)
[src]
glGenTextures(n, textures)
textures
group: Texturetextures
len: n
pub unsafe fn GenTransformFeedbacks(&self, n: GLsizei, ids: *mut GLuint)
[src]
glGenTransformFeedbacks(n, ids)
ids
len: n
pub unsafe fn GenVertexArrays(&self, n: GLsizei, arrays: *mut GLuint)
[src]
glGenVertexArrays(n, arrays)
arrays
len: n
pub unsafe fn GenerateMipmap(&self, target: GLenum)
[src]
glGenerateMipmap(target)
target
group: TextureTarget
pub unsafe fn GetActiveAttrib(
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLint,
type_: *mut GLenum,
name: *mut GLchar
)
[src]
&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
pub unsafe fn GetActiveUniform(
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLint,
type_: *mut GLenum,
name: *mut GLchar
)
[src]
&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
pub unsafe fn GetActiveUniformBlockName(
&self,
program: GLuint,
uniformBlockIndex: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
uniformBlockName: *mut GLchar
)
[src]
&self,
program: GLuint,
uniformBlockIndex: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
uniformBlockName: *mut GLchar
)
glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName)
length
len: 1uniformBlockName
len: bufSize
pub unsafe fn GetActiveUniformBlockiv(
&self,
program: GLuint,
uniformBlockIndex: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
program: GLuint,
uniformBlockIndex: GLuint,
pname: GLenum,
params: *mut GLint
)
glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params)
pname
group: UniformBlockPNameparams
len: COMPSIZE(program,uniformBlockIndex,pname)
pub unsafe fn GetActiveUniformsiv(
&self,
program: GLuint,
uniformCount: GLsizei,
uniformIndices: *const GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&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)
pub unsafe fn GetAttachedShaders(
&self,
program: GLuint,
maxCount: GLsizei,
count: *mut GLsizei,
shaders: *mut GLuint
)
[src]
&self,
program: GLuint,
maxCount: GLsizei,
count: *mut GLsizei,
shaders: *mut GLuint
)
glGetAttachedShaders(program, maxCount, count, shaders)
count
len: 1shaders
len: maxCount
pub unsafe fn GetAttribLocation(
&self,
program: GLuint,
name: *const GLchar
) -> GLint
[src]
&self,
program: GLuint,
name: *const GLchar
) -> GLint
glGetAttribLocation(program, name)
pub unsafe fn GetBooleanv(&self, pname: GLenum, data: *mut GLboolean)
[src]
glGetBooleanv(pname, data)
pname
group: GetPNamedata
len: COMPSIZE(pname)
pub unsafe fn GetBufferParameteri64v(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint64
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint64
)
glGetBufferParameteri64v(target, pname, params)
target
group: BufferTargetARBpname
group: BufferPNameARBparams
len: COMPSIZE(pname)
pub unsafe fn GetBufferParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
glGetBufferParameteriv(target, pname, params)
target
group: BufferTargetARBpname
group: BufferPNameARBparams
len: COMPSIZE(pname)
pub unsafe fn GetBufferPointerv(
&self,
target: GLenum,
pname: GLenum,
params: *mut *mut c_void
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut *mut c_void
)
glGetBufferPointerv(target, pname, params)
target
group: BufferTargetARBpname
group: BufferPointerNameARBparams
len: 1
pub unsafe fn GetError(&self) -> GLenum
[src]
- return value group: ErrorCode
pub unsafe fn GetFloatv(&self, pname: GLenum, data: *mut GLfloat)
[src]
glGetFloatv(pname, data)
pname
group: GetPNamedata
len: COMPSIZE(pname)
pub unsafe fn GetFragDataLocation(
&self,
program: GLuint,
name: *const GLchar
) -> GLint
[src]
&self,
program: GLuint,
name: *const GLchar
) -> GLint
glGetFragDataLocation(program, name)
name
len: COMPSIZE(name)
pub unsafe fn GetFramebufferAttachmentParameteriv(
&self,
target: GLenum,
attachment: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&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)
pub unsafe fn GetInteger64i_v(
&self,
target: GLenum,
index: GLuint,
data: *mut GLint64
)
[src]
&self,
target: GLenum,
index: GLuint,
data: *mut GLint64
)
glGetInteger64i_v(target, index, data)
data
len: COMPSIZE(target)
pub unsafe fn GetInteger64v(&self, pname: GLenum, data: *mut GLint64)
[src]
glGetInteger64v(pname, data)
pname
group: GetPNamedata
len: COMPSIZE(pname)
pub unsafe fn GetIntegeri_v(
&self,
target: GLenum,
index: GLuint,
data: *mut GLint
)
[src]
&self,
target: GLenum,
index: GLuint,
data: *mut GLint
)
glGetIntegeri_v(target, index, data)
data
len: COMPSIZE(target)
pub unsafe fn GetIntegerv(&self, pname: GLenum, data: *mut GLint)
[src]
glGetIntegerv(pname, data)
pname
group: GetPNamedata
len: COMPSIZE(pname)
pub unsafe fn GetInternalformativ(
&self,
target: GLenum,
internalformat: GLenum,
pname: GLenum,
count: GLsizei,
params: *mut GLint
)
[src]
&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
pub unsafe fn GetProgramBinary(
&self,
program: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
binaryFormat: *mut GLenum,
binary: *mut c_void
)
[src]
&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
pub unsafe fn GetProgramInfoLog(
&self,
program: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar
)
[src]
&self,
program: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar
)
glGetProgramInfoLog(program, bufSize, length, infoLog)
length
len: 1infoLog
len: bufSize
pub unsafe fn GetProgramiv(
&self,
program: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
program: GLuint,
pname: GLenum,
params: *mut GLint
)
glGetProgramiv(program, pname, params)
pname
group: ProgramPropertyARBparams
len: COMPSIZE(pname)
pub unsafe fn GetQueryObjectuiv(
&self,
id: GLuint,
pname: GLenum,
params: *mut GLuint
)
[src]
&self,
id: GLuint,
pname: GLenum,
params: *mut GLuint
)
glGetQueryObjectuiv(id, pname, params)
pname
group: QueryObjectParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetQueryiv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
glGetQueryiv(target, pname, params)
target
group: QueryTargetpname
group: QueryParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetRenderbufferParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
glGetRenderbufferParameteriv(target, pname, params)
target
group: RenderbufferTargetpname
group: RenderbufferParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetSamplerParameterfv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLfloat
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLfloat
)
glGetSamplerParameterfv(sampler, pname, params)
pname
group: SamplerParameterFparams
len: COMPSIZE(pname)
pub unsafe fn GetSamplerParameteriv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLint
)
glGetSamplerParameteriv(sampler, pname, params)
pname
group: SamplerParameterIparams
len: COMPSIZE(pname)
pub unsafe fn GetShaderInfoLog(
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar
)
[src]
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar
)
glGetShaderInfoLog(shader, bufSize, length, infoLog)
length
len: 1infoLog
len: bufSize
pub unsafe fn GetShaderPrecisionFormat(
&self,
shadertype: GLenum,
precisiontype: GLenum,
range: *mut GLint,
precision: *mut GLint
)
[src]
&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
pub unsafe fn GetShaderSource(
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
source: *mut GLchar
)
[src]
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
source: *mut GLchar
)
glGetShaderSource(shader, bufSize, length, source)
length
len: 1source
len: bufSize
pub unsafe fn GetShaderiv(
&self,
shader: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
shader: GLuint,
pname: GLenum,
params: *mut GLint
)
glGetShaderiv(shader, pname, params)
pname
group: ShaderParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetString(&self, name: GLenum) -> *const GLubyte
[src]
glGetString(name)
name
group: StringName- return value group: String
pub unsafe fn GetStringi(&self, name: GLenum, index: GLuint) -> *const GLubyte
[src]
glGetStringi(name, index)
name
group: StringName- return value group: String
pub unsafe fn GetSynciv(
&self,
sync: GLsync,
pname: GLenum,
count: GLsizei,
length: *mut GLsizei,
values: *mut GLint
)
[src]
&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
pub unsafe fn GetTexParameterfv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLfloat
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLfloat
)
glGetTexParameterfv(target, pname, params)
target
group: TextureTargetpname
group: GetTextureParameterparams
len: COMPSIZE(pname)
pub unsafe fn GetTexParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
glGetTexParameteriv(target, pname, params)
target
group: TextureTargetpname
group: GetTextureParameterparams
len: COMPSIZE(pname)
pub unsafe fn GetTransformFeedbackVarying(
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLsizei,
type_: *mut GLenum,
name: *mut GLchar
)
[src]
&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
pub unsafe fn GetUniformBlockIndex(
&self,
program: GLuint,
uniformBlockName: *const GLchar
) -> GLuint
[src]
&self,
program: GLuint,
uniformBlockName: *const GLchar
) -> GLuint
glGetUniformBlockIndex(program, uniformBlockName)
uniformBlockName
len: COMPSIZE()
pub unsafe fn GetUniformIndices(
&self,
program: GLuint,
uniformCount: GLsizei,
uniformNames: *const *const GLchar,
uniformIndices: *mut GLuint
)
[src]
&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)
pub unsafe fn GetUniformLocation(
&self,
program: GLuint,
name: *const GLchar
) -> GLint
[src]
&self,
program: GLuint,
name: *const GLchar
) -> GLint
glGetUniformLocation(program, name)
pub unsafe fn GetUniformfv(
&self,
program: GLuint,
location: GLint,
params: *mut GLfloat
)
[src]
&self,
program: GLuint,
location: GLint,
params: *mut GLfloat
)
glGetUniformfv(program, location, params)
params
len: COMPSIZE(program,location)
pub unsafe fn GetUniformiv(
&self,
program: GLuint,
location: GLint,
params: *mut GLint
)
[src]
&self,
program: GLuint,
location: GLint,
params: *mut GLint
)
glGetUniformiv(program, location, params)
params
len: COMPSIZE(program,location)
pub unsafe fn GetUniformuiv(
&self,
program: GLuint,
location: GLint,
params: *mut GLuint
)
[src]
&self,
program: GLuint,
location: GLint,
params: *mut GLuint
)
glGetUniformuiv(program, location, params)
params
len: COMPSIZE(program,location)
pub unsafe fn GetVertexAttribIiv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint
)
glGetVertexAttribIiv(index, pname, params)
pname
group: VertexAttribEnumparams
len: 1
pub unsafe fn GetVertexAttribIuiv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLuint
)
[src]
&self,
index: GLuint,
pname: GLenum,
params: *mut GLuint
)
glGetVertexAttribIuiv(index, pname, params)
pname
group: VertexAttribEnumparams
len: 1
pub unsafe fn GetVertexAttribPointerv(
&self,
index: GLuint,
pname: GLenum,
pointer: *mut *mut c_void
)
[src]
&self,
index: GLuint,
pname: GLenum,
pointer: *mut *mut c_void
)
glGetVertexAttribPointerv(index, pname, pointer)
pname
group: VertexAttribPointerPropertyARBpointer
len: 1
pub unsafe fn GetVertexAttribfv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLfloat
)
[src]
&self,
index: GLuint,
pname: GLenum,
params: *mut GLfloat
)
glGetVertexAttribfv(index, pname, params)
pname
group: VertexAttribPropertyARBparams
len: 4
pub unsafe fn GetVertexAttribiv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint
)
glGetVertexAttribiv(index, pname, params)
pname
group: VertexAttribPropertyARBparams
len: 4
pub unsafe fn Hint(&self, target: GLenum, mode: GLenum)
[src]
glHint(target, mode)
target
group: HintTargetmode
group: HintMode
pub unsafe fn InvalidateFramebuffer(
&self,
target: GLenum,
numAttachments: GLsizei,
attachments: *const GLenum
)
[src]
&self,
target: GLenum,
numAttachments: GLsizei,
attachments: *const GLenum
)
glInvalidateFramebuffer(target, numAttachments, attachments)
target
group: FramebufferTargetattachments
group: InvalidateFramebufferAttachmentattachments
len: numAttachments
pub unsafe fn InvalidateSubFramebuffer(
&self,
target: GLenum,
numAttachments: GLsizei,
attachments: *const GLenum,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
[src]
&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
pub unsafe fn IsBuffer(&self, buffer: GLuint) -> GLboolean
[src]
glIsBuffer(buffer)
pub unsafe fn IsEnabled(&self, cap: GLenum) -> GLboolean
[src]
glIsEnabled(cap)
cap
group: EnableCap
pub unsafe fn IsFramebuffer(&self, framebuffer: GLuint) -> GLboolean
[src]
glIsFramebuffer(framebuffer)
pub unsafe fn IsProgram(&self, program: GLuint) -> GLboolean
[src]
glIsProgram(program)
pub unsafe fn IsQuery(&self, id: GLuint) -> GLboolean
[src]
glIsQuery(id)
pub unsafe fn IsRenderbuffer(&self, renderbuffer: GLuint) -> GLboolean
[src]
glIsRenderbuffer(renderbuffer)
pub unsafe fn IsSampler(&self, sampler: GLuint) -> GLboolean
[src]
glIsSampler(sampler)
pub unsafe fn IsShader(&self, shader: GLuint) -> GLboolean
[src]
glIsShader(shader)
pub unsafe fn IsSync(&self, sync: GLsync) -> GLboolean
[src]
glIsSync(sync)
sync
group: sync
pub unsafe fn IsTexture(&self, texture: GLuint) -> GLboolean
[src]
glIsTexture(texture)
texture
group: Texture
pub unsafe fn IsTransformFeedback(&self, id: GLuint) -> GLboolean
[src]
pub unsafe fn IsVertexArray(&self, array: GLuint) -> GLboolean
[src]
glIsVertexArray(array)
pub unsafe fn LineWidth(&self, width: GLfloat)
[src]
glLineWidth(width)
width
group: CheckedFloat32
pub unsafe fn LinkProgram(&self, program: GLuint)
[src]
glLinkProgram(program)
pub unsafe fn MapBufferRange(
&self,
target: GLenum,
offset: GLintptr,
length: GLsizeiptr,
access: GLbitfield
) -> *mut c_void
[src]
&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
pub unsafe fn PauseTransformFeedback(&self)
[src]
pub unsafe fn PixelStorei(&self, pname: GLenum, param: GLint)
[src]
glPixelStorei(pname, param)
pname
group: PixelStoreParameterparam
group: CheckedInt32
pub unsafe fn PolygonOffset(&self, factor: GLfloat, units: GLfloat)
[src]
glPolygonOffset(factor, units)
pub unsafe fn ProgramBinary(
&self,
program: GLuint,
binaryFormat: GLenum,
binary: *const c_void,
length: GLsizei
)
[src]
&self,
program: GLuint,
binaryFormat: GLenum,
binary: *const c_void,
length: GLsizei
)
glProgramBinary(program, binaryFormat, binary, length)
binary
len: length
pub unsafe fn ProgramParameteri(
&self,
program: GLuint,
pname: GLenum,
value: GLint
)
[src]
&self,
program: GLuint,
pname: GLenum,
value: GLint
)
glProgramParameteri(program, pname, value)
pname
group: ProgramParameterPName
pub unsafe fn ReadBuffer(&self, src: GLenum)
[src]
glReadBuffer(src)
src
group: ReadBufferMode
pub unsafe fn ReadPixels(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *mut c_void
)
[src]
&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)
pub unsafe fn ReleaseShaderCompiler(&self)
[src]
pub unsafe fn RenderbufferStorage(
&self,
target: GLenum,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
[src]
&self,
target: GLenum,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
glRenderbufferStorage(target, internalformat, width, height)
target
group: RenderbufferTargetinternalformat
group: InternalFormat
pub unsafe fn RenderbufferStorageMultisample(
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
[src]
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
target
group: RenderbufferTargetinternalformat
group: InternalFormat
pub unsafe fn ResumeTransformFeedback(&self)
[src]
pub unsafe fn SampleCoverage(&self, value: GLfloat, invert: GLboolean)
[src]
glSampleCoverage(value, invert)
pub unsafe fn SamplerParameterf(
&self,
sampler: GLuint,
pname: GLenum,
param: GLfloat
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: GLfloat
)
glSamplerParameterf(sampler, pname, param)
pname
group: SamplerParameterF
pub unsafe fn SamplerParameterfv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLfloat
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLfloat
)
glSamplerParameterfv(sampler, pname, param)
pname
group: SamplerParameterFparam
len: COMPSIZE(pname)
pub unsafe fn SamplerParameteri(
&self,
sampler: GLuint,
pname: GLenum,
param: GLint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: GLint
)
glSamplerParameteri(sampler, pname, param)
pname
group: SamplerParameterI
pub unsafe fn SamplerParameteriv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLint
)
glSamplerParameteriv(sampler, pname, param)
pname
group: SamplerParameterIparam
len: COMPSIZE(pname)
pub unsafe fn Scissor(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
[src]
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
glScissor(x, y, width, height)
x
group: WinCoordy
group: WinCoord
pub unsafe fn ShaderBinary(
&self,
count: GLsizei,
shaders: *const GLuint,
binaryformat: GLenum,
binary: *const c_void,
length: GLsizei
)
[src]
&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
pub unsafe fn ShaderSource(
&self,
shader: GLuint,
count: GLsizei,
string: *const *const GLchar,
length: *const GLint
)
[src]
&self,
shader: GLuint,
count: GLsizei,
string: *const *const GLchar,
length: *const GLint
)
glShaderSource(shader, count, string, length)
string
len: countlength
len: count
pub unsafe fn StencilFunc(&self, func: GLenum, ref_: GLint, mask: GLuint)
[src]
glStencilFunc(func, ref_, mask)
func
group: StencilFunctionref_
group: StencilValuemask
group: MaskedStencilValue
pub unsafe fn StencilFuncSeparate(
&self,
face: GLenum,
func: GLenum,
ref_: GLint,
mask: GLuint
)
[src]
&self,
face: GLenum,
func: GLenum,
ref_: GLint,
mask: GLuint
)
glStencilFuncSeparate(face, func, ref_, mask)
face
group: StencilFaceDirectionfunc
group: StencilFunctionref_
group: StencilValuemask
group: MaskedStencilValue
pub unsafe fn StencilMask(&self, mask: GLuint)
[src]
glStencilMask(mask)
mask
group: MaskedStencilValue
pub unsafe fn StencilMaskSeparate(&self, face: GLenum, mask: GLuint)
[src]
glStencilMaskSeparate(face, mask)
face
group: StencilFaceDirectionmask
group: MaskedStencilValue
pub unsafe fn StencilOp(&self, fail: GLenum, zfail: GLenum, zpass: GLenum)
[src]
glStencilOp(fail, zfail, zpass)
fail
group: StencilOpzfail
group: StencilOpzpass
group: StencilOp
pub unsafe fn StencilOpSeparate(
&self,
face: GLenum,
sfail: GLenum,
dpfail: GLenum,
dppass: GLenum
)
[src]
&self,
face: GLenum,
sfail: GLenum,
dpfail: GLenum,
dppass: GLenum
)
glStencilOpSeparate(face, sfail, dpfail, dppass)
face
group: StencilFaceDirectionsfail
group: StencilOpdpfail
group: StencilOpdppass
group: StencilOp
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
)
[src]
&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)
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
)
[src]
&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)
pub unsafe fn TexParameterf(
&self,
target: GLenum,
pname: GLenum,
param: GLfloat
)
[src]
&self,
target: GLenum,
pname: GLenum,
param: GLfloat
)
glTexParameterf(target, pname, param)
target
group: TextureTargetpname
group: TextureParameterNameparam
group: CheckedFloat32
pub unsafe fn TexParameterfv(
&self,
target: GLenum,
pname: GLenum,
params: *const GLfloat
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *const GLfloat
)
glTexParameterfv(target, pname, params)
target
group: TextureTargetpname
group: TextureParameterNameparams
group: CheckedFloat32params
len: COMPSIZE(pname)
pub unsafe fn TexParameteri(&self, target: GLenum, pname: GLenum, param: GLint)
[src]
glTexParameteri(target, pname, param)
target
group: TextureTargetpname
group: TextureParameterNameparam
group: CheckedInt32
pub unsafe fn TexParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *const GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *const GLint
)
glTexParameteriv(target, pname, params)
target
group: TextureTargetpname
group: TextureParameterNameparams
group: CheckedInt32params
len: COMPSIZE(pname)
pub unsafe fn TexStorage2D(
&self,
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
[src]
&self,
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
glTexStorage2D(target, levels, internalformat, width, height)
target
group: TextureTargetinternalformat
group: InternalFormat
pub unsafe fn TexStorage3D(
&self,
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei
)
[src]
&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
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
)
[src]
&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)
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
)
[src]
&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)
pub unsafe fn TransformFeedbackVaryings(
&self,
program: GLuint,
count: GLsizei,
varyings: *const *const GLchar,
bufferMode: GLenum
)
[src]
&self,
program: GLuint,
count: GLsizei,
varyings: *const *const GLchar,
bufferMode: GLenum
)
glTransformFeedbackVaryings(program, count, varyings, bufferMode)
varyings
len: countbufferMode
group: TransformFeedbackBufferMode
pub unsafe fn Uniform1f(&self, location: GLint, v0: GLfloat)
[src]
glUniform1f(location, v0)
pub unsafe fn Uniform1fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
glUniform1fv(location, count, value)
value
len: count*1
pub unsafe fn Uniform1i(&self, location: GLint, v0: GLint)
[src]
glUniform1i(location, v0)
pub unsafe fn Uniform1iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
glUniform1iv(location, count, value)
value
len: count*1
pub unsafe fn Uniform1ui(&self, location: GLint, v0: GLuint)
[src]
glUniform1ui(location, v0)
pub unsafe fn Uniform1uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
glUniform1uiv(location, count, value)
value
len: count*1
pub unsafe fn Uniform2f(&self, location: GLint, v0: GLfloat, v1: GLfloat)
[src]
glUniform2f(location, v0, v1)
pub unsafe fn Uniform2fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
glUniform2fv(location, count, value)
value
len: count*2
pub unsafe fn Uniform2i(&self, location: GLint, v0: GLint, v1: GLint)
[src]
glUniform2i(location, v0, v1)
pub unsafe fn Uniform2iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
glUniform2iv(location, count, value)
value
len: count*2
pub unsafe fn Uniform2ui(&self, location: GLint, v0: GLuint, v1: GLuint)
[src]
glUniform2ui(location, v0, v1)
pub unsafe fn Uniform2uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
glUniform2uiv(location, count, value)
value
len: count*2
pub unsafe fn Uniform3f(
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat
)
[src]
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat
)
glUniform3f(location, v0, v1, v2)
pub unsafe fn Uniform3fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
glUniform3fv(location, count, value)
value
len: count*3
pub unsafe fn Uniform3i(&self, location: GLint, v0: GLint, v1: GLint, v2: GLint)
[src]
glUniform3i(location, v0, v1, v2)
pub unsafe fn Uniform3iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
glUniform3iv(location, count, value)
value
len: count*3
pub unsafe fn Uniform3ui(
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint
)
[src]
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint
)
glUniform3ui(location, v0, v1, v2)
pub unsafe fn Uniform3uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
glUniform3uiv(location, count, value)
value
len: count*3
pub unsafe fn Uniform4f(
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat,
v3: GLfloat
)
[src]
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat,
v3: GLfloat
)
glUniform4f(location, v0, v1, v2, v3)
pub unsafe fn Uniform4fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
glUniform4fv(location, count, value)
value
len: count*4
pub unsafe fn Uniform4i(
&self,
location: GLint,
v0: GLint,
v1: GLint,
v2: GLint,
v3: GLint
)
[src]
&self,
location: GLint,
v0: GLint,
v1: GLint,
v2: GLint,
v3: GLint
)
glUniform4i(location, v0, v1, v2, v3)
pub unsafe fn Uniform4iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
glUniform4iv(location, count, value)
value
len: count*4
pub unsafe fn Uniform4ui(
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint,
v3: GLuint
)
[src]
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint,
v3: GLuint
)
glUniform4ui(location, v0, v1, v2, v3)
pub unsafe fn Uniform4uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
glUniform4uiv(location, count, value)
value
len: count*4
pub unsafe fn UniformBlockBinding(
&self,
program: GLuint,
uniformBlockIndex: GLuint,
uniformBlockBinding: GLuint
)
[src]
&self,
program: GLuint,
uniformBlockIndex: GLuint,
uniformBlockBinding: GLuint
)
glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding)
pub unsafe fn UniformMatrix2fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
glUniformMatrix2fv(location, count, transpose, value)
value
len: count*4
pub unsafe fn UniformMatrix2x3fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
glUniformMatrix2x3fv(location, count, transpose, value)
value
len: count*6
pub unsafe fn UniformMatrix2x4fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
glUniformMatrix2x4fv(location, count, transpose, value)
value
len: count*8
pub unsafe fn UniformMatrix3fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
glUniformMatrix3fv(location, count, transpose, value)
value
len: count*9
pub unsafe fn UniformMatrix3x2fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
glUniformMatrix3x2fv(location, count, transpose, value)
value
len: count*6
pub unsafe fn UniformMatrix3x4fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
glUniformMatrix3x4fv(location, count, transpose, value)
value
len: count*12
pub unsafe fn UniformMatrix4fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
glUniformMatrix4fv(location, count, transpose, value)
value
len: count*16
pub unsafe fn UniformMatrix4x2fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
glUniformMatrix4x2fv(location, count, transpose, value)
value
len: count*8
pub unsafe fn UniformMatrix4x3fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
glUniformMatrix4x3fv(location, count, transpose, value)
value
len: count*12
pub unsafe fn UnmapBuffer(&self, target: GLenum) -> GLboolean
[src]
glUnmapBuffer(target)
target
group: BufferTargetARB
pub unsafe fn UseProgram(&self, program: GLuint)
[src]
glUseProgram(program)
pub unsafe fn ValidateProgram(&self, program: GLuint)
[src]
glValidateProgram(program)
pub unsafe fn VertexAttrib1f(&self, index: GLuint, x: GLfloat)
[src]
glVertexAttrib1f(index, x)
- vector equivalent:
glVertexAttrib1fv
pub unsafe fn VertexAttrib1fv(&self, index: GLuint, v: *const GLfloat)
[src]
glVertexAttrib1fv(index, v)
v
len: 1
pub unsafe fn VertexAttrib2f(&self, index: GLuint, x: GLfloat, y: GLfloat)
[src]
glVertexAttrib2f(index, x, y)
- vector equivalent:
glVertexAttrib2fv
pub unsafe fn VertexAttrib2fv(&self, index: GLuint, v: *const GLfloat)
[src]
glVertexAttrib2fv(index, v)
v
len: 2
pub unsafe fn VertexAttrib3f(
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat
)
[src]
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat
)
glVertexAttrib3f(index, x, y, z)
- vector equivalent:
glVertexAttrib3fv
pub unsafe fn VertexAttrib3fv(&self, index: GLuint, v: *const GLfloat)
[src]
glVertexAttrib3fv(index, v)
v
len: 3
pub unsafe fn VertexAttrib4f(
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat,
w: GLfloat
)
[src]
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat,
w: GLfloat
)
glVertexAttrib4f(index, x, y, z, w)
- vector equivalent:
glVertexAttrib4fv
pub unsafe fn VertexAttrib4fv(&self, index: GLuint, v: *const GLfloat)
[src]
glVertexAttrib4fv(index, v)
v
len: 4
pub unsafe fn VertexAttribDivisor(&self, index: GLuint, divisor: GLuint)
[src]
glVertexAttribDivisor(index, divisor)
pub unsafe fn VertexAttribI4i(
&self,
index: GLuint,
x: GLint,
y: GLint,
z: GLint,
w: GLint
)
[src]
&self,
index: GLuint,
x: GLint,
y: GLint,
z: GLint,
w: GLint
)
glVertexAttribI4i(index, x, y, z, w)
- vector equivalent:
glVertexAttribI4iv
pub unsafe fn VertexAttribI4iv(&self, index: GLuint, v: *const GLint)
[src]
glVertexAttribI4iv(index, v)
v
len: 4
pub unsafe fn VertexAttribI4ui(
&self,
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint,
w: GLuint
)
[src]
&self,
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint,
w: GLuint
)
glVertexAttribI4ui(index, x, y, z, w)
- vector equivalent:
glVertexAttribI4uiv
pub unsafe fn VertexAttribI4uiv(&self, index: GLuint, v: *const GLuint)
[src]
glVertexAttribI4uiv(index, v)
v
len: 4
pub unsafe fn VertexAttribIPointer(
&self,
index: GLuint,
size: GLint,
type_: GLenum,
stride: GLsizei,
pointer: *const c_void
)
[src]
&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)
pub unsafe fn VertexAttribPointer(
&self,
index: GLuint,
size: GLint,
type_: GLenum,
normalized: GLboolean,
stride: GLsizei,
pointer: *const c_void
)
[src]
&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)
pub unsafe fn Viewport(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
[src]
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
glViewport(x, y, width, height)
x
group: WinCoordy
group: WinCoord
pub unsafe fn WaitSync(
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64
)
[src]
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64
)
glWaitSync(sync, flags, timeout)
sync
group: sync
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GlFns
impl Send for GlFns
impl Sync for GlFns
impl Unpin for GlFns
impl UnwindSafe for GlFns
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,