[][src]Struct gles30::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 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 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 BindTransformFeedback(&self, target: GLenum, id: GLuint)[src]

glBindTransformFeedback(target, id)

  • target group: BindTransformFeedbackTarget

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 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 ClearDepthf(&self, d: GLfloat)[src]

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 CompileShader(&self, shader: GLuint)[src]

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 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 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 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 DebugMessageCallbackKHR(
    &self,
    callback: GLDEBUGPROCKHR,
    userParam: *const c_void
)
[src]

This is supported on crate feature GL_KHR_debug only.

glDebugMessageCallbackKHR(callback, userParam)

  • alias of: [glDebugMessageCallback]

pub unsafe fn DebugMessageControlKHR(
    &self,
    source: GLenum,
    type_: GLenum,
    severity: GLenum,
    count: GLsizei,
    ids: *const GLuint,
    enabled: GLboolean
)
[src]

This is supported on crate feature GL_KHR_debug only.

glDebugMessageControlKHR(source, type_, severity, count, ids, enabled)

  • source group: DebugSource
  • type_ group: DebugType
  • severity group: DebugSeverity
  • alias of: [glDebugMessageControl]

pub unsafe fn DebugMessageInsertKHR(
    &self,
    source: GLenum,
    type_: GLenum,
    id: GLuint,
    severity: GLenum,
    length: GLsizei,
    buf: *const GLchar
)
[src]

This is supported on crate feature GL_KHR_debug only.

glDebugMessageInsertKHR(source, type_, id, severity, length, buf)

  • source group: DebugSource
  • type_ group: DebugType
  • severity group: DebugSeverity
  • alias of: [glDebugMessageInsert]

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

pub unsafe fn DepthRangef(&self, n: GLfloat, f: GLfloat)[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 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 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 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 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 Enable(&self, cap: GLenum)[src]

glEnable(cap)

  • cap group: EnableCap

pub unsafe fn EnableVertexAttribArray(&self, index: GLuint)[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 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 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 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]

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 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 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 GetDebugMessageLogKHR(
    &self,
    count: GLuint,
    bufSize: GLsizei,
    sources: *mut GLenum,
    types: *mut GLenum,
    ids: *mut GLuint,
    severities: *mut GLenum,
    lengths: *mut GLsizei,
    messageLog: *mut GLchar
) -> GLuint
[src]

This is supported on crate feature GL_KHR_debug only.

glGetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, messageLog)

  • sources group: DebugSource
  • sources len: count
  • types group: DebugType
  • types len: count
  • ids len: count
  • severities group: DebugSeverity
  • severities len: count
  • lengths len: count
  • messageLog len: bufSize
  • alias of: [glGetDebugMessageLog]

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 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 GetInternalformativ(
    &self,
    target: GLenum,
    internalformat: GLenum,
    pname: GLenum,
    count: GLsizei,
    params: *mut GLint
)
[src]

glGetInternalformativ(target, internalformat, pname, count, params)

  • target group: TextureTarget
  • internalformat group: InternalFormat
  • pname group: InternalFormatPName
  • params len: count

pub unsafe fn GetObjectLabelKHR(
    &self,
    identifier: GLenum,
    name: GLuint,
    bufSize: GLsizei,
    length: *mut GLsizei,
    label: *mut GLchar
)
[src]

This is supported on crate feature GL_KHR_debug only.

glGetObjectLabelKHR(identifier, name, bufSize, length, label)

  • label len: bufSize
  • alias of: [glGetObjectLabel]

pub unsafe fn GetObjectPtrLabelKHR(
    &self,
    ptr: *const c_void,
    bufSize: GLsizei,
    length: *mut GLsizei,
    label: *mut GLchar
)
[src]

This is supported on crate feature GL_KHR_debug only.

glGetObjectPtrLabelKHR(ptr, bufSize, length, label)

  • length len: 1
  • label len: bufSize
  • alias of: [glGetObjectPtrLabel]

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

This is supported on crate feature GL_KHR_debug only.

glGetPointervKHR(pname, params)

  • alias of: [glGetPointerv]

pub unsafe fn GetProgramBinary(
    &self,
    program: GLuint,
    bufSize: GLsizei,
    length: *mut GLsizei,
    binaryFormat: *mut GLenum,
    binary: *mut c_void
)
[src]

