[][src]Struct gl33::struct_commands::GlFns

#[repr(C)]pub struct GlFns { /* fields omitted */ }

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 unsafe fn load_with<F>(get_proc_address: F) -> Self where
    F: FnMut(*const c_char) -> *mut c_void
[src]

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 BeginConditionalRender(&self, id: GLuint, mode: GLenum)[src]

glBeginConditionalRender(id, mode)

  • mode group: ConditionalRenderMode

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]

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]

glBindBufferBase(target, index, buffer)

  • target group: BufferTargetARB

pub unsafe fn BindBufferRange(
    &self,
    target: GLenum,
    index: GLuint,
    buffer: GLuint,
    offset: GLintptr,
    size: GLsizeiptr
)
[src]

glBindBufferRange(target, index, buffer, offset, size)

  • target group: BufferTargetARB
  • offset group: BufferOffset
  • size group: BufferSize

pub unsafe fn BindFragDataLocation(
    &self,
    program: GLuint,
    color: GLuint,
    name: *const GLchar
)
[src]

glBindFragDataLocation(program, color, name)

  • name len: COMPSIZE(name)

pub unsafe fn BindFragDataLocationIndexed(
    &self,
    program: GLuint,
    colorNumber: GLuint,
    index: GLuint,
    name: *const GLchar
)
[src]

glBindFragDataLocationIndexed(program, colorNumber, index, name)

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: TextureTarget
  • texture group: Texture

pub unsafe fn BindVertexArray(&self, array: GLuint)[src]

pub unsafe fn BlendColor(
    &self,
    red: GLfloat,
    green: GLfloat,
    blue: GLfloat,
    alpha: GLfloat
)
[src]

glBlendColor(red, green, blue, alpha)

  • red group: ColorF
  • green group: ColorF
  • blue group: ColorF
  • alpha 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: BlendEquationModeEXT
  • modeAlpha group: BlendEquationModeEXT

pub unsafe fn BlendFunc(&self, sfactor: GLenum, dfactor: GLenum)[src]

glBlendFunc(sfactor, dfactor)

  • sfactor group: BlendingFactor
  • dfactor group: BlendingFactor

pub unsafe fn BlendFuncSeparate(
    &self,
    sfactorRGB: GLenum,
    dfactorRGB: GLenum,
    sfactorAlpha: GLenum,
    dfactorAlpha: GLenum
)
[src]

glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)

  • sfactorRGB group: BlendingFactor
  • dfactorRGB group: BlendingFactor
  • sfactorAlpha group: BlendingFactor
  • dfactorAlpha 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]

glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)

  • mask group: ClearBufferMask
  • filter group: BlitFramebufferFilter

pub unsafe fn BufferData(
    &self,
    target: GLenum,
    size: GLsizeiptr,
    data: *const c_void,
    usage: GLenum
)
[src]

glBufferData(target, size, data, usage)

  • target group: BufferTargetARB
  • size group: BufferSize
  • data len: size
  • usage group: BufferUsageARB

pub unsafe fn BufferSubData(
    &self,
    target: GLenum,
    offset: GLintptr,
    size: GLsizeiptr,
    data: *const c_void
)
[src]

glBufferSubData(target, offset, size, data)

  • target group: BufferTargetARB
  • offset group: BufferOffset
  • size group: BufferSize
  • data len: size

pub unsafe fn CheckFramebufferStatus(&self, target: GLenum) -> GLenum[src]

glCheckFramebufferStatus(target)

  • target group: FramebufferTarget
  • return value group: FramebufferStatus

pub unsafe fn ClampColor(&self, target: GLenum, clamp: GLenum)[src]

glClampColor(target, clamp)

  • target group: ClampColorTargetARB
  • clamp group: ClampColorModeARB

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]

glClearBufferfi(buffer, drawbuffer, depth, stencil)

  • buffer group: Buffer
  • drawbuffer group: DrawBufferName

pub unsafe fn ClearBufferfv(
    &self,
    buffer: GLenum,
    drawbuffer: GLint,
    value: *const GLfloat
)
[src]

glClearBufferfv(buffer, drawbuffer, value)

  • buffer group: Buffer
  • drawbuffer group: DrawBufferName
  • value len: COMPSIZE(buffer)

pub unsafe fn ClearBufferiv(
    &self,
    buffer: GLenum,
    drawbuffer: GLint,
    value: *const GLint
)
[src]

glClearBufferiv(buffer, drawbuffer, value)

  • buffer group: Buffer
  • drawbuffer group: DrawBufferName
  • value len: COMPSIZE(buffer)

pub unsafe fn ClearBufferuiv(
    &self,
    buffer: GLenum,
    drawbuffer: GLint,
    value: *const GLuint
)
[src]

glClearBufferuiv(buffer, drawbuffer, value)

  • buffer group: Buffer
  • drawbuffer group: DrawBufferName
  • value len: COMPSIZE(buffer)

pub unsafe fn ClearColor(
    &self,
    red: GLfloat,
    green: GLfloat,
    blue: GLfloat,
    alpha: GLfloat
)
[src]

glClearColor(red, green, blue, alpha)

  • red group: ColorF
  • green group: ColorF
  • blue group: ColorF
  • alpha group: ColorF

pub unsafe fn ClearDepth(&self, depth: GLdouble)[src]

glClearDepth(depth)

pub unsafe fn ClearStencil(&self, s: GLint)[src]

glClearStencil(s)

  • s group: StencilValue

pub unsafe fn ClientWaitSync(
    &self,
    sync: GLsync,
    flags: GLbitfield,
    timeout: GLuint64
) -> GLenum
[src]

glClientWaitSync(sync, flags, timeout)

  • sync group: sync
  • flags group: SyncObjectMask
  • return value group: SyncStatus

pub unsafe fn ColorMask(
    &self,
    red: GLboolean,
    green: GLboolean,
    blue: GLboolean,
    alpha: GLboolean
)
[src]

glColorMask(red, green, blue, alpha)

pub unsafe fn ColorMaski(
    &self,
    index: GLuint,
    r: GLboolean,
    g: GLboolean,
    b: GLboolean,
    a: GLboolean
)
[src]

glColorMaski(index, r, g, b, a)

pub unsafe fn CompileShader(&self, shader: GLuint)[src]

pub unsafe fn CompressedTexImage1D(
    &self,
    target: GLenum,
    level: GLint,
    internalformat: GLenum,
    width: GLsizei,
    border: GLint,
    imageSize: GLsizei,
    data: *const c_void
)
[src]

glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data)

  • target group: TextureTarget
  • level group: CheckedInt32
  • internalformat group: InternalFormat
  • border group: CheckedInt32
  • data group: CompressedTextureARB
  • data len: imageSize

pub unsafe fn CompressedTexImage2D(
    &self,
    target: GLenum,
    level: GLint,
    internalformat: GLenum,
    width: GLsizei,
    height: GLsizei,
    border: GLint,
    imageSize: GLsizei,
    data: *const c_void
)
[src]

glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data)

  • target group: TextureTarget
  • level group: CheckedInt32
  • internalformat group: InternalFormat
  • border group: CheckedInt32
  • data group: CompressedTextureARB
  • data 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]

glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data)

  • target group: TextureTarget
  • level group: CheckedInt32
  • internalformat group: InternalFormat
  • border group: CheckedInt32
  • data group: CompressedTextureARB
  • data len: imageSize

pub unsafe fn CompressedTexSubImage1D(
    &self,
    target: GLenum,
    level: GLint,
    xoffset: GLint,
    width: GLsizei,
    format: GLenum,
    imageSize: GLsizei,
    data: *const c_void
)
[src]

glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • format group: PixelFormat
  • data group: CompressedTextureARB
  • data 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]

glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • yoffset group: CheckedInt32
  • format group: PixelFormat
  • data group: CompressedTextureARB
  • data 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]

glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • yoffset group: CheckedInt32
  • zoffset group: CheckedInt32
  • format group: PixelFormat
  • data group: CompressedTextureARB
  • data len: imageSize

pub unsafe fn CopyBufferSubData(
    &self,
    readTarget: GLenum,
    writeTarget: GLenum,
    readOffset: GLintptr,
    writeOffset: GLintptr,
    size: GLsizeiptr
)
[src]

glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size)

  • readTarget group: CopyBufferSubDataTarget
  • writeTarget group: CopyBufferSubDataTarget
  • readOffset group: BufferOffset
  • writeOffset group: BufferOffset
  • size group: BufferSize

pub unsafe fn CopyTexImage1D(
    &self,
    target: GLenum,
    level: GLint,
    internalformat: GLenum,
    x: GLint,
    y: GLint,
    width: GLsizei,
    border: GLint
)
[src]

glCopyTexImage1D(target, level, internalformat, x, y, width, border)

  • target group: TextureTarget
  • level group: CheckedInt32
  • internalformat group: InternalFormat
  • x group: WinCoord
  • y group: WinCoord
  • border group: CheckedInt32

pub unsafe fn CopyTexImage2D(
    &self,
    target: GLenum,
    level: GLint,
    internalformat: GLenum,
    x: GLint,
    y: GLint,
    width: GLsizei,
    height: GLsizei,
    border: GLint
)
[src]

glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)

  • target group: TextureTarget
  • level group: CheckedInt32
  • internalformat group: InternalFormat
  • x group: WinCoord
  • y group: WinCoord
  • border group: CheckedInt32

pub unsafe fn CopyTexSubImage1D(
    &self,
    target: GLenum,
    level: GLint,
    xoffset: GLint,
    x: GLint,
    y: GLint,
    width: GLsizei
)
[src]

glCopyTexSubImage1D(target, level, xoffset, x, y, width)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • x group: WinCoord
  • y group: WinCoord

pub unsafe fn CopyTexSubImage2D(
    &self,
    target: GLenum,
    level: GLint,
    xoffset: GLint,
    yoffset: GLint,
    x: GLint,
    y: GLint,
    width: GLsizei,
    height: GLsizei
)
[src]

glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • yoffset group: CheckedInt32
  • x group: WinCoord
  • y 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]

glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • yoffset group: CheckedInt32
  • zoffset group: CheckedInt32
  • x group: WinCoord
  • y 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]

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]

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: Texture
  • textures 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]

pub unsafe fn DepthRange(&self, n: GLdouble, f: GLdouble)[src]

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]

pub unsafe fn Disablei(&self, target: GLenum, index: GLuint)[src]

glDisablei(target, index)

  • target group: EnableCap

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]

glDrawArraysInstanced(mode, first, count, instancecount)

  • mode group: PrimitiveType

pub unsafe fn DrawBuffer(&self, buf: GLenum)[src]

glDrawBuffer(buf)

  • buf group: DrawBufferMode

pub unsafe fn DrawBuffers(&self, n: GLsizei, bufs: *const GLenum)[src]

glDrawBuffers(n, bufs)

  • bufs group: DrawBufferMode
  • bufs len: n

pub unsafe fn DrawElements(
    &self,
    mode: GLenum,
    count: GLsizei,
    type_: GLenum,
    indices: *const c_void
)
[src]

glDrawElements(mode, count, type_, indices)

  • mode group: PrimitiveType
  • type_ group: DrawElementsType
  • indices len: COMPSIZE(count,type)

pub unsafe fn DrawElementsBaseVertex(
    &self,
    mode: GLenum,
    count: GLsizei,
    type_: GLenum,
    indices: *const c_void,
    basevertex: GLint
)
[src]

glDrawElementsBaseVertex(mode, count, type_, indices, basevertex)

  • mode group: PrimitiveType
  • type_ group: DrawElementsType
  • indices len: COMPSIZE(count,type)

pub unsafe fn DrawElementsInstanced(
    &self,
    mode: GLenum,
    count: GLsizei,
    type_: GLenum,
    indices: *const c_void,
    instancecount: GLsizei
)
[src]

glDrawElementsInstanced(mode, count, type_, indices, instancecount)

  • mode group: PrimitiveType
  • type_ group: DrawElementsType
  • indices len: COMPSIZE(count,type)

pub unsafe fn DrawElementsInstancedBaseVertex(
    &self,
    mode: GLenum,
    count: GLsizei,
    type_: GLenum,
    indices: *const c_void,
    instancecount: GLsizei,
    basevertex: GLint
)
[src]

glDrawElementsInstancedBaseVertex(mode, count, type_, indices, instancecount, basevertex)

  • mode group: PrimitiveType
  • type_ group: DrawElementsType
  • indices len: COMPSIZE(count,type)

pub unsafe fn DrawRangeElements(
    &self,
    mode: GLenum,
    start: GLuint,
    end: GLuint,
    count: GLsizei,
    type_: GLenum,
    indices: *const c_void
)
[src]

glDrawRangeElements(mode, start, end, count, type_, indices)

  • mode group: PrimitiveType
  • type_ group: DrawElementsType
  • indices len: COMPSIZE(count,type)

pub unsafe fn DrawRangeElementsBaseVertex(
    &self,
    mode: GLenum,
    start: GLuint,
    end: GLuint,
    count: GLsizei,
    type_: GLenum,
    indices: *const c_void,
    basevertex: GLint
)
[src]

glDrawRangeElementsBaseVertex(mode, start, end, count, type_, indices, basevertex)

  • mode group: PrimitiveType
  • type_ group: DrawElementsType
  • indices 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]

pub unsafe fn Enablei(&self, target: GLenum, index: GLuint)[src]

glEnablei(target, index)

  • target group: EnableCap

pub unsafe fn EndConditionalRender(&self)[src]

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]

pub unsafe fn Flush(&self)[src]

pub unsafe fn FlushMappedBufferRange(
    &self,
    target: GLenum,
    offset: GLintptr,
    length: GLsizeiptr
)
[src]

glFlushMappedBufferRange(target, offset, length)

  • target group: BufferTargetARB
  • offset group: BufferOffset
  • length group: BufferSize

pub unsafe fn FramebufferRenderbuffer(
    &self,
    target: GLenum,
    attachment: GLenum,
    renderbuffertarget: GLenum,
    renderbuffer: GLuint
)
[src]

glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)

  • target group: FramebufferTarget
  • attachment group: FramebufferAttachment
  • renderbuffertarget group: RenderbufferTarget

pub unsafe fn FramebufferTexture(
    &self,
    target: GLenum,
    attachment: GLenum,
    texture: GLuint,
    level: GLint
)
[src]

glFramebufferTexture(target, attachment, texture, level)

  • target group: FramebufferTarget
  • attachment group: FramebufferAttachment

pub unsafe fn FramebufferTexture1D(
    &self,
    target: GLenum,
    attachment: GLenum,
    textarget: GLenum,
    texture: GLuint,
    level: GLint
)
[src]

glFramebufferTexture1D(target, attachment, textarget, texture, level)

  • target group: FramebufferTarget
  • attachment group: FramebufferAttachment
  • textarget group: TextureTarget

pub unsafe fn FramebufferTexture2D(
    &self,
    target: GLenum,
    attachment: GLenum,
    textarget: GLenum,
    texture: GLuint,
    level: GLint
)
[src]

glFramebufferTexture2D(target, attachment, textarget, texture, level)

  • target group: FramebufferTarget
  • attachment group: FramebufferAttachment
  • textarget group: TextureTarget

pub unsafe fn FramebufferTexture3D(
    &self,
    target: GLenum,
    attachment: GLenum,
    textarget: GLenum,
    texture: GLuint,
    level: GLint,
    zoffset: GLint
)
[src]