glGetProgramBinary(program, bufSize, length, binaryFormat, binary)

  • length len: 1
  • binaryFormat len: 1
  • binary len: bufSize

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 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 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 GetShaderPrecisionFormat(
    &self,
    shadertype: GLenum,
    precisiontype: GLenum,
    range: *mut GLint,
    precision: *mut GLint
)
[src]

glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision)

  • shadertype group: ShaderType
  • precisiontype group: PrecisionType
  • range len: 2
  • precision len: 1

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 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 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 InvalidateFramebuffer(
    &self,
    target: GLenum,
    numAttachments: GLsizei,
    attachments: *const GLenum
)
[src]

glInvalidateFramebuffer(target, numAttachments, attachments)

  • target group: FramebufferTarget
  • attachments group: InvalidateFramebufferAttachment
  • attachments len: numAttachments

pub unsafe fn InvalidateSubFramebuffer(
    &self,
    target: GLenum,
    numAttachments: GLsizei,
    attachments: *const GLenum,
    x: GLint,
    y: GLint,
    width: GLsizei,
    height: GLsizei
)
[src]

glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height)

  • target group: FramebufferTarget
  • attachments group: InvalidateFramebufferAttachment
  • attachments 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]

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]

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]

glMapBufferRange(target, offset, length, access)

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

pub unsafe fn ObjectLabelKHR(
    &self,
    identifier: GLenum,
    name: GLuint,
    length: GLsizei,
    label: *const GLchar
)
[src]

This is supported on crate feature GL_KHR_debug only.

glObjectLabelKHR(identifier, name, length, label)

  • identifier group: ObjectIdentifier
  • alias of: [glObjectLabel]

pub unsafe fn ObjectPtrLabelKHR(
    &self,
    ptr: *const c_void,
    length: GLsizei,
    label: *const GLchar
)
[src]

This is supported on crate feature GL_KHR_debug only.

glObjectPtrLabelKHR(ptr, length, label)

  • alias of: [glObjectPtrLabel]

pub unsafe fn PauseTransformFeedback(&self)[src]

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

glPixelStorei(pname, param)

  • pname group: PixelStoreParameter
  • param group: CheckedInt32

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

glPolygonOffset(factor, units)

pub unsafe fn PopDebugGroupKHR(&self)[src]

This is supported on crate feature GL_KHR_debug only.

glPopDebugGroupKHR()

  • alias of: [glPopDebugGroup]

pub unsafe fn ProgramBinary(
    &self,
    program: GLuint,
    binaryFormat: GLenum,
    binary: *const c_void,
    length: GLsizei
)
[src]

glProgramBinary(program, binaryFormat, binary, length)

  • binary len: length

pub unsafe fn ProgramParameteri(
    &self,
    program: GLuint,
    pname: GLenum,
    value: GLint
)
[src]

glProgramParameteri(program, pname, value)

  • pname group: ProgramParameterPName

pub unsafe fn PushDebugGroupKHR(
    &self,
    source: GLenum,
    id: GLuint,
    length: GLsizei,
    message: *const GLchar
)
[src]

This is supported on crate feature GL_KHR_debug only.

glPushDebugGroupKHR(source, id, length, message)

  • source group: DebugSource
  • alias of: [glPushDebugGroup]

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 ReleaseShaderCompiler(&self)[src]

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

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 ShaderBinary(
    &self,
    count: GLsizei,
    shaders: *const GLuint,
    binaryformat: GLenum,
    binary: *const c_void,
    length: GLsizei
)
[src]

glShaderBinary(count, shaders, binaryformat, binary, length)

  • shaders len: count
  • binary len: length

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 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 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 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 TexStorage2D(
    &self,
    target: GLenum,
    levels: GLsizei,
    internalformat: GLenum,
    width: GLsizei,
    height: GLsizei
)
[src]

glTexStorage2D(target, levels, internalformat, width, height)

  • target group: TextureTarget
  • internalformat group: InternalFormat

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

glTexStorage3D(target, levels, internalformat, width, height, depth)

  • target group: TextureTarget
  • internalformat 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]

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

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

impl Zeroable for GlFns[src]

Auto Trait Implementations

impl Send for GlFns

impl Sync for GlFns

impl Unpin 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.