glFramebufferTexture3D(target, attachment, textarget, texture, level, zoffset)

  • target group: FramebufferTarget
  • attachment group: FramebufferAttachment
  • textarget group: TextureTarget

pub unsafe fn FramebufferTextureLayer(
    &self,
    target: GLenum,
    attachment: GLenum,
    texture: GLuint,
    level: GLint,
    layer: GLint
)
[src]

glFramebufferTextureLayer(target, attachment, texture, level, layer)

  • target group: FramebufferTarget
  • attachment group: FramebufferAttachment
  • texture group: Texture
  • level group: CheckedInt32
  • layer 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: Texture
  • textures 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]

glGetActiveAttrib(program, index, bufSize, length, size, type_, name)

  • length len: 1
  • size len: 1
  • type_ group: AttributeType
  • type_ len: 1
  • name 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]

glGetActiveUniform(program, index, bufSize, length, size, type_, name)

  • length len: 1
  • size len: 1
  • type_ group: UniformType
  • type_ len: 1
  • name len: bufSize

pub unsafe fn GetActiveUniformBlockName(
    &self,
    program: GLuint,
    uniformBlockIndex: GLuint,
    bufSize: GLsizei,
    length: *mut GLsizei,
    uniformBlockName: *mut GLchar
)
[src]

glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName)

  • length len: 1
  • uniformBlockName len: bufSize

pub unsafe fn GetActiveUniformBlockiv(
    &self,
    program: GLuint,
    uniformBlockIndex: GLuint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params)

  • pname group: UniformBlockPName
  • params len: COMPSIZE(program,uniformBlockIndex,pname)

pub unsafe fn GetActiveUniformName(
    &self,
    program: GLuint,
    uniformIndex: GLuint,
    bufSize: GLsizei,
    length: *mut GLsizei,
    uniformName: *mut GLchar
)
[src]

glGetActiveUniformName(program, uniformIndex, bufSize, length, uniformName)

  • length len: 1
  • uniformName len: bufSize

pub unsafe fn GetActiveUniformsiv(
    &self,
    program: GLuint,
    uniformCount: GLsizei,
    uniformIndices: *const GLuint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params)

  • uniformIndices len: uniformCount
  • pname group: UniformPName
  • params len: COMPSIZE(uniformCount,pname)

pub unsafe fn GetAttachedShaders(
    &self,
    program: GLuint,
    maxCount: GLsizei,
    count: *mut GLsizei,
    shaders: *mut GLuint
)
[src]

glGetAttachedShaders(program, maxCount, count, shaders)

  • count len: 1
  • shaders len: maxCount

pub unsafe fn GetAttribLocation(
    &self,
    program: GLuint,
    name: *const GLchar
) -> GLint
[src]

glGetAttribLocation(program, name)

pub unsafe fn GetBooleani_v(
    &self,
    target: GLenum,
    index: GLuint,
    data: *mut GLboolean
)
[src]

glGetBooleani_v(target, index, data)

  • target group: BufferTargetARB
  • data len: COMPSIZE(target)

pub unsafe fn GetBooleanv(&self, pname: GLenum, data: *mut GLboolean)[src]

glGetBooleanv(pname, data)

  • pname group: GetPName
  • data len: COMPSIZE(pname)

pub unsafe fn GetBufferParameteri64v(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *mut GLint64
)
[src]

glGetBufferParameteri64v(target, pname, params)

  • target group: BufferTargetARB
  • pname group: BufferPNameARB
  • params len: COMPSIZE(pname)

pub unsafe fn GetBufferParameteriv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetBufferParameteriv(target, pname, params)

  • target group: BufferTargetARB
  • pname group: BufferPNameARB
  • params len: COMPSIZE(pname)

pub unsafe fn GetBufferPointerv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *mut *mut c_void
)
[src]

glGetBufferPointerv(target, pname, params)

  • target group: BufferTargetARB
  • pname group: BufferPointerNameARB
  • params len: 1

pub unsafe fn GetBufferSubData(
    &self,
    target: GLenum,
    offset: GLintptr,
    size: GLsizeiptr,
    data: *mut c_void
)
[src]

glGetBufferSubData(target, offset, size, data)

  • target group: BufferTargetARB
  • offset group: BufferOffset
  • size group: BufferSize
  • data len: size

pub unsafe fn GetCompressedTexImage(
    &self,
    target: GLenum,
    level: GLint,
    img: *mut c_void
)
[src]

glGetCompressedTexImage(target, level, img)

  • target group: TextureTarget
  • level group: CheckedInt32
  • img group: CompressedTextureARB
  • img len: COMPSIZE(target,level)

pub unsafe fn GetDoublev(&self, pname: GLenum, data: *mut GLdouble)[src]

glGetDoublev(pname, data)

  • pname group: GetPName
  • data len: COMPSIZE(pname)

pub unsafe fn GetError(&self) -> GLenum[src]

glGetError()

  • return value group: ErrorCode

pub unsafe fn GetFloatv(&self, pname: GLenum, data: *mut GLfloat)[src]

glGetFloatv(pname, data)

  • pname group: GetPName
  • data len: COMPSIZE(pname)

pub unsafe fn GetFragDataIndex(
    &self,
    program: GLuint,
    name: *const GLchar
) -> GLint
[src]

glGetFragDataIndex(program, name)

pub unsafe fn GetFragDataLocation(
    &self,
    program: GLuint,
    name: *const GLchar
) -> GLint
[src]

glGetFragDataLocation(program, name)

  • name len: COMPSIZE(name)

pub unsafe fn GetFramebufferAttachmentParameteriv(
    &self,
    target: GLenum,
    attachment: GLenum,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)

  • target group: FramebufferTarget
  • attachment group: FramebufferAttachment
  • pname group: FramebufferAttachmentParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetInteger64i_v(
    &self,
    target: GLenum,
    index: GLuint,
    data: *mut GLint64
)
[src]

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: GetPName
  • data len: COMPSIZE(pname)

pub unsafe fn GetIntegeri_v(
    &self,
    target: GLenum,
    index: GLuint,
    data: *mut GLint
)
[src]

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: GetPName
  • data len: COMPSIZE(pname)

pub unsafe fn GetMultisamplefv(
    &self,
    pname: GLenum,
    index: GLuint,
    val: *mut GLfloat
)
[src]

glGetMultisamplefv(pname, index, val)

  • pname group: GetMultisamplePNameNV
  • val len: COMPSIZE(pname)

pub unsafe fn GetProgramInfoLog(
    &self,
    program: GLuint,
    bufSize: GLsizei,
    length: *mut GLsizei,
    infoLog: *mut GLchar
)
[src]

glGetProgramInfoLog(program, bufSize, length, infoLog)

  • length len: 1
  • infoLog len: bufSize

pub unsafe fn GetProgramiv(
    &self,
    program: GLuint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetProgramiv(program, pname, params)

  • pname group: ProgramPropertyARB
  • params len: COMPSIZE(pname)

pub unsafe fn GetQueryObjecti64v(
    &self,
    id: GLuint,
    pname: GLenum,
    params: *mut GLint64
)
[src]

glGetQueryObjecti64v(id, pname, params)

  • pname group: QueryObjectParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetQueryObjectiv(
    &self,
    id: GLuint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetQueryObjectiv(id, pname, params)

  • pname group: QueryObjectParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetQueryObjectui64v(
    &self,
    id: GLuint,
    pname: GLenum,
    params: *mut GLuint64
)
[src]

glGetQueryObjectui64v(id, pname, params)

  • pname group: QueryObjectParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetQueryObjectuiv(
    &self,
    id: GLuint,
    pname: GLenum,
    params: *mut GLuint
)
[src]

glGetQueryObjectuiv(id, pname, params)

  • pname group: QueryObjectParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetQueryiv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetQueryiv(target, pname, params)

  • target group: QueryTarget
  • pname group: QueryParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetRenderbufferParameteriv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetRenderbufferParameteriv(target, pname, params)

  • target group: RenderbufferTarget
  • pname group: RenderbufferParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetSamplerParameterIiv(
    &self,
    sampler: GLuint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetSamplerParameterIiv(sampler, pname, params)

  • pname group: SamplerParameterI
  • params len: COMPSIZE(pname)

pub unsafe fn GetSamplerParameterIuiv(
    &self,
    sampler: GLuint,
    pname: GLenum,
    params: *mut GLuint
)
[src]

glGetSamplerParameterIuiv(sampler, pname, params)

  • pname group: SamplerParameterI
  • params len: COMPSIZE(pname)

pub unsafe fn GetSamplerParameterfv(
    &self,
    sampler: GLuint,
    pname: GLenum,
    params: *mut GLfloat
)
[src]

glGetSamplerParameterfv(sampler, pname, params)

  • pname group: SamplerParameterF
  • params len: COMPSIZE(pname)

pub unsafe fn GetSamplerParameteriv(
    &self,
    sampler: GLuint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetSamplerParameteriv(sampler, pname, params)

  • pname group: SamplerParameterI
  • params len: COMPSIZE(pname)

pub unsafe fn GetShaderInfoLog(
    &self,
    shader: GLuint,
    bufSize: GLsizei,
    length: *mut GLsizei,
    infoLog: *mut GLchar
)
[src]

glGetShaderInfoLog(shader, bufSize, length, infoLog)

  • length len: 1
  • infoLog len: bufSize

pub unsafe fn GetShaderSource(
    &self,
    shader: GLuint,
    bufSize: GLsizei,
    length: *mut GLsizei,
    source: *mut GLchar
)
[src]

glGetShaderSource(shader, bufSize, length, source)

  • length len: 1
  • source len: bufSize

pub unsafe fn GetShaderiv(
    &self,
    shader: GLuint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetShaderiv(shader, pname, params)

  • pname group: ShaderParameterName
  • params 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]

glGetSynciv(sync, pname, count, length, values)

  • sync group: sync
  • pname group: SyncParameterName
  • length len: 1
  • values len: count

pub unsafe fn GetTexImage(
    &self,
    target: GLenum,
    level: GLint,
    format: GLenum,
    type_: GLenum,
    pixels: *mut c_void
)
[src]

glGetTexImage(target, level, format, type_, pixels)

  • target group: TextureTarget
  • level group: CheckedInt32
  • format group: PixelFormat
  • type_ group: PixelType
  • pixels len: COMPSIZE(target,level,format,type)

pub unsafe fn GetTexLevelParameterfv(
    &self,
    target: GLenum,
    level: GLint,
    pname: GLenum,
    params: *mut GLfloat
)
[src]

glGetTexLevelParameterfv(target, level, pname, params)

  • target group: TextureTarget
  • level group: CheckedInt32
  • pname group: GetTextureParameter
  • params len: COMPSIZE(pname)

pub unsafe fn GetTexLevelParameteriv(
    &self,
    target: GLenum,
    level: GLint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetTexLevelParameteriv(target, level, pname, params)

  • target group: TextureTarget
  • level group: CheckedInt32
  • pname group: GetTextureParameter
  • params len: COMPSIZE(pname)

pub unsafe fn GetTexParameterIiv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetTexParameterIiv(target, pname, params)

  • target group: TextureTarget
  • pname group: GetTextureParameter
  • params len: COMPSIZE(pname)

pub unsafe fn GetTexParameterIuiv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *mut GLuint
)
[src]

glGetTexParameterIuiv(target, pname, params)

  • target group: TextureTarget
  • pname group: GetTextureParameter
  • params len: COMPSIZE(pname)

pub unsafe fn GetTexParameterfv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *mut GLfloat
)
[src]

glGetTexParameterfv(target, pname, params)

  • target group: TextureTarget
  • pname group: GetTextureParameter
  • params len: COMPSIZE(pname)

pub unsafe fn GetTexParameteriv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetTexParameteriv(target, pname, params)

  • target group: TextureTarget
  • pname group: GetTextureParameter
  • params 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]

glGetTransformFeedbackVarying(program, index, bufSize, length, size, type_, name)

  • length len: 1
  • size len: 1
  • type_ group: AttributeType
  • type_ len: 1
  • name len: bufSize

pub unsafe fn GetUniformBlockIndex(
    &self,
    program: GLuint,
    uniformBlockName: *const GLchar
) -> GLuint
[src]

glGetUniformBlockIndex(program, uniformBlockName)

  • uniformBlockName len: COMPSIZE()

pub unsafe fn GetUniformIndices(
    &self,
    program: GLuint,
    uniformCount: GLsizei,
    uniformNames: *const *const GLchar,
    uniformIndices: *mut GLuint
)
[src]

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]

glGetUniformLocation(program, name)

pub unsafe fn GetUniformfv(
    &self,
    program: GLuint,
    location: GLint,
    params: *mut GLfloat
)
[src]

glGetUniformfv(program, location, params)

  • params len: COMPSIZE(program,location)

pub unsafe fn GetUniformiv(
    &self,
    program: GLuint,
    location: GLint,
    params: *mut GLint
)
[src]

glGetUniformiv(program, location, params)

  • params len: COMPSIZE(program,location)

pub unsafe fn GetUniformuiv(
    &self,
    program: GLuint,
    location: GLint,
    params: *mut GLuint
)
[src]

glGetUniformuiv(program, location, params)

  • params len: COMPSIZE(program,location)

pub unsafe fn GetVertexAttribIiv(
    &self,
    index: GLuint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetVertexAttribIiv(index, pname, params)

  • pname group: VertexAttribEnum
  • params len: 1

pub unsafe fn GetVertexAttribIuiv(
    &self,
    index: GLuint,
    pname: GLenum,
    params: *mut GLuint
)
[src]

glGetVertexAttribIuiv(index, pname, params)

  • pname group: VertexAttribEnum
  • params len: 1

pub unsafe fn GetVertexAttribPointerv(
    &self,
    index: GLuint,
    pname: GLenum,
    pointer: *mut *mut c_void
)
[src]

glGetVertexAttribPointerv(index, pname, pointer)

  • pname group: VertexAttribPointerPropertyARB
  • pointer len: 1

pub unsafe fn GetVertexAttribdv(
    &self,
    index: GLuint,
    pname: GLenum,
    params: *mut GLdouble
)
[src]

glGetVertexAttribdv(index, pname, params)

  • pname group: VertexAttribPropertyARB
  • params len: 4

pub unsafe fn GetVertexAttribfv(
    &self,
    index: GLuint,
    pname: GLenum,
    params: *mut GLfloat
)
[src]

glGetVertexAttribfv(index, pname, params)

  • pname group: VertexAttribPropertyARB
  • params len: 4

pub unsafe fn GetVertexAttribiv(
    &self,
    index: GLuint,
    pname: GLenum,
    params: *mut GLint
)
[src]

glGetVertexAttribiv(index, pname, params)

  • pname group: VertexAttribPropertyARB
  • params len: 4

pub unsafe fn Hint(&self, target: GLenum, mode: GLenum)[src]

glHint(target, mode)

  • target group: HintTarget
  • mode group: HintMode

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 IsEnabledi(&self, target: GLenum, index: GLuint) -> GLboolean[src]

glIsEnabledi(target, index)

  • target 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]

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 IsVertexArray(&self, array: GLuint) -> GLboolean[src]

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 LogicOp(&self, opcode: GLenum)[src]

glLogicOp(opcode)

  • opcode group: LogicOp

pub unsafe fn MapBuffer(&self, target: GLenum, access: GLenum) -> *mut c_void[src]

glMapBuffer(target, access)

  • target group: BufferTargetARB
  • access group: BufferAccessARB

pub unsafe fn MapBufferRange(
    &self,
    target: GLenum,
    offset: GLintptr,
    length: GLsizeiptr,
    access: GLbitfield
) -> *mut c_void
[src]

glMapBufferRange(target, offset, length, access)

  • target group: BufferTargetARB
  • offset group: BufferOffset
  • length group: BufferSize
  • access group: MapBufferAccessMask

pub unsafe fn MultiDrawArrays(
    &self,
    mode: GLenum,
    first: *const GLint,
    count: *const GLsizei,
    drawcount: GLsizei
)
[src]

glMultiDrawArrays(mode, first, count, drawcount)

  • mode group: PrimitiveType
  • first len: COMPSIZE(drawcount)
  • count len: COMPSIZE(drawcount)

pub unsafe fn MultiDrawElements(
    &self,
    mode: GLenum,
    count: *const GLsizei,
    type_: GLenum,
    indices: *const *const c_void,
    drawcount: GLsizei
)
[src]

glMultiDrawElements(mode, count, type_, indices, drawcount)

  • mode group: PrimitiveType
  • count len: COMPSIZE(drawcount)
  • type_ group: DrawElementsType
  • indices len: COMPSIZE(drawcount)

pub unsafe fn MultiDrawElementsBaseVertex(
    &self,
    mode: GLenum,
    count: *const GLsizei,
    type_: GLenum,
    indices: *const *const c_void,
    drawcount: GLsizei,
    basevertex: *const GLint
)
[src]

glMultiDrawElementsBaseVertex(mode, count, type_, indices, drawcount, basevertex)

  • mode group: PrimitiveType
  • count len: COMPSIZE(drawcount)
  • type_ group: DrawElementsType
  • indices len: COMPSIZE(drawcount)
  • basevertex len: COMPSIZE(drawcount)

pub unsafe fn PixelStoref(&self, pname: GLenum, param: GLfloat)[src]

glPixelStoref(pname, param)

  • pname group: PixelStoreParameter
  • param group: CheckedFloat32

pub unsafe fn PixelStorei(&self, pname: GLenum, param: GLint)[src]

glPixelStorei(pname, param)

  • pname group: PixelStoreParameter
  • param group: CheckedInt32

pub unsafe fn PointParameterf(&self, pname: GLenum, param: GLfloat)[src]

glPointParameterf(pname, param)

  • pname group: PointParameterNameARB
  • param group: CheckedFloat32

pub unsafe fn PointParameterfv(&self, pname: GLenum, params: *const GLfloat)[src]

glPointParameterfv(pname, params)

  • pname group: PointParameterNameARB
  • params group: CheckedFloat32
  • params len: COMPSIZE(pname)

pub unsafe fn PointParameteri(&self, pname: GLenum, param: GLint)[src]

glPointParameteri(pname, param)

  • pname group: PointParameterNameARB

pub unsafe fn PointParameteriv(&self, pname: GLenum, params: *const GLint)[src]

glPointParameteriv(pname, params)

  • pname group: PointParameterNameARB
  • params len: COMPSIZE(pname)

pub unsafe fn PointSize(&self, size: GLfloat)[src]

glPointSize(size)

  • size group: CheckedFloat32

pub unsafe fn PolygonMode(&self, face: GLenum, mode: GLenum)[src]

glPolygonMode(face, mode)

  • face group: MaterialFace
  • mode group: PolygonMode

pub unsafe fn PolygonOffset(&self, factor: GLfloat, units: GLfloat)[src]

glPolygonOffset(factor, units)

pub unsafe fn PrimitiveRestartIndex(&self, index: GLuint)[src]

pub unsafe fn ProvokingVertex(&self, mode: GLenum)[src]

glProvokingVertex(mode)

  • mode group: VertexProvokingMode

pub unsafe fn QueryCounter(&self, id: GLuint, target: GLenum)[src]

glQueryCounter(id, target)

  • target group: QueryCounterTarget

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]

glReadPixels(x, y, width, height, format, type_, pixels)

  • x group: WinCoord
  • y group: WinCoord
  • format group: PixelFormat
  • type_ group: PixelType
  • pixels len: COMPSIZE(format,type,width,height)

pub unsafe fn RenderbufferStorage(
    &self,
    target: GLenum,
    internalformat: GLenum,
    width: GLsizei,
    height: GLsizei
)
[src]

glRenderbufferStorage(target, internalformat, width, height)

  • target group: RenderbufferTarget
  • internalformat group: InternalFormat

pub unsafe fn RenderbufferStorageMultisample(
    &self,
    target: GLenum,
    samples: GLsizei,
    internalformat: GLenum,
    width: GLsizei,
    height: GLsizei
)
[src]

glRenderbufferStorageMultisample(target, samples, internalformat, width, height)

  • target group: RenderbufferTarget
  • internalformat group: InternalFormat

pub unsafe fn SampleCoverage(&self, value: GLfloat, invert: GLboolean)[src]

glSampleCoverage(value, invert)

pub unsafe fn SampleMaski(&self, maskNumber: GLuint, mask: GLbitfield)[src]

glSampleMaski(maskNumber, mask)

pub unsafe fn SamplerParameterIiv(
    &self,
    sampler: GLuint,
    pname: GLenum,
    param: *const GLint
)
[src]

glSamplerParameterIiv(sampler, pname, param)

  • pname group: SamplerParameterI
  • param len: COMPSIZE(pname)

pub unsafe fn SamplerParameterIuiv(
    &self,
    sampler: GLuint,
    pname: GLenum,
    param: *const GLuint
)
[src]

glSamplerParameterIuiv(sampler, pname, param)

  • pname group: SamplerParameterI
  • param len: COMPSIZE(pname)

pub unsafe fn SamplerParameterf(
    &self,
    sampler: GLuint,
    pname: GLenum,
    param: GLfloat
)
[src]

glSamplerParameterf(sampler, pname, param)

  • pname group: SamplerParameterF

pub unsafe fn SamplerParameterfv(
    &self,
    sampler: GLuint,
    pname: GLenum,
    param: *const GLfloat
)
[src]

glSamplerParameterfv(sampler, pname, param)

  • pname group: SamplerParameterF
  • param len: COMPSIZE(pname)

pub unsafe fn SamplerParameteri(
    &self,
    sampler: GLuint,
    pname: GLenum,
    param: GLint
)
[src]

glSamplerParameteri(sampler, pname, param)

  • pname group: SamplerParameterI

pub unsafe fn SamplerParameteriv(
    &self,
    sampler: GLuint,
    pname: GLenum,
    param: *const GLint
)
[src]

glSamplerParameteriv(sampler, pname, param)

  • pname group: SamplerParameterI
  • param len: COMPSIZE(pname)

pub unsafe fn Scissor(
    &self,
    x: GLint,
    y: GLint,
    width: GLsizei,
    height: GLsizei
)
[src]

glScissor(x, y, width, height)

  • x group: WinCoord
  • y group: WinCoord

pub unsafe fn ShaderSource(
    &self,
    shader: GLuint,
    count: GLsizei,
    string: *const *const GLchar,
    length: *const GLint
)
[src]

glShaderSource(shader, count, string, length)

  • string len: count
  • length len: count

pub unsafe fn StencilFunc(&self, func: GLenum, ref_: GLint, mask: GLuint)[src]

glStencilFunc(func, ref_, mask)

  • func group: StencilFunction
  • ref_ group: StencilValue
  • mask group: MaskedStencilValue

pub unsafe fn StencilFuncSeparate(
    &self,
    face: GLenum,
    func: GLenum,
    ref_: GLint,
    mask: GLuint
)
[src]

glStencilFuncSeparate(face, func, ref_, mask)

  • face group: StencilFaceDirection
  • func group: StencilFunction
  • ref_ group: StencilValue
  • mask 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: StencilFaceDirection
  • mask group: MaskedStencilValue

pub unsafe fn StencilOp(&self, fail: GLenum, zfail: GLenum, zpass: GLenum)[src]

glStencilOp(fail, zfail, zpass)

  • fail group: StencilOp
  • zfail group: StencilOp
  • zpass group: StencilOp

pub unsafe fn StencilOpSeparate(
    &self,
    face: GLenum,
    sfail: GLenum,
    dpfail: GLenum,
    dppass: GLenum
)
[src]

glStencilOpSeparate(face, sfail, dpfail, dppass)

  • face group: StencilFaceDirection
  • sfail group: StencilOp
  • dpfail group: StencilOp
  • dppass group: StencilOp

pub unsafe fn TexBuffer(
    &self,
    target: GLenum,
    internalformat: GLenum,
    buffer: GLuint
)
[src]

glTexBuffer(target, internalformat, buffer)

  • target group: TextureTarget
  • internalformat group: InternalFormat

pub unsafe fn TexImage1D(
    &self,
    target: GLenum,
    level: GLint,
    internalformat: GLint,
    width: GLsizei,
    border: GLint,
    format: GLenum,
    type_: GLenum,
    pixels: *const c_void
)
[src]

glTexImage1D(target, level, internalformat, width, border, format, type_, pixels)

  • target group: TextureTarget
  • level group: CheckedInt32
  • internalformat group: InternalFormat
  • border group: CheckedInt32
  • format group: PixelFormat
  • type_ group: PixelType
  • pixels len: COMPSIZE(format,type,width)

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]

glTexImage2D(target, level, internalformat, width, height, border, format, type_, pixels)

  • target group: TextureTarget
  • level group: CheckedInt32
  • internalformat group: InternalFormat
  • border group: CheckedInt32
  • format group: PixelFormat
  • type_ group: PixelType
  • pixels len: COMPSIZE(format,type,width,height)

pub unsafe fn TexImage2DMultisample(
    &self,
    target: GLenum,
    samples: GLsizei,
    internalformat: GLenum,
    width: GLsizei,
    height: GLsizei,
    fixedsamplelocations: GLboolean
)
[src]

glTexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations)

  • target group: TextureTarget
  • internalformat group: InternalFormat

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]

glTexImage3D(target, level, internalformat, width, height, depth, border, format, type_, pixels)

  • target group: TextureTarget
  • level group: CheckedInt32
  • internalformat group: InternalFormat
  • border group: CheckedInt32
  • format group: PixelFormat
  • type_ group: PixelType
  • pixels len: COMPSIZE(format,type,width,height,depth)

pub unsafe fn TexImage3DMultisample(
    &self,
    target: GLenum,
    samples: GLsizei,
    internalformat: GLenum,
    width: GLsizei,
    height: GLsizei,
    depth: GLsizei,
    fixedsamplelocations: GLboolean
)
[src]

glTexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations)

  • target group: TextureTarget
  • internalformat group: InternalFormat

pub unsafe fn TexParameterIiv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *const GLint
)
[src]

glTexParameterIiv(target, pname, params)

  • target group: TextureTarget
  • pname group: TextureParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn TexParameterIuiv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *const GLuint
)
[src]

glTexParameterIuiv(target, pname, params)

  • target group: TextureTarget
  • pname group: TextureParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn TexParameterf(
    &self,
    target: GLenum,
    pname: GLenum,
    param: GLfloat
)
[src]

glTexParameterf(target, pname, param)

  • target group: TextureTarget
  • pname group: TextureParameterName
  • param group: CheckedFloat32

pub unsafe fn TexParameterfv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *const GLfloat
)
[src]

glTexParameterfv(target, pname, params)

  • target group: TextureTarget
  • pname group: TextureParameterName
  • params group: CheckedFloat32
  • params len: COMPSIZE(pname)

pub unsafe fn TexParameteri(&self, target: GLenum, pname: GLenum, param: GLint)[src]

glTexParameteri(target, pname, param)

  • target group: TextureTarget
  • pname group: TextureParameterName
  • param group: CheckedInt32

pub unsafe fn TexParameteriv(
    &self,
    target: GLenum,
    pname: GLenum,
    params: *const GLint
)
[src]

glTexParameteriv(target, pname, params)

  • target group: TextureTarget
  • pname group: TextureParameterName
  • params group: CheckedInt32
  • params len: COMPSIZE(pname)

pub unsafe fn TexSubImage1D(
    &self,
    target: GLenum,
    level: GLint,
    xoffset: GLint,
    width: GLsizei,
    format: GLenum,
    type_: GLenum,
    pixels: *const c_void
)
[src]

glTexSubImage1D(target, level, xoffset, width, format, type_, pixels)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • format group: PixelFormat
  • type_ group: PixelType
  • pixels len: COMPSIZE(format,type,width)

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]

glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type_, pixels)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • yoffset group: CheckedInt32
  • format group: PixelFormat
  • type_ group: PixelType
  • pixels 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]

glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type_, pixels)

  • target group: TextureTarget
  • level group: CheckedInt32
  • xoffset group: CheckedInt32
  • yoffset group: CheckedInt32
  • zoffset group: CheckedInt32
  • format group: PixelFormat
  • type_ group: PixelType
  • pixels len: COMPSIZE(format,type,width,height,depth)

pub unsafe fn TransformFeedbackVaryings(
    &self,
    program: GLuint,
    count: GLsizei,
    varyings: *const *const GLchar,
    bufferMode: GLenum
)
[src]

glTransformFeedbackVaryings(program, count, varyings, bufferMode)

  • varyings len: count
  • bufferMode 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]

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]

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]

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]

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]

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]

glUniform2uiv(location, count, value)

  • value len: count*2

pub unsafe fn Uniform3f(
    &self,
    location: GLint,
    v0: GLfloat,
    v1: GLfloat,
    v2: GLfloat
)
[src]

glUniform3f(location, v0, v1, v2)

pub unsafe fn Uniform3fv(
    &self,
    location: GLint,
    count: GLsizei,
    value: *const GLfloat
)
[src]

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]

glUniform3iv(location, count, value)

  • value len: count*3

pub unsafe fn Uniform3ui(
    &self,
    location: GLint,
    v0: GLuint,
    v1: GLuint,
    v2: GLuint
)
[src]

glUniform3ui(location, v0, v1, v2)

pub unsafe fn Uniform3uiv(
    &self,
    location: GLint,
    count: GLsizei,
    value: *const GLuint
)
[src]

glUniform3uiv(location, count, value)

  • value len: count*3

pub unsafe fn Uniform4f(
    &self,
    location: GLint,
    v0: GLfloat,
    v1: GLfloat,
    v2: GLfloat,
    v3: GLfloat
)
[src]

glUniform4f(location, v0, v1, v2, v3)

pub unsafe fn Uniform4fv(
    &self,
    location: GLint,
    count: GLsizei,
    value: *const GLfloat
)
[src]

glUniform4fv(location, count, value)

  • value len: count*4

pub unsafe fn Uniform4i(
    &self,
    location: GLint,
    v0: GLint,
    v1: GLint,
    v2: GLint,
    v3: GLint
)
[src]

glUniform4i(location, v0, v1, v2, v3)

pub unsafe fn Uniform4iv(
    &self,
    location: GLint,
    count: GLsizei,
    value: *const GLint
)
[src]

glUniform4iv(location, count, value)

  • value len: count*4

pub unsafe fn Uniform4ui(
    &self,
    location: GLint,
    v0: GLuint,
    v1: GLuint,
    v2: GLuint,
    v3: GLuint
)
[src]

glUniform4ui(location, v0, v1, v2, v3)

pub unsafe fn Uniform4uiv(
    &self,
    location: GLint,
    count: GLsizei,
    value: *const GLuint
)
[src]

glUniform4uiv(location, count, value)

  • value len: count*4

pub unsafe fn UniformBlockBinding(
    &self,
    program: GLuint,
    uniformBlockIndex: GLuint,
    uniformBlockBinding: GLuint
)
[src]

glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding)

pub unsafe fn UniformMatrix2fv(
    &self,
    location: GLint,
    count: GLsizei,
    transpose: GLboolean,
    value: *const GLfloat
)
[src]

glUniformMatrix2fv(location, count, transpose, value)

  • value len: count*4

pub unsafe fn UniformMatrix2x3fv(
    &self,
    location: GLint,
    count: GLsizei,
    transpose: GLboolean,
    value: *const GLfloat
)
[src]

glUniformMatrix2x3fv(location, count, transpose, value)

  • value len: count*6

pub unsafe fn UniformMatrix2x4fv(
    &self,
    location: GLint,
    count: GLsizei,
    transpose: GLboolean,
    value: *const GLfloat
)
[src]

glUniformMatrix2x4fv(location, count, transpose, value)

  • value len: count*8

pub unsafe fn UniformMatrix3fv(
    &self,
    location: GLint,
    count: GLsizei,
    transpose: GLboolean,
    value: *const GLfloat
)
[src]

glUniformMatrix3fv(location, count, transpose, value)

  • value len: count*9

pub unsafe fn UniformMatrix3x2fv(
    &self,
    location: GLint,
    count: GLsizei,
    transpose: GLboolean,
    value: *const GLfloat
)
[src]

glUniformMatrix3x2fv(location, count, transpose, value)

  • value len: count*6

pub unsafe fn UniformMatrix3x4fv(
    &self,
    location: GLint,
    count: GLsizei,
    transpose: GLboolean,
    value: *const GLfloat
)
[src]

glUniformMatrix3x4fv(location, count, transpose, value)

  • value len: count*12

pub unsafe fn UniformMatrix4fv(
    &self,
    location: GLint,
    count: GLsizei,
    transpose: GLboolean,
    value: *const GLfloat
)
[src]

glUniformMatrix4fv(location, count, transpose, value)

  • value len: count*16

pub unsafe fn UniformMatrix4x2fv(
    &self,
    location: GLint,
    count: GLsizei,
    transpose: GLboolean,
    value: *const GLfloat
)
[src]

glUniformMatrix4x2fv(location, count, transpose, value)

  • value len: count*8

pub unsafe fn UniformMatrix4x3fv(
    &self,
    location: GLint,
    count: GLsizei,
    transpose: GLboolean,
    value: *const GLfloat
)
[src]

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]

pub unsafe fn VertexAttrib1d(&self, index: GLuint, x: GLdouble)[src]

glVertexAttrib1d(index, x)

pub unsafe fn VertexAttrib1dv(&self, index: GLuint, v: *const GLdouble)[src]

glVertexAttrib1dv(index, v)

  • v len: 1

pub unsafe fn VertexAttrib1f(&self, index: GLuint, x: GLfloat)[src]

glVertexAttrib1f(index, x)

pub unsafe fn VertexAttrib1fv(&self, index: GLuint, v: *const GLfloat)[src]

glVertexAttrib1fv(index, v)

  • v len: 1

pub unsafe fn VertexAttrib1s(&self, index: GLuint, x: GLshort)[src]

glVertexAttrib1s(index, x)

pub unsafe fn VertexAttrib1sv(&self, index: GLuint, v: *const GLshort)[src]

glVertexAttrib1sv(index, v)

  • v len: 1

pub unsafe fn VertexAttrib2d(&self, index: GLuint, x: GLdouble, y: GLdouble)[src]

glVertexAttrib2d(index, x, y)

pub unsafe fn VertexAttrib2dv(&self, index: GLuint, v: *const GLdouble)[src]

glVertexAttrib2dv(index, v)

  • v len: 2

pub unsafe fn VertexAttrib2f(&self, index: GLuint, x: GLfloat, y: GLfloat)[src]

glVertexAttrib2f(index, x, y)

pub unsafe fn VertexAttrib2fv(&self, index: GLuint, v: *const GLfloat)[src]

glVertexAttrib2fv(index, v)

  • v len: 2

pub unsafe fn VertexAttrib2s(&self, index: GLuint, x: GLshort, y: GLshort)[src]

glVertexAttrib2s(index, x, y)

pub unsafe fn VertexAttrib2sv(&self, index: GLuint, v: *const GLshort)[src]

glVertexAttrib2sv(index, v)

  • v len: 2

pub unsafe fn VertexAttrib3d(
    &self,
    index: GLuint,
    x: GLdouble,
    y: GLdouble,
    z: GLdouble
)
[src]

glVertexAttrib3d(index, x, y, z)

pub unsafe fn VertexAttrib3dv(&self, index: GLuint, v: *const GLdouble)[src]

glVertexAttrib3dv(index, v)

  • v len: 3

pub unsafe fn VertexAttrib3f(
    &self,
    index: GLuint,
    x: GLfloat,
    y: GLfloat,
    z: GLfloat
)
[src]

glVertexAttrib3f(index, x, y, z)

pub unsafe fn VertexAttrib3fv(&self, index: GLuint, v: *const GLfloat)[src]

glVertexAttrib3fv(index, v)

  • v len: 3

pub unsafe fn VertexAttrib3s(
    &self,
    index: GLuint,
    x: GLshort,
    y: GLshort,
    z: GLshort
)
[src]

glVertexAttrib3s(index, x, y, z)

pub unsafe fn VertexAttrib3sv(&self, index: GLuint, v: *const GLshort)[src]

glVertexAttrib3sv(index, v)

  • v len: 3

pub unsafe fn VertexAttrib4Nbv(&self, index: GLuint, v: *const GLbyte)[src]

glVertexAttrib4Nbv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4Niv(&self, index: GLuint, v: *const GLint)[src]

glVertexAttrib4Niv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4Nsv(&self, index: GLuint, v: *const GLshort)[src]

glVertexAttrib4Nsv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4Nub(
    &self,
    index: GLuint,
    x: GLubyte,
    y: GLubyte,
    z: GLubyte,
    w: GLubyte
)
[src]

glVertexAttrib4Nub(index, x, y, z, w)

pub unsafe fn VertexAttrib4Nubv(&self, index: GLuint, v: *const GLubyte)[src]

glVertexAttrib4Nubv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4Nuiv(&self, index: GLuint, v: *const GLuint)[src]

glVertexAttrib4Nuiv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4Nusv(&self, index: GLuint, v: *const GLushort)[src]

glVertexAttrib4Nusv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4bv(&self, index: GLuint, v: *const GLbyte)[src]

glVertexAttrib4bv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4d(
    &self,
    index: GLuint,
    x: GLdouble,
    y: GLdouble,
    z: GLdouble,
    w: GLdouble
)
[src]

glVertexAttrib4d(index, x, y, z, w)

pub unsafe fn VertexAttrib4dv(&self, index: GLuint, v: *const GLdouble)[src]

glVertexAttrib4dv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4f(
    &self,
    index: GLuint,
    x: GLfloat,
    y: GLfloat,
    z: GLfloat,
    w: GLfloat
)
[src]

glVertexAttrib4f(index, x, y, z, w)

pub unsafe fn VertexAttrib4fv(&self, index: GLuint, v: *const GLfloat)[src]

glVertexAttrib4fv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4iv(&self, index: GLuint, v: *const GLint)[src]

glVertexAttrib4iv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4s(
    &self,
    index: GLuint,
    x: GLshort,
    y: GLshort,
    z: GLshort,
    w: GLshort
)
[src]

glVertexAttrib4s(index, x, y, z, w)

pub unsafe fn VertexAttrib4sv(&self, index: GLuint, v: *const GLshort)[src]

glVertexAttrib4sv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4ubv(&self, index: GLuint, v: *const GLubyte)[src]

glVertexAttrib4ubv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4uiv(&self, index: GLuint, v: *const GLuint)[src]

glVertexAttrib4uiv(index, v)

  • v len: 4

pub unsafe fn VertexAttrib4usv(&self, index: GLuint, v: *const GLushort)[src]

glVertexAttrib4usv(index, v)

  • v len: 4

pub unsafe fn VertexAttribDivisor(&self, index: GLuint, divisor: GLuint)[src]

glVertexAttribDivisor(index, divisor)

pub unsafe fn VertexAttribI1i(&self, index: GLuint, x: GLint)[src]

glVertexAttribI1i(index, x)

pub unsafe fn VertexAttribI1iv(&self, index: GLuint, v: *const GLint)[src]

glVertexAttribI1iv(index, v)

  • v len: 1

pub unsafe fn VertexAttribI1ui(&self, index: GLuint, x: GLuint)[src]

glVertexAttribI1ui(index, x)

pub unsafe fn VertexAttribI1uiv(&self, index: GLuint, v: *const GLuint)[src]

glVertexAttribI1uiv(index, v)

  • v len: 1

pub unsafe fn VertexAttribI2i(&self, index: GLuint, x: GLint, y: GLint)[src]

glVertexAttribI2i(index, x, y)

pub unsafe fn VertexAttribI2iv(&self, index: GLuint, v: *const GLint)[src]

glVertexAttribI2iv(index, v)

  • v len: 2

pub unsafe fn VertexAttribI2ui(&self, index: GLuint, x: GLuint, y: GLuint)[src]

glVertexAttribI2ui(index, x, y)

pub unsafe fn VertexAttribI2uiv(&self, index: GLuint, v: *const GLuint)[src]

glVertexAttribI2uiv(index, v)

  • v len: 2

pub unsafe fn VertexAttribI3i(
    &self,
    index: GLuint,
    x: GLint,
    y: GLint,
    z: GLint
)
[src]

glVertexAttribI3i(index, x, y, z)

pub unsafe fn VertexAttribI3iv(&self, index: GLuint, v: *const GLint)[src]

glVertexAttribI3iv(index, v)

  • v len: 3

pub unsafe fn VertexAttribI3ui(
    &self,
    index: GLuint,
    x: GLuint,
    y: GLuint,
    z: GLuint
)
[src]

glVertexAttribI3ui(index, x, y, z)

pub unsafe fn VertexAttribI3uiv(&self, index: GLuint, v: *const GLuint)[src]

glVertexAttribI3uiv(index, v)

  • v len: 3

pub unsafe fn VertexAttribI4bv(&self, index: GLuint, v: *const GLbyte)[src]

glVertexAttribI4bv(index, v)

  • v len: 4

pub unsafe fn VertexAttribI4i(
    &self,
    index: GLuint,
    x: GLint,
    y: GLint,
    z: GLint,
    w: GLint
)
[src]

glVertexAttribI4i(index, x, y, z, w)

pub unsafe fn VertexAttribI4iv(&self, index: GLuint, v: *const GLint)[src]

glVertexAttribI4iv(index, v)

  • v len: 4

pub unsafe fn VertexAttribI4sv(&self, index: GLuint, v: *const GLshort)[src]

glVertexAttribI4sv(index, v)

  • v len: 4

pub unsafe fn VertexAttribI4ubv(&self, index: GLuint, v: *const GLubyte)[src]

glVertexAttribI4ubv(index, v)

  • v len: 4

pub unsafe fn VertexAttribI4ui(
    &self,
    index: GLuint,
    x: GLuint,
    y: GLuint,
    z: GLuint,
    w: GLuint
)
[src]

glVertexAttribI4ui(index, x, y, z, w)

pub unsafe fn VertexAttribI4uiv(&self, index: GLuint, v: *const GLuint)[src]

glVertexAttribI4uiv(index, v)

  • v len: 4

pub unsafe fn VertexAttribI4usv(&self, index: GLuint, v: *const GLushort)[src]

glVertexAttribI4usv(index, v)

  • v len: 4

pub unsafe fn VertexAttribIPointer(
    &self,
    index: GLuint,
    size: GLint,
    type_: GLenum,
    stride: GLsizei,
    pointer: *const c_void
)
[src]

glVertexAttribIPointer(index, size, type_, stride, pointer)

  • type_ group: VertexAttribIType
  • pointer len: COMPSIZE(size,type,stride)

pub unsafe fn VertexAttribP1ui(
    &self,
    index: GLuint,
    type_: GLenum,
    normalized: GLboolean,
    value: GLuint
)
[src]

glVertexAttribP1ui(index, type_, normalized, value)

  • type_ group: VertexAttribPointerType

pub unsafe fn VertexAttribP1uiv(
    &self,
    index: GLuint,
    type_: GLenum,
    normalized: GLboolean,
    value: *const GLuint
)
[src]

glVertexAttribP1uiv(index, type_, normalized, value)

  • type_ group: VertexAttribPointerType
  • value len: 1

pub unsafe fn VertexAttribP2ui(
    &self,
    index: GLuint,
    type_: GLenum,
    normalized: GLboolean,
    value: GLuint
)
[src]

glVertexAttribP2ui(index, type_, normalized, value)

  • type_ group: VertexAttribPointerType

pub unsafe fn VertexAttribP2uiv(
    &self,
    index: GLuint,
    type_: GLenum,
    normalized: GLboolean,
    value: *const GLuint
)
[src]

glVertexAttribP2uiv(index, type_, normalized, value)

  • type_ group: VertexAttribPointerType
  • value len: 1

pub unsafe fn VertexAttribP3ui(
    &self,
    index: GLuint,
    type_: GLenum,
    normalized: GLboolean,
    value: GLuint
)
[src]

glVertexAttribP3ui(index, type_, normalized, value)

  • type_ group: VertexAttribPointerType

pub unsafe fn VertexAttribP3uiv(
    &self,
    index: GLuint,
    type_: GLenum,
    normalized: GLboolean,
    value: *const GLuint
)
[src]

glVertexAttribP3uiv(index, type_, normalized, value)

  • type_ group: VertexAttribPointerType
  • value len: 1

pub unsafe fn VertexAttribP4ui(
    &self,
    index: GLuint,
    type_: GLenum,
    normalized: GLboolean,
    value: GLuint
)
[src]

glVertexAttribP4ui(index, type_, normalized, value)

  • type_ group: VertexAttribPointerType

pub unsafe fn VertexAttribP4uiv(
    &self,
    index: GLuint,
    type_: GLenum,
    normalized: GLboolean,
    value: *const GLuint
)
[src]

glVertexAttribP4uiv(index, type_, normalized, value)

  • type_ group: VertexAttribPointerType
  • value len: 1

pub unsafe fn VertexAttribPointer(
    &self,
    index: GLuint,
    size: GLint,
    type_: GLenum,
    normalized: GLboolean,
    stride: GLsizei,
    pointer: *const c_void
)
[src]

glVertexAttribPointer(index, size, type_, normalized, stride, pointer)

  • type_ group: VertexAttribPointerType
  • pointer len: COMPSIZE(size,type,stride)

pub unsafe fn Viewport(
    &self,
    x: GLint,
    y: GLint,
    width: GLsizei,
    height: GLsizei
)
[src]

glViewport(x, y, width, height)

  • x group: WinCoord
  • y group: WinCoord

pub unsafe fn WaitSync(
    &self,
    sync: GLsync,
    flags: GLbitfield,
    timeout: GLuint64
)
[src]

glWaitSync(sync, flags, timeout)

  • sync group: sync

Trait Implementations

impl Debug for GlFns[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.