Struct gl46::GlFns[][src]

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

Implementations

impl GlFns[src]

pub unsafe fn load_from(
    f: &dyn Fn(*const u8) -> *const c_void
) -> Result<Self, &'static str>
[src]

Loads all GL functions from the loader given.

Failure

This fails if any non-nullable function does not load. The error value will be the name of the first non-nullable function that doesn’t load.

Safety

  • The “Get Proc Address” function you provide will always be given a pointer to the start of a null-terminated string containing the name of a GL function to load.
  • The “Get Proc Address” function given must always return accurate function pointer values, or null on failure.

impl GlFns[src]

pub unsafe fn ActiveShaderProgram(&self, pipeline: c_uint, program: c_uint)[src]

glActiveShaderProgram

  • pipeline class: program pipeline
  • program class: program

pub unsafe fn ActiveTexture(&self, texture: TextureUnit)[src]

glActiveTexture

  • texture group: TextureUnit

pub fn AttachShader(&self, program: c_uint, shader: c_uint)[src]

glAttachShader

Attaches the given shader object to the given program object. You can attach more than one shader of the same type to a program.

  • program is the program you’re attaching the shader object to.
  • shader is the shader you’re attaching.

pub unsafe fn BeginConditionalRender(
    &self,
    id: c_uint,
    mode: ConditionalRenderMode
)
[src]

glBeginConditionalRender

  • mode group: ConditionalRenderMode

pub unsafe fn BeginQuery(&self, target: QueryTarget, id: c_uint)[src]

glBeginQuery

  • target group: QueryTarget
  • id class: query

pub unsafe fn BeginQueryIndexed(
    &self,
    target: QueryTarget,
    index: c_uint,
    id: c_uint
)
[src]

glBeginQueryIndexed

  • target group: QueryTarget
  • id class: query

pub unsafe fn BeginTransformFeedback(&self, primitiveMode: PrimitiveType)[src]

glBeginTransformFeedback

  • primitiveMode group: PrimitiveType

pub unsafe fn BindAttribLocation(
    &self,
    program: c_uint,
    index: c_uint,
    name: *const u8
)
[src]

glBindAttribLocation

  • program class: program

pub unsafe fn BindBuffer(&self, target: BufferTargetARB, buffer: c_uint)[src]

glBindBuffer

  • target group: BufferTargetARB
  • buffer class: buffer

pub unsafe fn BindBufferBase(
    &self,
    target: BufferTargetARB,
    index: c_uint,
    buffer: c_uint
)
[src]

glBindBufferBase

  • target group: BufferTargetARB
  • buffer class: buffer

pub unsafe fn BindBufferRange(
    &self,
    target: BufferTargetARB,
    index: c_uint,
    buffer: c_uint,
    offset: isize,
    size: isize
)
[src]

glBindBufferRange

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

pub unsafe fn BindBuffersBase(
    &self,
    target: BufferTargetARB,
    first: c_uint,
    count: c_int,
    buffers: *const c_uint
)
[src]

glBindBuffersBase

  • target group: BufferTargetARB
  • buffers class: buffer
  • buffers len: count

pub unsafe fn BindBuffersRange(
    &self,
    target: BufferTargetARB,
    first: c_uint,
    count: c_int,
    buffers: *const c_uint,
    offsets: *const isize,
    sizes: *const isize
)
[src]

glBindBuffersRange

  • target group: BufferTargetARB
  • buffers class: buffer
  • buffers len: count
  • offsets len: count
  • sizes len: count

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

glBindFragDataLocation

  • program class: program
  • name len: COMPSIZE(name)

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

glBindFragDataLocationIndexed

  • program class: program

pub unsafe fn BindFramebuffer(
    &self,
    target: FramebufferTarget,
    framebuffer: c_uint
)
[src]

glBindFramebuffer

  • target group: FramebufferTarget
  • framebuffer class: framebuffer

pub unsafe fn BindImageTexture(
    &self,
    unit: c_uint,
    texture: c_uint,
    level: c_int,
    layered: c_uchar,
    layer: c_int,
    access: BufferAccessARB,
    format: InternalFormat
)
[src]

glBindImageTexture

  • texture class: texture
  • layered group: Boolean
  • access group: BufferAccessARB
  • format group: InternalFormat

pub unsafe fn BindImageTextures(
    &self,
    first: c_uint,
    count: c_int,
    textures: *const c_uint
)
[src]

glBindImageTextures

  • textures class: texture
  • textures len: count

pub unsafe fn BindProgramPipeline(&self, pipeline: c_uint)[src]

glBindProgramPipeline

  • pipeline class: program pipeline

pub unsafe fn BindRenderbuffer(
    &self,
    target: RenderbufferTarget,
    renderbuffer: c_uint
)
[src]

glBindRenderbuffer

  • target group: RenderbufferTarget
  • renderbuffer class: renderbuffer

pub unsafe fn BindSampler(&self, unit: c_uint, sampler: c_uint)[src]

glBindSampler

  • sampler class: sampler

pub unsafe fn BindSamplers(
    &self,
    first: c_uint,
    count: c_int,
    samplers: *const c_uint
)
[src]

glBindSamplers

  • samplers class: sampler
  • samplers len: count

pub unsafe fn BindTexture(&self, target: TextureTarget, texture: c_uint)[src]

glBindTexture

  • target group: TextureTarget
  • texture group: Texture
  • texture class: texture

pub unsafe fn BindTextureUnit(&self, unit: c_uint, texture: c_uint)[src]

glBindTextureUnit

  • texture class: texture

pub unsafe fn BindTextures(
    &self,
    first: c_uint,
    count: c_int,
    textures: *const c_uint
)
[src]

glBindTextures

  • textures class: texture
  • textures len: count

pub unsafe fn BindTransformFeedback(
    &self,
    target: BindTransformFeedbackTarget,
    id: c_uint
)
[src]

glBindTransformFeedback

  • target group: BindTransformFeedbackTarget
  • id class: transform feedback

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

glBindVertexArray

Binds a given vertex array object as the active vertex array object. Passing 0 will make it so that no vertex array object is bound.

  • array names the vertex array object to bind.

pub unsafe fn BindVertexBuffer(
    &self,
    bindingindex: c_uint,
    buffer: c_uint,
    offset: isize,
    stride: c_int
)
[src]

glBindVertexBuffer

  • buffer class: buffer
  • offset group: BufferOffset

pub unsafe fn BindVertexBuffers(
    &self,
    first: c_uint,
    count: c_int,
    buffers: *const c_uint,
    offsets: *const isize,
    strides: *const c_int
)
[src]

glBindVertexBuffers

  • buffers class: buffer
  • buffers len: count
  • offsets len: count
  • strides len: count

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

glBlendColor

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

pub unsafe fn BlendEquation(&self, mode: BlendEquationModeEXT)[src]

glBlendEquation

  • mode group: BlendEquationModeEXT

pub unsafe fn BlendEquationSeparate(
    &self,
    modeRGB: BlendEquationModeEXT,
    modeAlpha: BlendEquationModeEXT
)
[src]

glBlendEquationSeparate

  • modeRGB group: BlendEquationModeEXT
  • modeAlpha group: BlendEquationModeEXT

pub unsafe fn BlendEquationSeparatei(
    &self,
    buf: c_uint,
    modeRGB: BlendEquationModeEXT,
    modeAlpha: BlendEquationModeEXT
)
[src]

glBlendEquationSeparatei

  • modeRGB group: BlendEquationModeEXT
  • modeAlpha group: BlendEquationModeEXT

pub unsafe fn BlendEquationi(&self, buf: c_uint, mode: BlendEquationModeEXT)[src]

glBlendEquationi

  • mode group: BlendEquationModeEXT

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

glBlendFunc

  • sfactor group: BlendingFactor
  • dfactor group: BlendingFactor

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

glBlendFuncSeparate

  • sfactorRGB group: BlendingFactor
  • dfactorRGB group: BlendingFactor
  • sfactorAlpha group: BlendingFactor
  • dfactorAlpha group: BlendingFactor

pub unsafe fn BlendFuncSeparatei(
    &self,
    buf: c_uint,
    srcRGB: BlendingFactor,
    dstRGB: BlendingFactor,
    srcAlpha: BlendingFactor,
    dstAlpha: BlendingFactor
)
[src]

glBlendFuncSeparatei

  • srcRGB group: BlendingFactor
  • dstRGB group: BlendingFactor
  • srcAlpha group: BlendingFactor
  • dstAlpha group: BlendingFactor

pub unsafe fn BlendFunci(
    &self,
    buf: c_uint,
    src: BlendingFactor,
    dst: BlendingFactor
)
[src]

glBlendFunci

  • src group: BlendingFactor
  • dst group: BlendingFactor

pub unsafe fn BlitFramebuffer(
    &self,
    srcX0: c_int,
    srcY0: c_int,
    srcX1: c_int,
    srcY1: c_int,
    dstX0: c_int,
    dstY0: c_int,
    dstX1: c_int,
    dstY1: c_int,
    mask: GLbitfield,
    filter: BlitFramebufferFilter
)
[src]

glBlitFramebuffer

  • mask group: ClearBufferMask
  • filter group: BlitFramebufferFilter

pub unsafe fn BlitNamedFramebuffer(
    &self,
    readFramebuffer: c_uint,
    drawFramebuffer: c_uint,
    srcX0: c_int,
    srcY0: c_int,
    srcX1: c_int,
    srcY1: c_int,
    dstX0: c_int,
    dstY0: c_int,
    dstX1: c_int,
    dstY1: c_int,
    mask: GLbitfield,
    filter: BlitFramebufferFilter
)
[src]

glBlitNamedFramebuffer

  • readFramebuffer class: framebuffer
  • drawFramebuffer class: framebuffer
  • mask group: ClearBufferMask
  • filter group: BlitFramebufferFilter

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

glBufferData

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

pub unsafe fn BufferStorage(
    &self,
    target: BufferStorageTarget,
    size: isize,
    data: *const c_void,
    flags: GLbitfield
)
[src]

glBufferStorage

  • target group: BufferStorageTarget
  • data len: size
  • flags group: BufferStorageMask

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

glBufferSubData

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

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

glCheckFramebufferStatus

  • target group: FramebufferTarget

pub unsafe fn CheckNamedFramebufferStatus(
    &self,
    framebuffer: c_uint,
    target: FramebufferTarget
) -> FramebufferStatus
[src]

glCheckNamedFramebufferStatus

  • framebuffer class: framebuffer
  • target group: FramebufferTarget

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

glClampColor

  • target group: ClampColorTargetARB
  • clamp group: ClampColorModeARB

pub unsafe fn Clear(&self, mask: GLbitfield)[src]

glClear

  • mask group: ClearBufferMask

pub unsafe fn ClearBufferData(
    &self,
    target: BufferStorageTarget,
    internalformat: InternalFormat,
    format: PixelFormat,
    type_: PixelType,
    data: *const c_void
)
[src]

glClearBufferData

  • target group: BufferStorageTarget
  • internalformat group: InternalFormat
  • format group: PixelFormat
  • type group: PixelType
  • data len: COMPSIZE(format,type)

pub unsafe fn ClearBufferSubData(
    &self,
    target: BufferTargetARB,
    internalformat: InternalFormat,
    offset: isize,
    size: isize,
    format: PixelFormat,
    type_: PixelType,
    data: *const c_void
)
[src]

glClearBufferSubData

  • target group: BufferTargetARB
  • internalformat group: InternalFormat
  • offset group: BufferOffset
  • size group: BufferSize
  • format group: PixelFormat
  • type group: PixelType
  • data len: COMPSIZE(format,type)

pub unsafe fn ClearBufferfi(
    &self,
    buffer: Buffer,
    drawbuffer: c_int,
    depth: c_float,
    stencil: c_int
)
[src]

glClearBufferfi

  • buffer group: Buffer
  • drawbuffer group: DrawBufferName

pub unsafe fn ClearBufferfv(
    &self,
    buffer: Buffer,
    drawbuffer: c_int,
    value: *const c_float
)
[src]

glClearBufferfv

Clears a specified buffer of the currently bound draw framebuffer object to a specified value.

  • If buffer is GL_COLOR, a particular draw buffer GL_DRAW_BUFFERi is specified by passing i as drawbuffer (eg: to affect GL_DRAW_BUFFER0 you’d pass 0). In this case, value points to a four-element vector specifying the R, G, B, and A color to clear that draw buffer to. If the value of GL_DRAW_BUFFERi is GL_NONE, the command has no effect. Otherwise, the value of GL_DRAW_BUFFERi identifies one or more color buffers, each of which is cleared to the same value. Clamping and type conversion for fixed-point color buffers are performed in the same fashion as for glClearColor.
  • If buffer is GL_DEPTH, drawbuffer must be zero, and value points to a single value to clear the depth buffer to. Clamping and type conversion for fixed-point depth buffers are performed in the same fashion as for glClearDepth.

Errors

  • GL_INVALID_ENUM is generated if buffer is not GL_COLOR or GL_DEPTH.

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

glClearBufferiv

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

pub unsafe fn ClearBufferuiv(
    &self,
    buffer: Buffer,
    drawbuffer: c_int,
    value: *const c_uint
)
[src]

glClearBufferuiv

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

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

glClearColor

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

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

glClearDepth

pub unsafe fn ClearDepthf(&self, d: c_float)[src]

glClearDepthf

pub unsafe fn ClearNamedBufferData(
    &self,
    buffer: c_uint,
    internalformat: InternalFormat,
    format: PixelFormat,
    type_: PixelType,
    data: *const c_void
)
[src]

glClearNamedBufferData

  • buffer class: buffer
  • internalformat group: InternalFormat
  • format group: PixelFormat
  • type group: PixelType

pub unsafe fn ClearNamedBufferSubData(
    &self,
    buffer: c_uint,
    internalformat: InternalFormat,
    offset: isize,
    size: isize,
    format: PixelFormat,
    type_: PixelType,
    data: *const c_void
)
[src]

glClearNamedBufferSubData

  • buffer class: buffer
  • internalformat group: InternalFormat
  • size group: BufferSize
  • format group: PixelFormat
  • type group: PixelType

pub unsafe fn ClearNamedFramebufferfi(
    &self,
    framebuffer: c_uint,
    buffer: Buffer,
    drawbuffer: c_int,
    depth: c_float,
    stencil: c_int
)
[src]

glClearNamedFramebufferfi

  • framebuffer class: framebuffer
  • buffer group: Buffer

pub unsafe fn ClearNamedFramebufferfv(
    &self,
    framebuffer: c_uint,
    buffer: Buffer,
    drawbuffer: c_int,
    value: *const c_float
)
[src]

glClearNamedFramebufferfv

  • framebuffer class: framebuffer
  • buffer group: Buffer

pub unsafe fn ClearNamedFramebufferiv(
    &self,
    framebuffer: c_uint,
    buffer: Buffer,
    drawbuffer: c_int,
    value: *const c_int
)
[src]

glClearNamedFramebufferiv

  • framebuffer class: framebuffer
  • buffer group: Buffer

pub unsafe fn ClearNamedFramebufferuiv(
    &self,
    framebuffer: c_uint,
    buffer: Buffer,
    drawbuffer: c_int,
    value: *const c_uint
)
[src]

glClearNamedFramebufferuiv

  • framebuffer class: framebuffer
  • buffer group: Buffer

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

glClearStencil

  • s group: StencilValue

pub unsafe fn ClearTexImage(
    &self,
    texture: c_uint,
    level: c_int,
    format: PixelFormat,
    type_: PixelType,
    data: *const c_void
)
[src]

glClearTexImage

  • texture class: texture
  • format group: PixelFormat
  • type group: PixelType
  • data len: COMPSIZE(format,type)

pub unsafe fn ClearTexSubImage(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    width: c_int,
    height: c_int,
    depth: c_int,
    format: PixelFormat,
    type_: PixelType,
    data: *const c_void
)
[src]

glClearTexSubImage

  • texture class: texture
  • format group: PixelFormat
  • type group: PixelType
  • data len: COMPSIZE(format,type)

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

glClientWaitSync

  • sync group: sync
  • sync class: sync
  • flags group: SyncObjectMask

pub unsafe fn ClipControl(
    &self,
    origin: ClipControlOrigin,
    depth: ClipControlDepth
)
[src]

glClipControl

  • origin group: ClipControlOrigin
  • depth group: ClipControlDepth

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

glColorMask

  • red group: Boolean
  • green group: Boolean
  • blue group: Boolean
  • alpha group: Boolean

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

glColorMaski

  • r group: Boolean
  • g group: Boolean
  • b group: Boolean
  • a group: Boolean

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

glCompileShader

Compiles the source code assigned to the shader. The compilation status is stored as part of the shader object’s state, check it with glGetShader and glGetShaderInfoLog.

  • shader names the shader to compile.

pub unsafe fn CompressedTexImage1D(
    &self,
    target: TextureTarget,
    level: c_int,
    internalformat: InternalFormat,
    width: c_int,
    border: c_int,
    imageSize: c_int,
    data: *const c_void
)
[src]

glCompressedTexImage1D

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

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

glCompressedTexImage2D

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

pub unsafe fn CompressedTexImage3D(
    &self,
    target: TextureTarget,
    level: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int,
    depth: c_int,
    border: c_int,
    imageSize: c_int,
    data: *const c_void
)
[src]

glCompressedTexImage3D

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

pub unsafe fn CompressedTexSubImage1D(
    &self,
    target: TextureTarget,
    level: c_int,
    xoffset: c_int,
    width: c_int,
    format: PixelFormat,
    imageSize: c_int,
    data: *const c_void
)
[src]

glCompressedTexSubImage1D

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

pub unsafe fn CompressedTexSubImage2D(
    &self,
    target: TextureTarget,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    width: c_int,
    height: c_int,
    format: PixelFormat,
    imageSize: c_int,
    data: *const c_void
)
[src]

glCompressedTexSubImage2D

  • 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: TextureTarget,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    width: c_int,
    height: c_int,
    depth: c_int,
    format: PixelFormat,
    imageSize: c_int,
    data: *const c_void
)
[src]

glCompressedTexSubImage3D

  • 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 CompressedTextureSubImage1D(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    width: c_int,
    format: PixelFormat,
    imageSize: c_int,
    data: *const c_void
)
[src]

glCompressedTextureSubImage1D

  • texture class: texture
  • format group: PixelFormat

pub unsafe fn CompressedTextureSubImage2D(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    width: c_int,
    height: c_int,
    format: PixelFormat,
    imageSize: c_int,
    data: *const c_void
)
[src]

glCompressedTextureSubImage2D

  • texture class: texture
  • format group: PixelFormat

pub unsafe fn CompressedTextureSubImage3D(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    width: c_int,
    height: c_int,
    depth: c_int,
    format: PixelFormat,
    imageSize: c_int,
    data: *const c_void
)
[src]

glCompressedTextureSubImage3D

  • texture class: texture
  • format group: PixelFormat

pub unsafe fn CopyBufferSubData(
    &self,
    readTarget: CopyBufferSubDataTarget,
    writeTarget: CopyBufferSubDataTarget,
    readOffset: isize,
    writeOffset: isize,
    size: isize
)
[src]

glCopyBufferSubData

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

pub unsafe fn CopyImageSubData(
    &self,
    srcName: c_uint,
    srcTarget: CopyImageSubDataTarget,
    srcLevel: c_int,
    srcX: c_int,
    srcY: c_int,
    srcZ: c_int,
    dstName: c_uint,
    dstTarget: CopyImageSubDataTarget,
    dstLevel: c_int,
    dstX: c_int,
    dstY: c_int,
    dstZ: c_int,
    srcWidth: c_int,
    srcHeight: c_int,
    srcDepth: c_int
)
[src]

glCopyImageSubData

  • srcTarget group: CopyImageSubDataTarget
  • dstTarget group: CopyImageSubDataTarget

pub unsafe fn CopyNamedBufferSubData(
    &self,
    readBuffer: c_uint,
    writeBuffer: c_uint,
    readOffset: isize,
    writeOffset: isize,
    size: isize
)
[src]

glCopyNamedBufferSubData

  • readBuffer class: buffer
  • writeBuffer class: buffer
  • size group: BufferSize

pub unsafe fn CopyTexImage1D(
    &self,
    target: TextureTarget,
    level: c_int,
    internalformat: InternalFormat,
    x: c_int,
    y: c_int,
    width: c_int,
    border: c_int
)
[src]

glCopyTexImage1D

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

pub unsafe fn CopyTexImage2D(
    &self,
    target: TextureTarget,
    level: c_int,
    internalformat: InternalFormat,
    x: c_int,
    y: c_int,
    width: c_int,
    height: c_int,
    border: c_int
)
[src]

glCopyTexImage2D

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

pub unsafe fn CopyTexSubImage1D(
    &self,
    target: TextureTarget,
    level: c_int,
    xoffset: c_int,
    x: c_int,
    y: c_int,
    width: c_int
)
[src]

glCopyTexSubImage1D

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

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

glCopyTexSubImage2D

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

pub unsafe fn CopyTexSubImage3D(
    &self,
    target: TextureTarget,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    x: c_int,
    y: c_int,
    width: c_int,
    height: c_int
)
[src]

glCopyTexSubImage3D

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

pub unsafe fn CopyTextureSubImage1D(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    x: c_int,
    y: c_int,
    width: c_int
)
[src]

glCopyTextureSubImage1D

  • texture class: texture

pub unsafe fn CopyTextureSubImage2D(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    x: c_int,
    y: c_int,
    width: c_int,
    height: c_int
)
[src]

glCopyTextureSubImage2D

  • texture class: texture

pub unsafe fn CopyTextureSubImage3D(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    x: c_int,
    y: c_int,
    width: c_int,
    height: c_int
)
[src]

glCopyTextureSubImage3D

  • texture class: texture

pub unsafe fn CreateBuffers(&self, n: c_int, buffers: *mut c_uint)[src]

glCreateBuffers

  • buffers class: buffer
  • buffers len: n

pub unsafe fn CreateFramebuffers(&self, n: c_int, framebuffers: *mut c_uint)[src]

glCreateFramebuffers

  • framebuffers class: framebuffer
  • framebuffers len: n

pub fn CreateProgram(&self) -> c_uint[src]

glCreateProgram

Creates an empty program object, returning its name (a non-zero ID value).

Failure

  • If this fails, 0 is returned.

pub unsafe fn CreateProgramPipelines(&self, n: c_int, pipelines: *mut c_uint)[src]

glCreateProgramPipelines

  • pipelines class: program pipeline
  • pipelines len: n

pub unsafe fn CreateQueries(
    &self,
    target: QueryTarget,
    n: c_int,
    ids: *mut c_uint
)
[src]

glCreateQueries

  • target group: QueryTarget
  • ids class: query
  • ids len: n

pub unsafe fn CreateRenderbuffers(&self, n: c_int, renderbuffers: *mut c_uint)[src]

glCreateRenderbuffers

  • renderbuffers class: renderbuffer
  • renderbuffers len: n

pub unsafe fn CreateSamplers(&self, n: c_int, samplers: *mut c_uint)[src]

glCreateSamplers

  • samplers class: sampler
  • samplers len: n

pub fn CreateShader(&self, type_: ShaderType) -> c_uint[src]

glCreateShader

Creates a new empty shader object of the given type, returning its name (a non-zero ID value).

  • type group: ShaderType

Failure

  • If an error occurs the function returns 0.

pub unsafe fn CreateShaderProgramv(
    &self,
    type_: ShaderType,
    count: c_int,
    strings: *const *const u8
) -> c_uint
[src]

glCreateShaderProgramv

  • type group: ShaderType
  • strings len: count

pub unsafe fn CreateTextures(
    &self,
    target: TextureTarget,
    n: c_int,
    textures: *mut c_uint
)
[src]

glCreateTextures

  • target group: TextureTarget
  • textures class: texture
  • textures len: n

pub unsafe fn CreateTransformFeedbacks(&self, n: c_int, ids: *mut c_uint)[src]

glCreateTransformFeedbacks

  • ids class: transform feedback
  • ids len: n

pub unsafe fn CreateVertexArrays(&self, n: c_int, arrays: *mut c_uint)[src]

glCreateVertexArrays

Fills a buffer with new vertex array object names (non-zero ID values).

  • n the size of the buffer.
  • arrays pointer to the start of the buffer.

pub unsafe fn CullFace(&self, mode: CullFaceMode)[src]

glCullFace

  • mode group: CullFaceMode

pub unsafe fn DebugMessageCallback(
    &self,
    callback: GLDEBUGPROC,
    userParam: *const c_void
)
[src]

glDebugMessageCallback

pub unsafe fn DebugMessageControl(
    &self,
    source: DebugSource,
    type_: DebugType,
    severity: DebugSeverity,
    count: c_int,
    ids: *const c_uint,
    enabled: c_uchar
)
[src]

glDebugMessageControl

  • source group: DebugSource
  • type group: DebugType
  • severity group: DebugSeverity
  • ids len: count
  • enabled group: Boolean

pub unsafe fn DebugMessageInsert(
    &self,
    source: DebugSource,
    type_: DebugType,
    id: c_uint,
    severity: DebugSeverity,
    length: c_int,
    buf: *const u8
)
[src]

glDebugMessageInsert

  • source group: DebugSource
  • type group: DebugType
  • severity group: DebugSeverity
  • buf len: COMPSIZE(buf,length)

pub unsafe fn DeleteBuffers(&self, n: c_int, buffers: *const c_uint)[src]

glDeleteBuffers

  • buffers class: buffer
  • buffers len: n

pub unsafe fn DeleteFramebuffers(&self, n: c_int, framebuffers: *const c_uint)[src]

glDeleteFramebuffers

  • framebuffers class: framebuffer
  • framebuffers len: n

pub fn DeleteProgram(&self, program: c_uint)[src]

glDeleteProgram

Marks a program object for deletion. If the shader program is not in use it will be immediately deleted, otherwise it will be deleted once it’s no longer in use. When a program object is deleted any shaders attached to it are automatically unattached from it.

  • program names the program to mark for deletion.

pub unsafe fn DeleteProgramPipelines(&self, n: c_int, pipelines: *const c_uint)[src]

glDeleteProgramPipelines

  • pipelines class: program pipeline
  • pipelines len: n

pub unsafe fn DeleteQueries(&self, n: c_int, ids: *const c_uint)[src]

glDeleteQueries

  • ids class: query
  • ids len: n

pub unsafe fn DeleteRenderbuffers(&self, n: c_int, renderbuffers: *const c_uint)[src]

glDeleteRenderbuffers

  • renderbuffers class: renderbuffer
  • renderbuffers len: n

pub unsafe fn DeleteSamplers(&self, count: c_int, samplers: *const c_uint)[src]

glDeleteSamplers

  • samplers class: sampler
  • samplers len: count

pub fn DeleteShader(&self, shader: c_uint)[src]

glDeleteShader

Marks a shader to be deleted. If it’s not attached to a program it will be deleted immediately, otherwise it won’t be deleted until it’s unattached.

  • shader names the shader to mark for deletion.

pub unsafe fn DeleteSync(&self, sync: GLsync)[src]

glDeleteSync

  • sync group: sync
  • sync class: sync

pub unsafe fn DeleteTextures(&self, n: c_int, textures: *const c_uint)[src]

glDeleteTextures

  • textures group: Texture
  • textures class: texture
  • textures len: n

pub unsafe fn DeleteTransformFeedbacks(&self, n: c_int, ids: *const c_uint)[src]

glDeleteTransformFeedbacks

  • ids class: transform feedback
  • ids len: n

pub unsafe fn DeleteVertexArrays(&self, n: c_int, arrays: *const c_uint)[src]

glDeleteVertexArrays

Deletes a list of vertex array objects. If a vertex array object that is bound is deleted then the binding reverts to 0 and the default vertex array becomes current. Passing any vertex array object IDs not currently in use, or passing 0, is silently ignored.

  • n the size of the list
  • arrays the vertex array objects to delete.

pub unsafe fn DepthFunc(&self, func: DepthFunction)[src]

glDepthFunc

  • func group: DepthFunction

pub unsafe fn DepthMask(&self, flag: c_uchar)[src]

glDepthMask

  • flag group: Boolean

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

glDepthRange

pub unsafe fn DepthRangeArrayv(
    &self,
    first: c_uint,
    count: c_int,
    v: *const c_double
)
[src]

glDepthRangeArrayv

  • v len: COMPSIZE(count)

pub unsafe fn DepthRangeIndexed(&self, index: c_uint, n: c_double, f: c_double)[src]

glDepthRangeIndexed

pub unsafe fn DepthRangef(&self, n: c_float, f: c_float)[src]

glDepthRangef

pub unsafe fn DetachShader(&self, program: c_uint, shader: c_uint)[src]

glDetachShader

  • program class: program
  • shader class: shader

pub unsafe fn Disable(&self, cap: EnableCap)[src]

glDisable

  • cap group: EnableCap

pub unsafe fn DisableVertexArrayAttrib(&self, vaobj: c_uint, index: c_uint)[src]

glDisableVertexArrayAttrib

  • vaobj class: vertex array

pub unsafe fn DisableVertexAttribArray(&self, index: c_uint)[src]

glDisableVertexAttribArray

pub unsafe fn Disablei(&self, target: EnableCap, index: c_uint)[src]

glDisablei

  • target group: EnableCap

pub unsafe fn DispatchCompute(
    &self,
    num_groups_x: c_uint,
    num_groups_y: c_uint,
    num_groups_z: c_uint
)
[src]

glDispatchCompute

pub unsafe fn DispatchComputeIndirect(&self, indirect: isize)[src]

glDispatchComputeIndirect

  • indirect group: BufferOffset

pub unsafe fn DrawArrays(&self, mode: PrimitiveType, first: c_int, count: c_int)[src]

glDrawArrays

Draws count sequential indices using each enabled array to construct a sequence of primitives, starting from first. Depending on the mode specified, the number of indices required per primitive can vary.

If vertex attributes are modified by glDrawArrays the values are unspecified after the call returns. Any other attributes remain well defined.

  • mode is the type of primitive to render.
  • first is the starting index to use within the enabled arrays.
  • count is the number of indices to be rendered.

pub unsafe fn DrawArraysIndirect(
    &self,
    mode: PrimitiveType,
    indirect: *const c_void
)
[src]

glDrawArraysIndirect

  • mode group: PrimitiveType

pub unsafe fn DrawArraysInstanced(
    &self,
    mode: PrimitiveType,
    first: c_int,
    count: c_int,
    instancecount: c_int
)
[src]

glDrawArraysInstanced

  • mode group: PrimitiveType

pub unsafe fn DrawArraysInstancedBaseInstance(
    &self,
    mode: PrimitiveType,
    first: c_int,
    count: c_int,
    instancecount: c_int,
    baseinstance: c_uint
)
[src]

glDrawArraysInstancedBaseInstance

  • mode group: PrimitiveType

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

glDrawBuffer

  • buf group: DrawBufferMode

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

glDrawBuffers

  • bufs group: DrawBufferMode
  • bufs len: n

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

glDrawElements

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

pub unsafe fn DrawElementsBaseVertex(
    &self,
    mode: PrimitiveType,
    count: c_int,
    type_: DrawElementsType,
    indices: *const c_void,
    basevertex: c_int
)
[src]

glDrawElementsBaseVertex

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

pub unsafe fn DrawElementsIndirect(
    &self,
    mode: PrimitiveType,
    type_: DrawElementsType,
    indirect: *const c_void
)
[src]

glDrawElementsIndirect

  • mode group: PrimitiveType
  • type group: DrawElementsType

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

glDrawElementsInstanced

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

pub unsafe fn DrawElementsInstancedBaseInstance(
    &self,
    mode: PrimitiveType,
    count: c_int,
    type_: PrimitiveType,
    indices: *const c_void,
    instancecount: c_int,
    baseinstance: c_uint
)
[src]

glDrawElementsInstancedBaseInstance

  • mode group: PrimitiveType
  • type group: PrimitiveType
  • indices len: count

pub unsafe fn DrawElementsInstancedBaseVertex(
    &self,
    mode: PrimitiveType,
    count: c_int,
    type_: DrawElementsType,
    indices: *const c_void,
    instancecount: c_int,
    basevertex: c_int
)
[src]

glDrawElementsInstancedBaseVertex

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

pub unsafe fn DrawElementsInstancedBaseVertexBaseInstance(
    &self,
    mode: PrimitiveType,
    count: c_int,
    type_: DrawElementsType,
    indices: *const c_void,
    instancecount: c_int,
    basevertex: c_int,
    baseinstance: c_uint
)
[src]

glDrawElementsInstancedBaseVertexBaseInstance

  • mode group: PrimitiveType
  • type group: DrawElementsType
  • indices len: count

pub unsafe fn DrawRangeElements(
    &self,
    mode: PrimitiveType,
    start: c_uint,
    end: c_uint,
    count: c_int,
    type_: DrawElementsType,
    indices: *const c_void
)
[src]

glDrawRangeElements

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

pub unsafe fn DrawRangeElementsBaseVertex(
    &self,
    mode: PrimitiveType,
    start: c_uint,
    end: c_uint,
    count: c_int,
    type_: DrawElementsType,
    indices: *const c_void,
    basevertex: c_int
)
[src]

glDrawRangeElementsBaseVertex

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

pub unsafe fn DrawTransformFeedback(&self, mode: PrimitiveType, id: c_uint)[src]

glDrawTransformFeedback

  • mode group: PrimitiveType
  • id class: transform feedback

pub unsafe fn DrawTransformFeedbackInstanced(
    &self,
    mode: PrimitiveType,
    id: c_uint,
    instancecount: c_int
)
[src]

glDrawTransformFeedbackInstanced

  • mode group: PrimitiveType
  • id class: transform feedback

pub unsafe fn DrawTransformFeedbackStream(
    &self,
    mode: PrimitiveType,
    id: c_uint,
    stream: c_uint
)
[src]

glDrawTransformFeedbackStream

  • mode group: PrimitiveType
  • id class: transform feedback

pub unsafe fn DrawTransformFeedbackStreamInstanced(
    &self,
    mode: PrimitiveType,
    id: c_uint,
    stream: c_uint,
    instancecount: c_int
)
[src]

glDrawTransformFeedbackStreamInstanced

  • mode group: PrimitiveType
  • id class: transform feedback

pub unsafe fn Enable(&self, cap: EnableCap)[src]

glEnable

  • cap group: EnableCap

pub unsafe fn EnableVertexArrayAttrib(&self, vaobj: c_uint, index: c_uint)[src]

glEnableVertexArrayAttrib

  • vaobj class: vertex array

pub unsafe fn EnableVertexAttribArray(&self, index: c_uint)[src]

glEnableVertexAttribArray

pub unsafe fn Enablei(&self, target: EnableCap, index: c_uint)[src]

glEnablei

  • target group: EnableCap

pub unsafe fn EndConditionalRender(&self)[src]

glEndConditionalRender

pub unsafe fn EndQuery(&self, target: QueryTarget)[src]

glEndQuery

  • target group: QueryTarget

pub unsafe fn EndQueryIndexed(&self, target: QueryTarget, index: c_uint)[src]

glEndQueryIndexed

  • target group: QueryTarget

pub unsafe fn EndTransformFeedback(&self)[src]

glEndTransformFeedback

pub unsafe fn FenceSync(
    &self,
    condition: SyncCondition,
    flags: GLbitfield
) -> GLsync
[src]

glFenceSync

  • condition group: SyncCondition
  • flags group: SyncBehaviorFlags

pub unsafe fn Finish(&self)[src]

glFinish

pub unsafe fn Flush(&self)[src]

glFlush

pub unsafe fn FlushMappedBufferRange(
    &self,
    target: BufferTargetARB,
    offset: isize,
    length: isize
)
[src]

glFlushMappedBufferRange

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

pub unsafe fn FlushMappedNamedBufferRange(
    &self,
    buffer: c_uint,
    offset: isize,
    length: isize
)
[src]

glFlushMappedNamedBufferRange

  • buffer class: buffer
  • length group: BufferSize

pub unsafe fn FramebufferParameteri(
    &self,
    target: FramebufferTarget,
    pname: FramebufferParameterName,
    param: c_int
)
[src]

glFramebufferParameteri

  • target group: FramebufferTarget
  • pname group: FramebufferParameterName

pub unsafe fn FramebufferRenderbuffer(
    &self,
    target: FramebufferTarget,
    attachment: FramebufferAttachment,
    renderbuffertarget: RenderbufferTarget,
    renderbuffer: c_uint
)
[src]

glFramebufferRenderbuffer

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

pub unsafe fn FramebufferTexture(
    &self,
    target: FramebufferTarget,
    attachment: FramebufferAttachment,
    texture: c_uint,
    level: c_int
)
[src]

glFramebufferTexture

  • target group: FramebufferTarget
  • attachment group: FramebufferAttachment
  • texture class: texture

pub unsafe fn FramebufferTexture1D(
    &self,
    target: FramebufferTarget,
    attachment: FramebufferAttachment,
    textarget: TextureTarget,
    texture: c_uint,
    level: c_int
)
[src]

glFramebufferTexture1D

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

pub unsafe fn FramebufferTexture2D(
    &self,
    target: FramebufferTarget,
    attachment: FramebufferAttachment,
    textarget: TextureTarget,
    texture: c_uint,
    level: c_int
)
[src]

glFramebufferTexture2D

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

pub unsafe fn FramebufferTexture3D(
    &self,
    target: FramebufferTarget,
    attachment: FramebufferAttachment,
    textarget: TextureTarget,
    texture: c_uint,
    level: c_int,
    zoffset: c_int
)
[src]

glFramebufferTexture3D

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

pub unsafe fn FramebufferTextureLayer(
    &self,
    target: FramebufferTarget,
    attachment: FramebufferAttachment,
    texture: c_uint,
    level: c_int,
    layer: c_int
)
[src]

glFramebufferTextureLayer

  • target group: FramebufferTarget
  • attachment group: FramebufferAttachment
  • texture group: Texture
  • texture class: texture
  • level group: CheckedInt32
  • layer group: CheckedInt32

pub unsafe fn FrontFace(&self, mode: FrontFaceDirection)[src]

glFrontFace

  • mode group: FrontFaceDirection

pub unsafe fn GenBuffers(&self, n: c_int, buffers: *mut c_uint)[src]

glGenBuffers

  • buffers class: buffer
  • buffers len: n

pub unsafe fn GenFramebuffers(&self, n: c_int, framebuffers: *mut c_uint)[src]

glGenFramebuffers

  • framebuffers class: framebuffer
  • framebuffers len: n

pub unsafe fn GenProgramPipelines(&self, n: c_int, pipelines: *mut c_uint)[src]

glGenProgramPipelines

  • pipelines class: program pipeline
  • pipelines len: n

pub unsafe fn GenQueries(&self, n: c_int, ids: *mut c_uint)[src]

glGenQueries

  • ids class: query
  • ids len: n

pub unsafe fn GenRenderbuffers(&self, n: c_int, renderbuffers: *mut c_uint)[src]

glGenRenderbuffers

  • renderbuffers class: renderbuffer
  • renderbuffers len: n

pub unsafe fn GenSamplers(&self, count: c_int, samplers: *mut c_uint)[src]

glGenSamplers

  • samplers class: sampler
  • samplers len: count

pub unsafe fn GenTextures(&self, n: c_int, textures: *mut c_uint)[src]

glGenTextures

  • textures group: Texture
  • textures class: texture
  • textures len: n

pub unsafe fn GenTransformFeedbacks(&self, n: c_int, ids: *mut c_uint)[src]

glGenTransformFeedbacks

  • ids class: transform feedback
  • ids len: n

pub unsafe fn GenVertexArrays(&self, n: c_int, arrays: *mut c_uint)[src]

glGenVertexArrays

  • arrays class: vertex array
  • arrays len: n

pub unsafe fn GenerateMipmap(&self, target: TextureTarget)[src]

glGenerateMipmap

  • target group: TextureTarget

pub unsafe fn GenerateTextureMipmap(&self, texture: c_uint)[src]

glGenerateTextureMipmap

  • texture class: texture

pub unsafe fn GetActiveAtomicCounterBufferiv(
    &self,
    program: c_uint,
    bufferIndex: c_uint,
    pname: AtomicCounterBufferPName,
    params: *mut c_int
)
[src]

glGetActiveAtomicCounterBufferiv

  • program class: program
  • pname group: AtomicCounterBufferPName
  • params len: COMPSIZE(pname)

pub unsafe fn GetActiveAttrib(
    &self,
    program: c_uint,
    index: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    size: *mut c_int,
    type_: *mut AttributeType,
    name: *mut u8
)
[src]

glGetActiveAttrib

  • program class: program
  • type group: AttributeType
  • name len: bufSize

pub unsafe fn GetActiveSubroutineName(
    &self,
    program: c_uint,
    shadertype: ShaderType,
    index: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    name: *mut u8
)
[src]

glGetActiveSubroutineName

  • program class: program
  • shadertype group: ShaderType
  • name len: bufSize

pub unsafe fn GetActiveSubroutineUniformName(
    &self,
    program: c_uint,
    shadertype: ShaderType,
    index: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    name: *mut u8
)
[src]

glGetActiveSubroutineUniformName

  • program class: program
  • shadertype group: ShaderType
  • name len: bufSize

pub unsafe fn GetActiveSubroutineUniformiv(
    &self,
    program: c_uint,
    shadertype: ShaderType,
    index: c_uint,
    pname: SubroutineParameterName,
    values: *mut c_int
)
[src]

glGetActiveSubroutineUniformiv

  • program class: program
  • shadertype group: ShaderType
  • pname group: SubroutineParameterName
  • values len: COMPSIZE(pname)

pub unsafe fn GetActiveUniform(
    &self,
    program: c_uint,
    index: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    size: *mut c_int,
    type_: *mut UniformType,
    name: *mut u8
)
[src]

glGetActiveUniform

  • program class: program
  • type group: UniformType
  • name len: bufSize

pub unsafe fn GetActiveUniformBlockName(
    &self,
    program: c_uint,
    uniformBlockIndex: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    uniformBlockName: *mut u8
)
[src]

glGetActiveUniformBlockName

  • program class: program
  • uniformBlockName len: bufSize

pub unsafe fn GetActiveUniformBlockiv(
    &self,
    program: c_uint,
    uniformBlockIndex: c_uint,
    pname: UniformBlockPName,
    params: *mut c_int
)
[src]

glGetActiveUniformBlockiv

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

pub unsafe fn GetActiveUniformName(
    &self,
    program: c_uint,
    uniformIndex: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    uniformName: *mut u8
)
[src]

glGetActiveUniformName

  • program class: program
  • uniformName len: bufSize

pub unsafe fn GetActiveUniformsiv(
    &self,
    program: c_uint,
    uniformCount: c_int,
    uniformIndices: *const c_uint,
    pname: UniformPName,
    params: *mut c_int
)
[src]

glGetActiveUniformsiv

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

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

glGetAttachedShaders

  • program class: program
  • shaders class: shader
  • shaders len: maxCount

pub unsafe fn GetAttribLocation(
    &self,
    program: c_uint,
    name: *const u8
) -> c_int
[src]

glGetAttribLocation

  • program class: program

pub unsafe fn GetBooleani_v(
    &self,
    target: BufferTargetARB,
    index: c_uint,
    data: *mut c_uchar
)
[src]

glGetBooleani_v

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

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

glGetBooleanv

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

pub unsafe fn GetBufferParameteri64v(
    &self,
    target: BufferTargetARB,
    pname: BufferPNameARB,
    params: *mut i64
)
[src]

glGetBufferParameteri64v

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

pub unsafe fn GetBufferParameteriv(
    &self,
    target: BufferTargetARB,
    pname: BufferPNameARB,
    params: *mut c_int
)
[src]

glGetBufferParameteriv

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

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

glGetBufferPointerv

  • target group: BufferTargetARB
  • pname group: BufferPointerNameARB

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

glGetBufferSubData

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

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

glGetCompressedTexImage

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

pub unsafe fn GetCompressedTextureImage(
    &self,
    texture: c_uint,
    level: c_int,
    bufSize: c_int,
    pixels: *mut c_void
)
[src]

glGetCompressedTextureImage

  • texture class: texture

pub unsafe fn GetCompressedTextureSubImage(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    width: c_int,
    height: c_int,
    depth: c_int,
    bufSize: c_int,
    pixels: *mut c_void
)
[src]

glGetCompressedTextureSubImage

  • texture class: texture

pub unsafe fn GetDebugMessageLog(
    &self,
    count: c_uint,
    bufSize: c_int,
    sources: *mut DebugSource,
    types: *mut DebugType,
    ids: *mut c_uint,
    severities: *mut DebugSeverity,
    lengths: *mut c_int,
    messageLog: *mut u8
) -> c_uint
[src]

glGetDebugMessageLog

  • 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

pub unsafe fn GetDoublei_v(
    &self,
    target: GetPName,
    index: c_uint,
    data: *mut c_double
)
[src]

glGetDoublei_v

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

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

glGetDoublev

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

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

glGetError

pub unsafe fn GetFloati_v(
    &self,
    target: GetPName,
    index: c_uint,
    data: *mut c_float
)
[src]

glGetFloati_v

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

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

glGetFloatv

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

pub unsafe fn GetFragDataIndex(&self, program: c_uint, name: *const u8) -> c_int[src]

glGetFragDataIndex

  • program class: program

pub unsafe fn GetFragDataLocation(
    &self,
    program: c_uint,
    name: *const u8
) -> c_int
[src]

glGetFragDataLocation

  • program class: program
  • name len: COMPSIZE(name)

pub unsafe fn GetFramebufferAttachmentParameteriv(
    &self,
    target: FramebufferTarget,
    attachment: FramebufferAttachment,
    pname: FramebufferAttachmentParameterName,
    params: *mut c_int
)
[src]

glGetFramebufferAttachmentParameteriv

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

pub unsafe fn GetFramebufferParameteriv(
    &self,
    target: FramebufferTarget,
    pname: FramebufferAttachmentParameterName,
    params: *mut c_int
)
[src]

glGetFramebufferParameteriv

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

pub unsafe fn GetGraphicsResetStatus(&self) -> GraphicsResetStatus[src]

glGetGraphicsResetStatus

pub unsafe fn GetInteger64i_v(
    &self,
    target: GetPName,
    index: c_uint,
    data: *mut i64
)
[src]

glGetInteger64i_v

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

pub unsafe fn GetInteger64v(&self, pname: GetPName, data: *mut i64)[src]

glGetInteger64v

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

pub unsafe fn GetIntegeri_v(
    &self,
    target: GetPName,
    index: c_uint,
    data: *mut c_int
)
[src]

glGetIntegeri_v

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

pub unsafe fn GetIntegerv(&self, pname: GetPName, data: *mut c_int)[src]

glGetIntegerv

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

pub unsafe fn GetInternalformati64v(
    &self,
    target: TextureTarget,
    internalformat: InternalFormat,
    pname: InternalFormatPName,
    count: c_int,
    params: *mut i64
)
[src]

glGetInternalformati64v

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

pub unsafe fn GetInternalformativ(
    &self,
    target: TextureTarget,
    internalformat: InternalFormat,
    pname: InternalFormatPName,
    count: c_int,
    params: *mut c_int
)
[src]

glGetInternalformativ

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

pub unsafe fn GetMultisamplefv(
    &self,
    pname: GetMultisamplePNameNV,
    index: c_uint,
    val: *mut c_float
)
[src]

glGetMultisamplefv

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

pub unsafe fn GetNamedBufferParameteri64v(
    &self,
    buffer: c_uint,
    pname: BufferPNameARB,
    params: *mut i64
)
[src]

glGetNamedBufferParameteri64v

  • buffer class: buffer
  • pname group: BufferPNameARB

pub unsafe fn GetNamedBufferParameteriv(
    &self,
    buffer: c_uint,
    pname: BufferPNameARB,
    params: *mut c_int
)
[src]

glGetNamedBufferParameteriv

  • buffer class: buffer
  • pname group: BufferPNameARB

pub unsafe fn GetNamedBufferPointerv(
    &self,
    buffer: c_uint,
    pname: BufferPointerNameARB,
    params: *mut *mut c_void
)
[src]

glGetNamedBufferPointerv

  • buffer class: buffer
  • pname group: BufferPointerNameARB

pub unsafe fn GetNamedBufferSubData(
    &self,
    buffer: c_uint,
    offset: isize,
    size: isize,
    data: *mut c_void
)
[src]

glGetNamedBufferSubData

  • buffer class: buffer
  • size group: BufferSize

pub unsafe fn GetNamedFramebufferAttachmentParameteriv(
    &self,
    framebuffer: c_uint,
    attachment: FramebufferAttachment,
    pname: FramebufferAttachmentParameterName,
    params: *mut c_int
)
[src]

glGetNamedFramebufferAttachmentParameteriv

  • framebuffer class: framebuffer
  • attachment group: FramebufferAttachment
  • pname group: FramebufferAttachmentParameterName

pub unsafe fn GetNamedFramebufferParameteriv(
    &self,
    framebuffer: c_uint,
    pname: GetFramebufferParameter,
    param: *mut c_int
)
[src]

glGetNamedFramebufferParameteriv

  • framebuffer class: framebuffer
  • pname group: GetFramebufferParameter

pub unsafe fn GetNamedRenderbufferParameteriv(
    &self,
    renderbuffer: c_uint,
    pname: RenderbufferParameterName,
    params: *mut c_int
)
[src]

glGetNamedRenderbufferParameteriv

  • renderbuffer class: renderbuffer
  • pname group: RenderbufferParameterName

pub unsafe fn GetObjectLabel(
    &self,
    identifier: ObjectIdentifier,
    name: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    label: *mut u8
)
[src]

glGetObjectLabel

  • identifier group: ObjectIdentifier
  • label len: bufSize

pub unsafe fn GetObjectPtrLabel(
    &self,
    ptr: *const c_void,
    bufSize: c_int,
    length: *mut c_int,
    label: *mut u8
)
[src]

glGetObjectPtrLabel

  • label len: bufSize

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

glGetPointerv

  • pname group: GetPointervPName

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

glGetProgramBinary

  • program class: program
  • binary len: bufSize

pub unsafe fn GetProgramInfoLog(
    &self,
    program: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    infoLog: *mut u8
)
[src]

glGetProgramInfoLog

  • program class: program
  • infoLog len: bufSize

pub unsafe fn GetProgramInterfaceiv(
    &self,
    program: c_uint,
    programInterface: ProgramInterface,
    pname: ProgramInterfacePName,
    params: *mut c_int
)
[src]

glGetProgramInterfaceiv

  • program class: program
  • programInterface group: ProgramInterface
  • pname group: ProgramInterfacePName
  • params len: COMPSIZE(pname)

pub unsafe fn GetProgramPipelineInfoLog(
    &self,
    pipeline: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    infoLog: *mut u8
)
[src]

glGetProgramPipelineInfoLog

  • pipeline class: program pipeline
  • infoLog len: bufSize

pub unsafe fn GetProgramPipelineiv(
    &self,
    pipeline: c_uint,
    pname: PipelineParameterName,
    params: *mut c_int
)
[src]

glGetProgramPipelineiv

  • pipeline class: program pipeline
  • pname group: PipelineParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetProgramResourceIndex(
    &self,
    program: c_uint,
    programInterface: ProgramInterface,
    name: *const u8
) -> c_uint
[src]

glGetProgramResourceIndex

  • program class: program
  • programInterface group: ProgramInterface
  • name len: COMPSIZE(name)

pub unsafe fn GetProgramResourceLocation(
    &self,
    program: c_uint,
    programInterface: ProgramInterface,
    name: *const u8
) -> c_int
[src]

glGetProgramResourceLocation

  • program class: program
  • programInterface group: ProgramInterface
  • name len: COMPSIZE(name)

pub unsafe fn GetProgramResourceLocationIndex(
    &self,
    program: c_uint,
    programInterface: ProgramInterface,
    name: *const u8
) -> c_int
[src]

glGetProgramResourceLocationIndex

  • program class: program
  • programInterface group: ProgramInterface
  • name len: COMPSIZE(name)

pub unsafe fn GetProgramResourceName(
    &self,
    program: c_uint,
    programInterface: ProgramInterface,
    index: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    name: *mut u8
)
[src]

glGetProgramResourceName

  • program class: program
  • programInterface group: ProgramInterface
  • name len: bufSize

pub unsafe fn GetProgramResourceiv(
    &self,
    program: c_uint,
    programInterface: ProgramInterface,
    index: c_uint,
    propCount: c_int,
    props: *const ProgramResourceProperty,
    count: c_int,
    length: *mut c_int,
    params: *mut c_int
)
[src]

glGetProgramResourceiv

  • program class: program
  • programInterface group: ProgramInterface
  • props group: ProgramResourceProperty
  • props len: propCount
  • params len: count

pub unsafe fn GetProgramStageiv(
    &self,
    program: c_uint,
    shadertype: ShaderType,
    pname: ProgramStagePName,
    values: *mut c_int
)
[src]

glGetProgramStageiv

  • program class: program
  • shadertype group: ShaderType
  • pname group: ProgramStagePName

pub unsafe fn GetProgramiv(
    &self,
    program: c_uint,
    pname: ProgramPropertyARB,
    params: *mut c_int
)
[src]

glGetProgramiv

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

pub unsafe fn GetQueryBufferObjecti64v(
    &self,
    id: c_uint,
    buffer: c_uint,
    pname: QueryObjectParameterName,
    offset: isize
)
[src]

glGetQueryBufferObjecti64v

  • id class: query
  • buffer class: buffer
  • pname group: QueryObjectParameterName

pub unsafe fn GetQueryBufferObjectiv(
    &self,
    id: c_uint,
    buffer: c_uint,
    pname: QueryObjectParameterName,
    offset: isize
)
[src]

glGetQueryBufferObjectiv

  • id class: query
  • buffer class: buffer
  • pname group: QueryObjectParameterName

pub unsafe fn GetQueryBufferObjectui64v(
    &self,
    id: c_uint,
    buffer: c_uint,
    pname: QueryObjectParameterName,
    offset: isize
)
[src]

glGetQueryBufferObjectui64v

  • id class: query
  • buffer class: buffer
  • pname group: QueryObjectParameterName

pub unsafe fn GetQueryBufferObjectuiv(
    &self,
    id: c_uint,
    buffer: c_uint,
    pname: QueryObjectParameterName,
    offset: isize
)
[src]

glGetQueryBufferObjectuiv

  • id class: query
  • buffer class: buffer
  • pname group: QueryObjectParameterName

pub unsafe fn GetQueryIndexediv(
    &self,
    target: QueryTarget,
    index: c_uint,
    pname: QueryParameterName,
    params: *mut c_int
)
[src]

glGetQueryIndexediv

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

pub unsafe fn GetQueryObjecti64v(
    &self,
    id: c_uint,
    pname: QueryObjectParameterName,
    params: *mut i64
)
[src]

glGetQueryObjecti64v

  • id class: query
  • pname group: QueryObjectParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetQueryObjectiv(
    &self,
    id: c_uint,
    pname: QueryObjectParameterName,
    params: *mut c_int
)
[src]

glGetQueryObjectiv

  • id class: query
  • pname group: QueryObjectParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetQueryObjectui64v(
    &self,
    id: c_uint,
    pname: QueryObjectParameterName,
    params: *mut u64
)
[src]

glGetQueryObjectui64v

  • id class: query
  • pname group: QueryObjectParameterName
  • params len: COMPSIZE(pname)

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

glGetQueryObjectuiv

  • id class: query
  • pname group: QueryObjectParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetQueryiv(
    &self,
    target: QueryTarget,
    pname: QueryParameterName,
    params: *mut c_int
)
[src]

glGetQueryiv

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

pub unsafe fn GetRenderbufferParameteriv(
    &self,
    target: RenderbufferTarget,
    pname: RenderbufferParameterName,
    params: *mut c_int
)
[src]

glGetRenderbufferParameteriv

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

pub unsafe fn GetSamplerParameterIiv(
    &self,
    sampler: c_uint,
    pname: SamplerParameterI,
    params: *mut c_int
)
[src]

glGetSamplerParameterIiv

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

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

glGetSamplerParameterIuiv

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

pub unsafe fn GetSamplerParameterfv(
    &self,
    sampler: c_uint,
    pname: SamplerParameterF,
    params: *mut c_float
)
[src]

glGetSamplerParameterfv

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

pub unsafe fn GetSamplerParameteriv(
    &self,
    sampler: c_uint,
    pname: SamplerParameterI,
    params: *mut c_int
)
[src]

glGetSamplerParameteriv

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

pub unsafe fn GetShaderInfoLog(
    &self,
    shader: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    infoLog: *mut u8
)
[src]

glGetShaderInfoLog

  • shader class: shader
  • infoLog len: bufSize

pub unsafe fn GetShaderPrecisionFormat(
    &self,
    shadertype: ShaderType,
    precisiontype: PrecisionType,
    range: *mut [c_int; 2],
    precision: *mut c_int
)
[src]

glGetShaderPrecisionFormat

  • shadertype group: ShaderType
  • precisiontype group: PrecisionType

pub unsafe fn GetShaderSource(
    &self,
    shader: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    source: *mut u8
)
[src]

glGetShaderSource

  • shader class: shader
  • source len: bufSize

pub unsafe fn GetShaderiv(
    &self,
    shader: c_uint,
    pname: ShaderParameterName,
    params: *mut c_int
)
[src]

glGetShaderiv

  • shader class: shader
  • pname group: ShaderParameterName
  • params len: COMPSIZE(pname)

pub unsafe fn GetString(&self, name: StringName) -> *const u8[src]

glGetString

Gets various string info about the GL implementation.

  • name:
    • GL_VENDOR: The name of the company that made this GL implementation.
    • GL_RENDERER: The name of the renderer.
    • GL_VERSION: A version or release number.
    • GL_SHADING_LANGUAGE_VERSION: The version/release for the shading language.

pub unsafe fn GetStringi(&self, name: StringName, index: c_uint) -> *const u8[src]

glGetStringi

Gets indexed string info about the GL implementation.

  • name: One of:
    • GL_EXTENSIONS: Returns the name of the extension specified by index. Extensions are indexed in the range 0 .. GL_NUM_EXTENSIONS. Use glGetIntegerv to find the current implementation’s number of extensions.
  • index: The index of the string to return.

See Also: glGetIntegerv

pub unsafe fn GetSubroutineIndex(
    &self,
    program: c_uint,
    shadertype: ShaderType,
    name: *const u8
) -> c_uint
[src]

glGetSubroutineIndex

  • program class: program
  • shadertype group: ShaderType

pub unsafe fn GetSubroutineUniformLocation(
    &self,
    program: c_uint,
    shadertype: ShaderType,
    name: *const u8
) -> c_int
[src]

glGetSubroutineUniformLocation

  • program class: program
  • shadertype group: ShaderType

pub unsafe fn GetSynciv(
    &self,
    sync: GLsync,
    pname: SyncParameterName,
    count: c_int,
    length: *mut c_int,
    values: *mut c_int
)
[src]

glGetSynciv

  • sync group: sync
  • sync class: sync
  • pname group: SyncParameterName
  • values len: count

pub unsafe fn GetTexImage(
    &self,
    target: TextureTarget,
    level: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *mut c_void
)
[src]

glGetTexImage

  • 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: TextureTarget,
    level: c_int,
    pname: GetTextureParameter,
    params: *mut c_float
)
[src]

glGetTexLevelParameterfv

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

pub unsafe fn GetTexLevelParameteriv(
    &self,
    target: TextureTarget,
    level: c_int,
    pname: GetTextureParameter,
    params: *mut c_int
)
[src]

glGetTexLevelParameteriv

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

pub unsafe fn GetTexParameterIiv(
    &self,
    target: TextureTarget,
    pname: GetTextureParameter,
    params: *mut c_int
)
[src]

glGetTexParameterIiv

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

pub unsafe fn GetTexParameterIuiv(
    &self,
    target: TextureTarget,
    pname: GetTextureParameter,
    params: *mut c_uint
)
[src]

glGetTexParameterIuiv

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

pub unsafe fn GetTexParameterfv(
    &self,
    target: TextureTarget,
    pname: GetTextureParameter,
    params: *mut c_float
)
[src]

glGetTexParameterfv

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

pub unsafe fn GetTexParameteriv(
    &self,
    target: TextureTarget,
    pname: GetTextureParameter,
    params: *mut c_int
)
[src]

glGetTexParameteriv

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

pub unsafe fn GetTextureImage(
    &self,
    texture: c_uint,
    level: c_int,
    format: PixelFormat,
    type_: PixelType,
    bufSize: c_int,
    pixels: *mut c_void
)
[src]

glGetTextureImage

  • texture class: texture
  • format group: PixelFormat
  • type group: PixelType

pub unsafe fn GetTextureLevelParameterfv(
    &self,
    texture: c_uint,
    level: c_int,
    pname: GetTextureParameter,
    params: *mut c_float
)
[src]

glGetTextureLevelParameterfv

  • texture class: texture
  • pname group: GetTextureParameter

pub unsafe fn GetTextureLevelParameteriv(
    &self,
    texture: c_uint,
    level: c_int,
    pname: GetTextureParameter,
    params: *mut c_int
)
[src]

glGetTextureLevelParameteriv

  • texture class: texture
  • pname group: GetTextureParameter

pub unsafe fn GetTextureParameterIiv(
    &self,
    texture: c_uint,
    pname: GetTextureParameter,
    params: *mut c_int
)
[src]

glGetTextureParameterIiv

  • texture class: texture
  • pname group: GetTextureParameter

pub unsafe fn GetTextureParameterIuiv(
    &self,
    texture: c_uint,
    pname: GetTextureParameter,
    params: *mut c_uint
)
[src]

glGetTextureParameterIuiv

  • texture class: texture
  • pname group: GetTextureParameter

pub unsafe fn GetTextureParameterfv(
    &self,
    texture: c_uint,
    pname: GetTextureParameter,
    params: *mut c_float
)
[src]

glGetTextureParameterfv

  • texture class: texture
  • pname group: GetTextureParameter

pub unsafe fn GetTextureParameteriv(
    &self,
    texture: c_uint,
    pname: GetTextureParameter,
    params: *mut c_int
)
[src]

glGetTextureParameteriv

  • texture class: texture
  • pname group: GetTextureParameter

pub unsafe fn GetTextureSubImage(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    width: c_int,
    height: c_int,
    depth: c_int,
    format: PixelFormat,
    type_: PixelType,
    bufSize: c_int,
    pixels: *mut c_void
)
[src]

glGetTextureSubImage

  • texture class: texture
  • format group: PixelFormat
  • type group: PixelType

pub unsafe fn GetTransformFeedbackVarying(
    &self,
    program: c_uint,
    index: c_uint,
    bufSize: c_int,
    length: *mut c_int,
    size: *mut c_int,
    type_: *mut AttributeType,
    name: *mut u8
)
[src]

glGetTransformFeedbackVarying

  • program class: program
  • type group: AttributeType
  • name len: bufSize

pub unsafe fn GetTransformFeedbacki64_v(
    &self,
    xfb: c_uint,
    pname: TransformFeedbackPName,
    index: c_uint,
    param: *mut i64
)
[src]

glGetTransformFeedbacki64_v

  • xfb class: transform feedback
  • pname group: TransformFeedbackPName

pub unsafe fn GetTransformFeedbacki_v(
    &self,
    xfb: c_uint,
    pname: TransformFeedbackPName,
    index: c_uint,
    param: *mut c_int
)
[src]

glGetTransformFeedbacki_v

  • xfb class: transform feedback
  • pname group: TransformFeedbackPName

pub unsafe fn GetTransformFeedbackiv(
    &self,
    xfb: c_uint,
    pname: TransformFeedbackPName,
    param: *mut c_int
)
[src]

glGetTransformFeedbackiv

  • xfb class: transform feedback
  • pname group: TransformFeedbackPName

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

glGetUniformBlockIndex

  • program class: program
  • uniformBlockName len: COMPSIZE()

pub unsafe fn GetUniformIndices(
    &self,
    program: c_uint,
    uniformCount: c_int,
    uniformNames: *const *const u8,
    uniformIndices: *mut c_uint
)
[src]

glGetUniformIndices

  • program class: program
  • uniformNames len: COMPSIZE(uniformCount)
  • uniformIndices len: COMPSIZE(uniformCount)

pub unsafe fn GetUniformLocation(
    &self,
    program: c_uint,
    name: *const u8
) -> c_int
[src]

glGetUniformLocation

  • program class: program

pub unsafe fn GetUniformSubroutineuiv(
    &self,
    shadertype: ShaderType,
    location: c_int,
    params: *mut c_uint
)
[src]

glGetUniformSubroutineuiv

  • shadertype group: ShaderType

pub unsafe fn GetUniformdv(
    &self,
    program: c_uint,
    location: c_int,
    params: *mut c_double
)
[src]

glGetUniformdv

  • program class: program
  • params len: COMPSIZE(program,location)

pub unsafe fn GetUniformfv(
    &self,
    program: c_uint,
    location: c_int,
    params: *mut c_float
)
[src]

glGetUniformfv

  • program class: program
  • params len: COMPSIZE(program,location)

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

glGetUniformiv

  • program class: program
  • params len: COMPSIZE(program,location)

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

glGetUniformuiv

  • program class: program
  • params len: COMPSIZE(program,location)

pub unsafe fn GetVertexArrayIndexed64iv(
    &self,
    vaobj: c_uint,
    index: c_uint,
    pname: VertexArrayPName,
    param: *mut i64
)
[src]

glGetVertexArrayIndexed64iv

  • vaobj class: vertex array
  • pname group: VertexArrayPName

pub unsafe fn GetVertexArrayIndexediv(
    &self,
    vaobj: c_uint,
    index: c_uint,
    pname: VertexArrayPName,
    param: *mut c_int
)
[src]

glGetVertexArrayIndexediv

  • vaobj class: vertex array
  • pname group: VertexArrayPName

pub unsafe fn GetVertexArrayiv(
    &self,
    vaobj: c_uint,
    pname: VertexArrayPName,
    param: *mut c_int
)
[src]

glGetVertexArrayiv

  • vaobj class: vertex array
  • pname group: VertexArrayPName

pub unsafe fn GetVertexAttribIiv(
    &self,
    index: c_uint,
    pname: VertexAttribEnum,
    params: *mut c_int
)
[src]

glGetVertexAttribIiv

  • pname group: VertexAttribEnum

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

glGetVertexAttribIuiv

  • pname group: VertexAttribEnum

pub unsafe fn GetVertexAttribLdv(
    &self,
    index: c_uint,
    pname: VertexAttribEnum,
    params: *mut c_double
)
[src]

glGetVertexAttribLdv

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

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

glGetVertexAttribPointerv

  • pname group: VertexAttribPointerPropertyARB

pub unsafe fn GetVertexAttribdv(
    &self,
    index: c_uint,
    pname: VertexAttribPropertyARB,
    params: *mut [c_double; 4]
)
[src]

glGetVertexAttribdv

  • pname group: VertexAttribPropertyARB

pub unsafe fn GetVertexAttribfv(
    &self,
    index: c_uint,
    pname: VertexAttribPropertyARB,
    params: *mut [c_float; 4]
)
[src]

glGetVertexAttribfv

  • pname group: VertexAttribPropertyARB

pub unsafe fn GetVertexAttribiv(
    &self,
    index: c_uint,
    pname: VertexAttribPropertyARB,
    params: *mut [c_int; 4]
)
[src]

glGetVertexAttribiv

  • pname group: VertexAttribPropertyARB

pub unsafe fn GetnCompressedTexImage(
    &self,
    target: TextureTarget,
    lod: c_int,
    bufSize: c_int,
    pixels: *mut c_void
)
[src]

glGetnCompressedTexImage

  • target group: TextureTarget
  • pixels len: bufSize

pub unsafe fn GetnTexImage(
    &self,
    target: TextureTarget,
    level: c_int,
    format: PixelFormat,
    type_: PixelType,
    bufSize: c_int,
    pixels: *mut c_void
)
[src]

glGetnTexImage

  • target group: TextureTarget
  • format group: PixelFormat
  • type group: PixelType
  • pixels len: bufSize

pub unsafe fn GetnUniformdv(
    &self,
    program: c_uint,
    location: c_int,
    bufSize: c_int,
    params: *mut c_double
)
[src]

glGetnUniformdv

  • program class: program
  • params len: bufSize / 8

pub unsafe fn GetnUniformfv(
    &self,
    program: c_uint,
    location: c_int,
    bufSize: c_int,
    params: *mut c_float
)
[src]

glGetnUniformfv

  • program class: program
  • params len: bufSize / 4

pub unsafe fn GetnUniformiv(
    &self,
    program: c_uint,
    location: c_int,
    bufSize: c_int,
    params: *mut c_int
)
[src]

glGetnUniformiv

  • program class: program
  • params len: bufSize / 4

pub unsafe fn GetnUniformuiv(
    &self,
    program: c_uint,
    location: c_int,
    bufSize: c_int,
    params: *mut c_uint
)
[src]

glGetnUniformuiv

  • program class: program
  • params len: bufSize / 4

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

glHint

  • target group: HintTarget
  • mode group: HintMode

pub unsafe fn InvalidateBufferData(&self, buffer: c_uint)[src]

glInvalidateBufferData

  • buffer class: buffer

pub unsafe fn InvalidateBufferSubData(
    &self,
    buffer: c_uint,
    offset: isize,
    length: isize
)
[src]

glInvalidateBufferSubData

  • buffer class: buffer
  • offset group: BufferOffset
  • length group: BufferSize

pub unsafe fn InvalidateFramebuffer(
    &self,
    target: FramebufferTarget,
    numAttachments: c_int,
    attachments: *const InvalidateFramebufferAttachment
)
[src]

glInvalidateFramebuffer

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

pub unsafe fn InvalidateNamedFramebufferData(
    &self,
    framebuffer: c_uint,
    numAttachments: c_int,
    attachments: *const FramebufferAttachment
)
[src]

glInvalidateNamedFramebufferData

  • framebuffer class: framebuffer
  • attachments group: FramebufferAttachment

pub unsafe fn InvalidateNamedFramebufferSubData(
    &self,
    framebuffer: c_uint,
    numAttachments: c_int,
    attachments: *const FramebufferAttachment,
    x: c_int,
    y: c_int,
    width: c_int,
    height: c_int
)
[src]

glInvalidateNamedFramebufferSubData

  • framebuffer class: framebuffer
  • attachments group: FramebufferAttachment

pub unsafe fn InvalidateSubFramebuffer(
    &self,
    target: FramebufferTarget,
    numAttachments: c_int,
    attachments: *const InvalidateFramebufferAttachment,
    x: c_int,
    y: c_int,
    width: c_int,
    height: c_int
)
[src]

glInvalidateSubFramebuffer

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

pub unsafe fn InvalidateTexImage(&self, texture: c_uint, level: c_int)[src]

glInvalidateTexImage

  • texture class: texture

pub unsafe fn InvalidateTexSubImage(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    width: c_int,
    height: c_int,
    depth: c_int
)
[src]

glInvalidateTexSubImage

  • texture class: texture

pub unsafe fn IsBuffer(&self, buffer: c_uint) -> c_uchar[src]

glIsBuffer

  • buffer class: buffer

pub unsafe fn IsEnabled(&self, cap: EnableCap) -> c_uchar[src]

glIsEnabled

  • cap group: EnableCap

pub unsafe fn IsEnabledi(&self, target: EnableCap, index: c_uint) -> c_uchar[src]

glIsEnabledi

  • target group: EnableCap

pub unsafe fn IsFramebuffer(&self, framebuffer: c_uint) -> c_uchar[src]

glIsFramebuffer

  • framebuffer class: framebuffer

pub unsafe fn IsProgram(&self, program: c_uint) -> c_uchar[src]

glIsProgram

  • program class: program

pub unsafe fn IsProgramPipeline(&self, pipeline: c_uint) -> c_uchar[src]

glIsProgramPipeline

  • pipeline class: program pipeline

pub unsafe fn IsQuery(&self, id: c_uint) -> c_uchar[src]

glIsQuery

  • id class: query

pub unsafe fn IsRenderbuffer(&self, renderbuffer: c_uint) -> c_uchar[src]

glIsRenderbuffer

  • renderbuffer class: renderbuffer

pub unsafe fn IsSampler(&self, sampler: c_uint) -> c_uchar[src]

glIsSampler

  • sampler class: sampler

pub unsafe fn IsShader(&self, shader: c_uint) -> c_uchar[src]

glIsShader

  • shader class: shader

pub unsafe fn IsSync(&self, sync: GLsync) -> c_uchar[src]

glIsSync

  • sync group: sync
  • sync class: sync

pub unsafe fn IsTexture(&self, texture: c_uint) -> c_uchar[src]

glIsTexture

  • texture group: Texture
  • texture class: texture

pub unsafe fn IsTransformFeedback(&self, id: c_uint) -> c_uchar[src]

glIsTransformFeedback

  • id class: transform feedback

pub unsafe fn IsVertexArray(&self, array: c_uint) -> c_uchar[src]

glIsVertexArray

  • array class: vertex array

pub unsafe fn LineWidth(&self, width: c_float)[src]

glLineWidth

  • width group: CheckedFloat32

pub fn LinkProgram(&self, program: c_uint)[src]

glLinkProgram

Performs linking on a program object. The link status of the program will be stored in its object state, you can check it with glGetProgram and/or glGetProgramInfoLog.

  • program the name of the program to link

pub unsafe fn LogicOp(&self, opcode: LogicOp)[src]

glLogicOp

  • opcode group: LogicOp

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

glMapBuffer

  • target group: BufferTargetARB
  • access group: BufferAccessARB

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

glMapBufferRange

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

pub unsafe fn MapNamedBuffer(
    &self,
    buffer: c_uint,
    access: BufferAccessARB
) -> *mut c_void
[src]

glMapNamedBuffer

  • buffer class: buffer
  • access group: BufferAccessARB

pub unsafe fn MapNamedBufferRange(
    &self,
    buffer: c_uint,
    offset: isize,
    length: isize,
    access: GLbitfield
) -> *mut c_void
[src]

glMapNamedBufferRange

  • buffer class: buffer
  • length group: BufferSize
  • access group: MapBufferAccessMask

pub unsafe fn MemoryBarrier(&self, barriers: GLbitfield)[src]

glMemoryBarrier

  • barriers group: MemoryBarrierMask

pub unsafe fn MemoryBarrierByRegion(&self, barriers: GLbitfield)[src]

glMemoryBarrierByRegion

  • barriers group: MemoryBarrierMask

pub unsafe fn MinSampleShading(&self, value: c_float)[src]

glMinSampleShading

  • value group: ColorF

pub unsafe fn MultiDrawArrays(
    &self,
    mode: PrimitiveType,
    first: *const c_int,
    count: *const c_int,
    drawcount: c_int
)
[src]

glMultiDrawArrays

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

pub unsafe fn MultiDrawArraysIndirect(
    &self,
    mode: PrimitiveType,
    indirect: *const c_void,
    drawcount: c_int,
    stride: c_int
)
[src]

glMultiDrawArraysIndirect

  • mode group: PrimitiveType
  • indirect len: COMPSIZE(drawcount,stride)

pub unsafe fn MultiDrawArraysIndirectCount(
    &self,
    mode: PrimitiveType,
    indirect: *const c_void,
    drawcount: isize,
    maxdrawcount: c_int,
    stride: c_int
)
[src]

glMultiDrawArraysIndirectCount

  • mode group: PrimitiveType

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

glMultiDrawElements

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

pub unsafe fn MultiDrawElementsBaseVertex(
    &self,
    mode: PrimitiveType,
    count: *const c_int,
    type_: DrawElementsType,
    indices: *const *const c_void,
    drawcount: c_int,
    basevertex: *const c_int
)
[src]

glMultiDrawElementsBaseVertex

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

pub unsafe fn MultiDrawElementsIndirect(
    &self,
    mode: PrimitiveType,
    type_: DrawElementsType,
    indirect: *const c_void,
    drawcount: c_int,
    stride: c_int
)
[src]

glMultiDrawElementsIndirect

  • mode group: PrimitiveType
  • type group: DrawElementsType
  • indirect len: COMPSIZE(drawcount,stride)

pub unsafe fn MultiDrawElementsIndirectCount(
    &self,
    mode: PrimitiveType,
    type_: DrawElementsType,
    indirect: *const c_void,
    drawcount: isize,
    maxdrawcount: c_int,
    stride: c_int
)
[src]

glMultiDrawElementsIndirectCount

  • mode group: PrimitiveType
  • type group: DrawElementsType

pub unsafe fn NamedBufferData(
    &self,
    buffer: c_uint,
    size: isize,
    data: *const c_void,
    usage: VertexBufferObjectUsage
)
[src]

glNamedBufferData

  • buffer class: buffer
  • size group: BufferSize
  • usage group: VertexBufferObjectUsage

pub unsafe fn NamedBufferStorage(
    &self,
    buffer: c_uint,
    size: isize,
    data: *const c_void,
    flags: GLbitfield
)
[src]

glNamedBufferStorage

  • buffer class: buffer
  • size group: BufferSize
  • data len: size
  • flags group: BufferStorageMask

pub unsafe fn NamedBufferSubData(
    &self,
    buffer: c_uint,
    offset: isize,
    size: isize,
    data: *const c_void
)
[src]

glNamedBufferSubData

  • buffer class: buffer
  • size group: BufferSize
  • data len: COMPSIZE(size)

pub unsafe fn NamedFramebufferDrawBuffer(
    &self,
    framebuffer: c_uint,
    buf: ColorBuffer
)
[src]

glNamedFramebufferDrawBuffer

  • framebuffer class: framebuffer
  • buf group: ColorBuffer

pub unsafe fn NamedFramebufferDrawBuffers(
    &self,
    framebuffer: c_uint,
    n: c_int,
    bufs: *const ColorBuffer
)
[src]

glNamedFramebufferDrawBuffers

  • framebuffer class: framebuffer
  • bufs group: ColorBuffer

pub unsafe fn NamedFramebufferParameteri(
    &self,
    framebuffer: c_uint,
    pname: FramebufferParameterName,
    param: c_int
)
[src]

glNamedFramebufferParameteri

  • framebuffer class: framebuffer
  • pname group: FramebufferParameterName

pub unsafe fn NamedFramebufferReadBuffer(
    &self,
    framebuffer: c_uint,
    src: ColorBuffer
)
[src]

glNamedFramebufferReadBuffer

  • framebuffer class: framebuffer
  • src group: ColorBuffer

pub unsafe fn NamedFramebufferRenderbuffer(
    &self,
    framebuffer: c_uint,
    attachment: FramebufferAttachment,
    renderbuffertarget: RenderbufferTarget,
    renderbuffer: c_uint
)
[src]

glNamedFramebufferRenderbuffer

  • framebuffer class: framebuffer
  • attachment group: FramebufferAttachment
  • renderbuffertarget group: RenderbufferTarget
  • renderbuffer class: renderbuffer

pub unsafe fn NamedFramebufferTexture(
    &self,
    framebuffer: c_uint,
    attachment: FramebufferAttachment,
    texture: c_uint,
    level: c_int
)
[src]

glNamedFramebufferTexture

  • framebuffer class: framebuffer
  • attachment group: FramebufferAttachment
  • texture class: texture

pub unsafe fn NamedFramebufferTextureLayer(
    &self,
    framebuffer: c_uint,
    attachment: FramebufferAttachment,
    texture: c_uint,
    level: c_int,
    layer: c_int
)
[src]

glNamedFramebufferTextureLayer

  • framebuffer class: framebuffer
  • attachment group: FramebufferAttachment
  • texture class: texture

pub unsafe fn NamedRenderbufferStorage(
    &self,
    renderbuffer: c_uint,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int
)
[src]

glNamedRenderbufferStorage

  • renderbuffer class: renderbuffer
  • internalformat group: InternalFormat

pub unsafe fn NamedRenderbufferStorageMultisample(
    &self,
    renderbuffer: c_uint,
    samples: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int
)
[src]

glNamedRenderbufferStorageMultisample

  • renderbuffer class: renderbuffer
  • internalformat group: InternalFormat

pub unsafe fn ObjectLabel(
    &self,
    identifier: ObjectIdentifier,
    name: c_uint,
    length: c_int,
    label: *const u8
)
[src]

glObjectLabel

  • identifier group: ObjectIdentifier
  • label len: COMPSIZE(label,length)

pub unsafe fn ObjectPtrLabel(
    &self,
    ptr: *const c_void,
    length: c_int,
    label: *const u8
)
[src]

glObjectPtrLabel

  • label len: COMPSIZE(label,length)

pub unsafe fn PatchParameterfv(
    &self,
    pname: PatchParameterName,
    values: *const c_float
)
[src]

glPatchParameterfv

  • pname group: PatchParameterName
  • values len: COMPSIZE(pname)

pub unsafe fn PatchParameteri(&self, pname: PatchParameterName, value: c_int)[src]

glPatchParameteri

  • pname group: PatchParameterName

pub unsafe fn PauseTransformFeedback(&self)[src]

glPauseTransformFeedback

pub unsafe fn PixelStoref(&self, pname: PixelStoreParameter, param: c_float)[src]

glPixelStoref

  • pname group: PixelStoreParameter
  • param group: CheckedFloat32

pub unsafe fn PixelStorei(&self, pname: PixelStoreParameter, param: c_int)[src]

glPixelStorei

  • pname group: PixelStoreParameter
  • param group: CheckedInt32

pub unsafe fn PointParameterf(
    &self,
    pname: PointParameterNameARB,
    param: c_float
)
[src]

glPointParameterf

  • pname group: PointParameterNameARB
  • param group: CheckedFloat32

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

glPointParameterfv

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

pub unsafe fn PointParameteri(&self, pname: PointParameterNameARB, param: c_int)[src]

glPointParameteri

  • pname group: PointParameterNameARB

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

glPointParameteriv

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

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

glPointSize

Sets the diameter of rasterized points if GL_PROGRAM_POINT_SIZE is disabled. (Otherwise, this setting is ignored and you must modify gl_PointSize from within a shader to change point size.)

The default point size is 1.0, and it cannot be set to less than 0.0.

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

glPolygonMode

  • face group: MaterialFace
  • mode group: PolygonMode

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

glPolygonOffset

pub unsafe fn PolygonOffsetClamp(
    &self,
    factor: c_float,
    units: c_float,
    clamp: c_float
)
[src]

glPolygonOffsetClamp

pub unsafe fn PopDebugGroup(&self)[src]

glPopDebugGroup

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

glPrimitiveRestartIndex

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

glProgramBinary

  • program class: program
  • binary len: length

pub unsafe fn ProgramParameteri(
    &self,
    program: c_uint,
    pname: ProgramParameterPName,
    value: c_int
)
[src]

glProgramParameteri

  • program class: program
  • pname group: ProgramParameterPName

pub unsafe fn ProgramUniform1d(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_double
)
[src]

glProgramUniform1d

  • program class: program

pub unsafe fn ProgramUniform1dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_double
)
[src]

glProgramUniform1dv

  • program class: program
  • value len: count

pub unsafe fn ProgramUniform1f(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_float
)
[src]

glProgramUniform1f

  • program class: program

pub unsafe fn ProgramUniform1fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_float
)
[src]

glProgramUniform1fv

  • program class: program
  • value len: count

pub unsafe fn ProgramUniform1i(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_int
)
[src]

glProgramUniform1i

  • program class: program

pub unsafe fn ProgramUniform1iv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_int
)
[src]

glProgramUniform1iv

  • program class: program
  • value len: count

pub unsafe fn ProgramUniform1ui(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_uint
)
[src]

glProgramUniform1ui

  • program class: program

pub unsafe fn ProgramUniform1uiv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_uint
)
[src]

glProgramUniform1uiv

  • program class: program
  • value len: count

pub unsafe fn ProgramUniform2d(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_double,
    v1: c_double
)
[src]

glProgramUniform2d

  • program class: program

pub unsafe fn ProgramUniform2dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_double
)
[src]

glProgramUniform2dv

  • program class: program
  • value len: count*2

pub unsafe fn ProgramUniform2f(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_float,
    v1: c_float
)
[src]

glProgramUniform2f

  • program class: program

pub unsafe fn ProgramUniform2fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_float
)
[src]

glProgramUniform2fv

  • program class: program
  • value len: count*2

pub unsafe fn ProgramUniform2i(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_int,
    v1: c_int
)
[src]

glProgramUniform2i

  • program class: program

pub unsafe fn ProgramUniform2iv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_int
)
[src]

glProgramUniform2iv

  • program class: program
  • value len: count*2

pub unsafe fn ProgramUniform2ui(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_uint,
    v1: c_uint
)
[src]

glProgramUniform2ui

  • program class: program

pub unsafe fn ProgramUniform2uiv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_uint
)
[src]

glProgramUniform2uiv

  • program class: program
  • value len: count*2

pub unsafe fn ProgramUniform3d(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_double,
    v1: c_double,
    v2: c_double
)
[src]

glProgramUniform3d

  • program class: program

pub unsafe fn ProgramUniform3dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_double
)
[src]

glProgramUniform3dv

  • program class: program
  • value len: count*3

pub unsafe fn ProgramUniform3f(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_float,
    v1: c_float,
    v2: c_float
)
[src]

glProgramUniform3f

  • program class: program

pub unsafe fn ProgramUniform3fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_float
)
[src]

glProgramUniform3fv

  • program class: program
  • value len: count*3

pub unsafe fn ProgramUniform3i(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_int,
    v1: c_int,
    v2: c_int
)
[src]

glProgramUniform3i

  • program class: program

pub unsafe fn ProgramUniform3iv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_int
)
[src]

glProgramUniform3iv

  • program class: program
  • value len: count*3

pub unsafe fn ProgramUniform3ui(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_uint,
    v1: c_uint,
    v2: c_uint
)
[src]

glProgramUniform3ui

  • program class: program

pub unsafe fn ProgramUniform3uiv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_uint
)
[src]

glProgramUniform3uiv

  • program class: program
  • value len: count*3

pub unsafe fn ProgramUniform4d(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_double,
    v1: c_double,
    v2: c_double,
    v3: c_double
)
[src]

glProgramUniform4d

  • program class: program

pub unsafe fn ProgramUniform4dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_double
)
[src]

glProgramUniform4dv

  • program class: program
  • value len: count*4

pub unsafe fn ProgramUniform4f(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_float,
    v1: c_float,
    v2: c_float,
    v3: c_float
)
[src]

glProgramUniform4f

  • program class: program

pub unsafe fn ProgramUniform4fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_float
)
[src]

glProgramUniform4fv

  • program class: program
  • value len: count*4

pub unsafe fn ProgramUniform4i(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_int,
    v1: c_int,
    v2: c_int,
    v3: c_int
)
[src]

glProgramUniform4i

  • program class: program

pub unsafe fn ProgramUniform4iv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_int
)
[src]

glProgramUniform4iv

  • program class: program
  • value len: count*4

pub unsafe fn ProgramUniform4ui(
    &self,
    program: c_uint,
    location: c_int,
    v0: c_uint,
    v1: c_uint,
    v2: c_uint,
    v3: c_uint
)
[src]

glProgramUniform4ui

  • program class: program

pub unsafe fn ProgramUniform4uiv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    value: *const c_uint
)
[src]

glProgramUniform4uiv

  • program class: program
  • value len: count*4

pub unsafe fn ProgramUniformMatrix2dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glProgramUniformMatrix2dv

  • program class: program
  • transpose group: Boolean
  • value len: count*4

pub unsafe fn ProgramUniformMatrix2fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glProgramUniformMatrix2fv

  • program class: program
  • transpose group: Boolean
  • value len: count*4

pub unsafe fn ProgramUniformMatrix2x3dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glProgramUniformMatrix2x3dv

  • program class: program
  • transpose group: Boolean
  • value len: count*6

pub unsafe fn ProgramUniformMatrix2x3fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glProgramUniformMatrix2x3fv

  • program class: program
  • transpose group: Boolean
  • value len: count*6

pub unsafe fn ProgramUniformMatrix2x4dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glProgramUniformMatrix2x4dv

  • program class: program
  • transpose group: Boolean
  • value len: count*8

pub unsafe fn ProgramUniformMatrix2x4fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glProgramUniformMatrix2x4fv

  • program class: program
  • transpose group: Boolean
  • value len: count*8

pub unsafe fn ProgramUniformMatrix3dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glProgramUniformMatrix3dv

  • program class: program
  • transpose group: Boolean
  • value len: count*9

pub unsafe fn ProgramUniformMatrix3fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glProgramUniformMatrix3fv

  • program class: program
  • transpose group: Boolean
  • value len: count*9

pub unsafe fn ProgramUniformMatrix3x2dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glProgramUniformMatrix3x2dv

  • program class: program
  • transpose group: Boolean
  • value len: count*6

pub unsafe fn ProgramUniformMatrix3x2fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glProgramUniformMatrix3x2fv

  • program class: program
  • transpose group: Boolean
  • value len: count*6

pub unsafe fn ProgramUniformMatrix3x4dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glProgramUniformMatrix3x4dv

  • program class: program
  • transpose group: Boolean
  • value len: count*12

pub unsafe fn ProgramUniformMatrix3x4fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glProgramUniformMatrix3x4fv

  • program class: program
  • transpose group: Boolean
  • value len: count*12

pub unsafe fn ProgramUniformMatrix4dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glProgramUniformMatrix4dv

  • program class: program
  • transpose group: Boolean
  • value len: count*16

pub unsafe fn ProgramUniformMatrix4fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glProgramUniformMatrix4fv

  • program class: program
  • transpose group: Boolean
  • value len: count*16

pub unsafe fn ProgramUniformMatrix4x2dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glProgramUniformMatrix4x2dv

  • program class: program
  • transpose group: Boolean
  • value len: count*8

pub unsafe fn ProgramUniformMatrix4x2fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glProgramUniformMatrix4x2fv

  • program class: program
  • transpose group: Boolean
  • value len: count*8

pub unsafe fn ProgramUniformMatrix4x3dv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glProgramUniformMatrix4x3dv

  • program class: program
  • transpose group: Boolean
  • value len: count*12

pub unsafe fn ProgramUniformMatrix4x3fv(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glProgramUniformMatrix4x3fv

  • program class: program
  • transpose group: Boolean
  • value len: count*12

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

glProvokingVertex

  • mode group: VertexProvokingMode

pub unsafe fn PushDebugGroup(
    &self,
    source: DebugSource,
    id: c_uint,
    length: c_int,
    message: *const u8
)
[src]

glPushDebugGroup

  • source group: DebugSource
  • message len: COMPSIZE(message,length)

pub unsafe fn QueryCounter(&self, id: c_uint, target: QueryCounterTarget)[src]

glQueryCounter

  • id class: query
  • target group: QueryCounterTarget

pub unsafe fn ReadBuffer(&self, src: ReadBufferMode)[src]

glReadBuffer

  • src group: ReadBufferMode

pub unsafe fn ReadPixels(
    &self,
    x: c_int,
    y: c_int,
    width: c_int,
    height: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *mut c_void
)
[src]

glReadPixels

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

pub unsafe fn ReadnPixels(
    &self,
    x: c_int,
    y: c_int,
    width: c_int,
    height: c_int,
    format: PixelFormat,
    type_: PixelType,
    bufSize: c_int,
    data: *mut c_void
)
[src]

glReadnPixels

  • format group: PixelFormat
  • type group: PixelType
  • data len: bufSize

pub unsafe fn ReleaseShaderCompiler(&self)[src]

glReleaseShaderCompiler

pub unsafe fn RenderbufferStorage(
    &self,
    target: RenderbufferTarget,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int
)
[src]

glRenderbufferStorage

  • target group: RenderbufferTarget
  • internalformat group: InternalFormat

pub unsafe fn RenderbufferStorageMultisample(
    &self,
    target: RenderbufferTarget,
    samples: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int
)
[src]

glRenderbufferStorageMultisample

  • target group: RenderbufferTarget
  • internalformat group: InternalFormat

pub unsafe fn ResumeTransformFeedback(&self)[src]

glResumeTransformFeedback

pub unsafe fn SampleCoverage(&self, value: c_float, invert: c_uchar)[src]

glSampleCoverage

  • invert group: Boolean

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

glSampleMaski

pub unsafe fn SamplerParameterIiv(
    &self,
    sampler: c_uint,
    pname: SamplerParameterI,
    param: *const c_int
)
[src]

glSamplerParameterIiv

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

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

glSamplerParameterIuiv

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

pub unsafe fn SamplerParameterf(
    &self,
    sampler: c_uint,
    pname: SamplerParameterF,
    param: c_float
)
[src]

glSamplerParameterf

  • sampler class: sampler
  • pname group: SamplerParameterF

pub unsafe fn SamplerParameterfv(
    &self,
    sampler: c_uint,
    pname: SamplerParameterF,
    param: *const c_float
)
[src]

glSamplerParameterfv

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

pub unsafe fn SamplerParameteri(
    &self,
    sampler: c_uint,
    pname: SamplerParameterI,
    param: c_int
)
[src]

glSamplerParameteri

  • sampler class: sampler
  • pname group: SamplerParameterI

pub unsafe fn SamplerParameteriv(
    &self,
    sampler: c_uint,
    pname: SamplerParameterI,
    param: *const c_int
)
[src]

glSamplerParameteriv

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

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

glScissor

  • x group: WinCoord
  • y group: WinCoord

pub unsafe fn ScissorArrayv(&self, first: c_uint, count: c_int, v: *const c_int)[src]

glScissorArrayv

  • v len: COMPSIZE(count)

pub unsafe fn ScissorIndexed(
    &self,
    index: c_uint,
    left: c_int,
    bottom: c_int,
    width: c_int,
    height: c_int
)
[src]

glScissorIndexed

pub unsafe fn ScissorIndexedv(&self, index: c_uint, v: *const [c_int; 4])[src]

glScissorIndexedv

pub unsafe fn ShaderBinary(
    &self,
    count: c_int,
    shaders: *const c_uint,
    binaryFormat: ShaderBinaryFormat,
    binary: *const c_void,
    length: c_int
)
[src]

glShaderBinary

  • shaders class: shader
  • shaders len: count
  • binaryFormat group: ShaderBinaryFormat
  • binary len: length

pub unsafe fn ShaderSource(
    &self,
    shader: c_uint,
    count: c_int,
    string: *const *const u8,
    length: *const c_int
)
[src]

glShaderSource

Sets the source string of the named shader. This replaces any previously set source. OpenGL copies the data into its own memory, so you can free your instance of the source string after the call (if necessary).

  • shader the shader ID to attach the source to.
  • count the length of the string and length arrays.
  • string an array of pointers to the start of shader source code strings.
  • length if non-null, this is an array of lengths for each pointer in string (or negative if that entry is null-termiated). if length is null then all strings in string must each be null-termianted.

pub unsafe fn ShaderStorageBlockBinding(
    &self,
    program: c_uint,
    storageBlockIndex: c_uint,
    storageBlockBinding: c_uint
)
[src]

glShaderStorageBlockBinding

  • program class: program

pub unsafe fn SpecializeShader(
    &self,
    shader: c_uint,
    pEntryPoint: *const u8,
    numSpecializationConstants: c_uint,
    pConstantIndex: *const c_uint,
    pConstantValue: *const c_uint
)
[src]

glSpecializeShader

  • shader class: shader

pub unsafe fn StencilFunc(
    &self,
    func: StencilFunction,
    ref_: c_int,
    mask: c_uint
)
[src]

glStencilFunc

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

pub unsafe fn StencilFuncSeparate(
    &self,
    face: StencilFaceDirection,
    func: StencilFunction,
    ref_: c_int,
    mask: c_uint
)
[src]

glStencilFuncSeparate

  • face group: StencilFaceDirection
  • func group: StencilFunction
  • ref group: StencilValue
  • mask group: MaskedStencilValue

pub unsafe fn StencilMask(&self, mask: c_uint)[src]

glStencilMask

  • mask group: MaskedStencilValue

pub unsafe fn StencilMaskSeparate(
    &self,
    face: StencilFaceDirection,
    mask: c_uint
)
[src]

glStencilMaskSeparate

  • face group: StencilFaceDirection
  • mask group: MaskedStencilValue

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

glStencilOp

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

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

glStencilOpSeparate

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

pub unsafe fn TexBuffer(
    &self,
    target: TextureTarget,
    internalformat: InternalFormat,
    buffer: c_uint
)
[src]

glTexBuffer

  • target group: TextureTarget
  • internalformat group: InternalFormat
  • buffer class: buffer

pub unsafe fn TexBufferRange(
    &self,
    target: TextureTarget,
    internalformat: InternalFormat,
    buffer: c_uint,
    offset: isize,
    size: isize
)
[src]

glTexBufferRange

  • target group: TextureTarget
  • internalformat group: InternalFormat
  • buffer class: buffer
  • offset group: BufferOffset
  • size group: BufferSize

pub unsafe fn TexImage1D(
    &self,
    target: TextureTarget,
    level: c_int,
    internalformat: c_int,
    width: c_int,
    border: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *const c_void
)
[src]

glTexImage1D

  • 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: TextureTarget,
    level: c_int,
    internalformat: c_int,
    width: c_int,
    height: c_int,
    border: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *const c_void
)
[src]

glTexImage2D

  • 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: TextureTarget,
    samples: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int,
    fixedsamplelocations: c_uchar
)
[src]

glTexImage2DMultisample

  • target group: TextureTarget
  • internalformat group: InternalFormat
  • fixedsamplelocations group: Boolean

pub unsafe fn TexImage3D(
    &self,
    target: TextureTarget,
    level: c_int,
    internalformat: c_int,
    width: c_int,
    height: c_int,
    depth: c_int,
    border: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *const c_void
)
[src]

glTexImage3D

  • 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: TextureTarget,
    samples: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int,
    depth: c_int,
    fixedsamplelocations: c_uchar
)
[src]

glTexImage3DMultisample

  • target group: TextureTarget
  • internalformat group: InternalFormat
  • fixedsamplelocations group: Boolean

pub unsafe fn TexParameterIiv(
    &self,
    target: TextureTarget,
    pname: TextureParameterName,
    params: *const c_int
)
[src]

glTexParameterIiv

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

pub unsafe fn TexParameterIuiv(
    &self,
    target: TextureTarget,
    pname: TextureParameterName,
    params: *const c_uint
)
[src]

glTexParameterIuiv

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

pub unsafe fn TexParameterf(
    &self,
    target: TextureTarget,
    pname: TextureParameterName,
    param: c_float
)
[src]

glTexParameterf

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

pub unsafe fn TexParameterfv(
    &self,
    target: TextureTarget,
    pname: TextureParameterName,
    params: *const c_float
)
[src]

glTexParameterfv

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

pub unsafe fn TexParameteri(
    &self,
    target: TextureTarget,
    pname: TextureParameterName,
    param: c_int
)
[src]

glTexParameteri

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

pub unsafe fn TexParameteriv(
    &self,
    target: TextureTarget,
    pname: TextureParameterName,
    params: *const c_int
)
[src]

glTexParameteriv

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

pub unsafe fn TexStorage1D(
    &self,
    target: TextureTarget,
    levels: c_int,
    internalformat: InternalFormat,
    width: c_int
)
[src]

glTexStorage1D

  • target group: TextureTarget
  • internalformat group: InternalFormat

pub unsafe fn TexStorage2D(
    &self,
    target: TextureTarget,
    levels: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int
)
[src]

glTexStorage2D

  • target group: TextureTarget
  • internalformat group: InternalFormat

pub unsafe fn TexStorage2DMultisample(
    &self,
    target: TextureTarget,
    samples: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int,
    fixedsamplelocations: c_uchar
)
[src]

glTexStorage2DMultisample

  • target group: TextureTarget
  • internalformat group: InternalFormat
  • fixedsamplelocations group: Boolean

pub unsafe fn TexStorage3D(
    &self,
    target: TextureTarget,
    levels: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int,
    depth: c_int
)
[src]

glTexStorage3D

  • target group: TextureTarget
  • internalformat group: InternalFormat

pub unsafe fn TexStorage3DMultisample(
    &self,
    target: TextureTarget,
    samples: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int,
    depth: c_int,
    fixedsamplelocations: c_uchar
)
[src]

glTexStorage3DMultisample

  • target group: TextureTarget
  • internalformat group: InternalFormat
  • fixedsamplelocations group: Boolean

pub unsafe fn TexSubImage1D(
    &self,
    target: TextureTarget,
    level: c_int,
    xoffset: c_int,
    width: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *const c_void
)
[src]

glTexSubImage1D

  • 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: TextureTarget,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    width: c_int,
    height: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *const c_void
)
[src]

glTexSubImage2D

  • 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: TextureTarget,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    width: c_int,
    height: c_int,
    depth: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *const c_void
)
[src]

glTexSubImage3D

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

glTextureBarrier

pub unsafe fn TextureBuffer(
    &self,
    texture: c_uint,
    internalformat: InternalFormat,
    buffer: c_uint
)
[src]

glTextureBuffer

  • texture class: texture
  • internalformat group: InternalFormat
  • buffer class: buffer

pub unsafe fn TextureBufferRange(
    &self,
    texture: c_uint,
    internalformat: InternalFormat,
    buffer: c_uint,
    offset: isize,
    size: isize
)
[src]

glTextureBufferRange

  • texture class: texture
  • internalformat group: InternalFormat
  • buffer class: buffer
  • size group: BufferSize

pub unsafe fn TextureParameterIiv(
    &self,
    texture: c_uint,
    pname: TextureParameterName,
    params: *const c_int
)
[src]

glTextureParameterIiv

  • texture class: texture
  • pname group: TextureParameterName

pub unsafe fn TextureParameterIuiv(
    &self,
    texture: c_uint,
    pname: TextureParameterName,
    params: *const c_uint
)
[src]

glTextureParameterIuiv

  • texture class: texture
  • pname group: TextureParameterName

pub unsafe fn TextureParameterf(
    &self,
    texture: c_uint,
    pname: TextureParameterName,
    param: c_float
)
[src]

glTextureParameterf

  • texture class: texture
  • pname group: TextureParameterName

pub unsafe fn TextureParameterfv(
    &self,
    texture: c_uint,
    pname: TextureParameterName,
    param: *const c_float
)
[src]

glTextureParameterfv

  • texture class: texture
  • pname group: TextureParameterName

pub unsafe fn TextureParameteri(
    &self,
    texture: c_uint,
    pname: TextureParameterName,
    param: c_int
)
[src]

glTextureParameteri

  • texture class: texture
  • pname group: TextureParameterName

pub unsafe fn TextureParameteriv(
    &self,
    texture: c_uint,
    pname: TextureParameterName,
    param: *const c_int
)
[src]

glTextureParameteriv

  • texture class: texture
  • pname group: TextureParameterName

pub unsafe fn TextureStorage1D(
    &self,
    texture: c_uint,
    levels: c_int,
    internalformat: InternalFormat,
    width: c_int
)
[src]

glTextureStorage1D

  • texture class: texture
  • internalformat group: InternalFormat

pub unsafe fn TextureStorage2D(
    &self,
    texture: c_uint,
    levels: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int
)
[src]

glTextureStorage2D

  • texture class: texture
  • internalformat group: InternalFormat

pub unsafe fn TextureStorage2DMultisample(
    &self,
    texture: c_uint,
    samples: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int,
    fixedsamplelocations: c_uchar
)
[src]

glTextureStorage2DMultisample

  • texture class: texture
  • internalformat group: InternalFormat
  • fixedsamplelocations group: Boolean

pub unsafe fn TextureStorage3D(
    &self,
    texture: c_uint,
    levels: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int,
    depth: c_int
)
[src]

glTextureStorage3D

  • texture class: texture
  • internalformat group: InternalFormat

pub unsafe fn TextureStorage3DMultisample(
    &self,
    texture: c_uint,
    samples: c_int,
    internalformat: InternalFormat,
    width: c_int,
    height: c_int,
    depth: c_int,
    fixedsamplelocations: c_uchar
)
[src]

glTextureStorage3DMultisample

  • texture class: texture
  • internalformat group: InternalFormat
  • fixedsamplelocations group: Boolean

pub unsafe fn TextureSubImage1D(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    width: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *const c_void
)
[src]

glTextureSubImage1D

  • texture class: texture
  • format group: PixelFormat
  • type group: PixelType

pub unsafe fn TextureSubImage2D(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    width: c_int,
    height: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *const c_void
)
[src]

glTextureSubImage2D

  • texture class: texture
  • format group: PixelFormat
  • type group: PixelType

pub unsafe fn TextureSubImage3D(
    &self,
    texture: c_uint,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    width: c_int,
    height: c_int,
    depth: c_int,
    format: PixelFormat,
    type_: PixelType,
    pixels: *const c_void
)
[src]

glTextureSubImage3D

  • texture class: texture
  • format group: PixelFormat
  • type group: PixelType

pub unsafe fn TextureView(
    &self,
    texture: c_uint,
    target: TextureTarget,
    origtexture: c_uint,
    internalformat: InternalFormat,
    minlevel: c_uint,
    numlevels: c_uint,
    minlayer: c_uint,
    numlayers: c_uint
)
[src]

glTextureView

  • texture class: texture
  • target group: TextureTarget
  • origtexture class: texture
  • internalformat group: InternalFormat

pub unsafe fn TransformFeedbackBufferBase(
    &self,
    xfb: c_uint,
    index: c_uint,
    buffer: c_uint
)
[src]

glTransformFeedbackBufferBase

  • xfb class: transform feedback
  • buffer class: buffer

pub unsafe fn TransformFeedbackBufferRange(
    &self,
    xfb: c_uint,
    index: c_uint,
    buffer: c_uint,
    offset: isize,
    size: isize
)
[src]

glTransformFeedbackBufferRange

  • xfb class: transform feedback
  • buffer class: buffer
  • size group: BufferSize

pub unsafe fn TransformFeedbackVaryings(
    &self,
    program: c_uint,
    count: c_int,
    varyings: *const *const u8,
    bufferMode: TransformFeedbackBufferMode
)
[src]

glTransformFeedbackVaryings

  • program class: program
  • varyings len: count
  • bufferMode group: TransformFeedbackBufferMode

pub unsafe fn Uniform1d(&self, location: c_int, x: c_double)[src]

glUniform1d

pub unsafe fn Uniform1dv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_double
)
[src]

glUniform1dv

  • value len: count*1

pub unsafe fn Uniform1f(&self, location: c_int, v0: c_float)[src]

glUniform1f

pub unsafe fn Uniform1fv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_float
)
[src]

glUniform1fv

  • value len: count*1

pub unsafe fn Uniform1i(&self, location: c_int, v0: c_int)[src]

glUniform1i

pub unsafe fn Uniform1iv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_int
)
[src]

glUniform1iv

  • value len: count*1

pub unsafe fn Uniform1ui(&self, location: c_int, v0: c_uint)[src]

glUniform1ui

pub unsafe fn Uniform1uiv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_uint
)
[src]

glUniform1uiv

  • value len: count*1

pub unsafe fn Uniform2d(&self, location: c_int, x: c_double, y: c_double)[src]

glUniform2d

pub unsafe fn Uniform2dv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_double
)
[src]

glUniform2dv

  • value len: count*2

pub unsafe fn Uniform2f(&self, location: c_int, v0: c_float, v1: c_float)[src]

glUniform2f

pub unsafe fn Uniform2fv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_float
)
[src]

glUniform2fv

  • value len: count*2

pub unsafe fn Uniform2i(&self, location: c_int, v0: c_int, v1: c_int)[src]

glUniform2i

pub unsafe fn Uniform2iv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_int
)
[src]

glUniform2iv

  • value len: count*2

pub unsafe fn Uniform2ui(&self, location: c_int, v0: c_uint, v1: c_uint)[src]

glUniform2ui

pub unsafe fn Uniform2uiv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_uint
)
[src]

glUniform2uiv

  • value len: count*2

pub unsafe fn Uniform3d(
    &self,
    location: c_int,
    x: c_double,
    y: c_double,
    z: c_double
)
[src]

glUniform3d

pub unsafe fn Uniform3dv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_double
)
[src]

glUniform3dv

  • value len: count*3

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

glUniform3f

pub unsafe fn Uniform3fv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_float
)
[src]

glUniform3fv

  • value len: count*3

pub unsafe fn Uniform3i(&self, location: c_int, v0: c_int, v1: c_int, v2: c_int)[src]

glUniform3i

pub unsafe fn Uniform3iv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_int
)
[src]

glUniform3iv

  • value len: count*3

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

glUniform3ui

pub unsafe fn Uniform3uiv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_uint
)
[src]

glUniform3uiv

  • value len: count*3

pub unsafe fn Uniform4d(
    &self,
    location: c_int,
    x: c_double,
    y: c_double,
    z: c_double,
    w: c_double
)
[src]

glUniform4d

pub unsafe fn Uniform4dv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_double
)
[src]

glUniform4dv

  • value len: count*4

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

glUniform4f

pub unsafe fn Uniform4fv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_float
)
[src]

glUniform4fv

  • value len: count*4

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

glUniform4i

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

glUniform4iv

  • value len: count*4

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

glUniform4ui

pub unsafe fn Uniform4uiv(
    &self,
    location: c_int,
    count: c_int,
    value: *const c_uint
)
[src]

glUniform4uiv

  • value len: count*4

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

glUniformBlockBinding

  • program class: program

pub unsafe fn UniformMatrix2dv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glUniformMatrix2dv

  • transpose group: Boolean
  • value len: count*4

pub unsafe fn UniformMatrix2fv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glUniformMatrix2fv

  • transpose group: Boolean
  • value len: count*4

pub unsafe fn UniformMatrix2x3dv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glUniformMatrix2x3dv

  • transpose group: Boolean
  • value len: count*6

pub unsafe fn UniformMatrix2x3fv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glUniformMatrix2x3fv

  • transpose group: Boolean
  • value len: count*6

pub unsafe fn UniformMatrix2x4dv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glUniformMatrix2x4dv

  • transpose group: Boolean
  • value len: count*8

pub unsafe fn UniformMatrix2x4fv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glUniformMatrix2x4fv

  • transpose group: Boolean
  • value len: count*8

pub unsafe fn UniformMatrix3dv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glUniformMatrix3dv

  • transpose group: Boolean
  • value len: count*9

pub unsafe fn UniformMatrix3fv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glUniformMatrix3fv

  • transpose group: Boolean
  • value len: count*9

pub unsafe fn UniformMatrix3x2dv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glUniformMatrix3x2dv

  • transpose group: Boolean
  • value len: count*6

pub unsafe fn UniformMatrix3x2fv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glUniformMatrix3x2fv

  • transpose group: Boolean
  • value len: count*6

pub unsafe fn UniformMatrix3x4dv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glUniformMatrix3x4dv

  • transpose group: Boolean
  • value len: count*12

pub unsafe fn UniformMatrix3x4fv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glUniformMatrix3x4fv

  • transpose group: Boolean
  • value len: count*12

pub unsafe fn UniformMatrix4dv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glUniformMatrix4dv

  • transpose group: Boolean
  • value len: count*16

pub unsafe fn UniformMatrix4fv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glUniformMatrix4fv

  • transpose group: Boolean
  • value len: count*16

pub unsafe fn UniformMatrix4x2dv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glUniformMatrix4x2dv

  • transpose group: Boolean
  • value len: count*8

pub unsafe fn UniformMatrix4x2fv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glUniformMatrix4x2fv

  • transpose group: Boolean
  • value len: count*8

pub unsafe fn UniformMatrix4x3dv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_double
)
[src]

glUniformMatrix4x3dv

  • transpose group: Boolean
  • value len: count*12

pub unsafe fn UniformMatrix4x3fv(
    &self,
    location: c_int,
    count: c_int,
    transpose: c_uchar,
    value: *const c_float
)
[src]

glUniformMatrix4x3fv

  • transpose group: Boolean
  • value len: count*12

pub unsafe fn UniformSubroutinesuiv(
    &self,
    shadertype: ShaderType,
    count: c_int,
    indices: *const c_uint
)
[src]

glUniformSubroutinesuiv

  • shadertype group: ShaderType
  • indices len: count

pub unsafe fn UnmapBuffer(&self, target: BufferTargetARB) -> c_uchar[src]

glUnmapBuffer

  • target group: BufferTargetARB

pub unsafe fn UnmapNamedBuffer(&self, buffer: c_uint) -> c_uchar[src]

glUnmapNamedBuffer

  • buffer class: buffer

pub fn UseProgram(&self, program: c_uint)[src]

glUseProgram

Sets a given shader program for use during rendering.

Setting 0 as the program object makes the output of all rendering actions undefined, but this is not an error.

  • program names the program to set for use.

pub unsafe fn UseProgramStages(
    &self,
    pipeline: c_uint,
    stages: GLbitfield,
    program: c_uint
)
[src]

glUseProgramStages

  • pipeline class: program pipeline
  • stages group: UseProgramStageMask
  • program class: program

pub unsafe fn ValidateProgram(&self, program: c_uint)[src]

glValidateProgram

  • program class: program

pub unsafe fn ValidateProgramPipeline(&self, pipeline: c_uint)[src]

glValidateProgramPipeline

  • pipeline class: program pipeline

pub unsafe fn VertexArrayAttribBinding(
    &self,
    vaobj: c_uint,
    attribindex: c_uint,
    bindingindex: c_uint
)
[src]

glVertexArrayAttribBinding

  • vaobj class: vertex array

pub unsafe fn VertexArrayAttribFormat(
    &self,
    vaobj: c_uint,
    attribindex: c_uint,
    size: c_int,
    type_: VertexAttribType,
    normalized: c_uchar,
    relativeoffset: c_uint
)
[src]

glVertexArrayAttribFormat

  • vaobj class: vertex array
  • type group: VertexAttribType
  • normalized group: Boolean

pub unsafe fn VertexArrayAttribIFormat(
    &self,
    vaobj: c_uint,
    attribindex: c_uint,
    size: c_int,
    type_: VertexAttribIType,
    relativeoffset: c_uint
)
[src]

glVertexArrayAttribIFormat

  • vaobj class: vertex array
  • type group: VertexAttribIType

pub unsafe fn VertexArrayAttribLFormat(
    &self,
    vaobj: c_uint,
    attribindex: c_uint,
    size: c_int,
    type_: VertexAttribLType,
    relativeoffset: c_uint
)
[src]

glVertexArrayAttribLFormat

  • vaobj class: vertex array
  • type group: VertexAttribLType

pub unsafe fn VertexArrayBindingDivisor(
    &self,
    vaobj: c_uint,
    bindingindex: c_uint,
    divisor: c_uint
)
[src]

glVertexArrayBindingDivisor

  • vaobj class: vertex array

pub unsafe fn VertexArrayElementBuffer(&self, vaobj: c_uint, buffer: c_uint)[src]

glVertexArrayElementBuffer

  • vaobj class: vertex array
  • buffer class: buffer

pub unsafe fn VertexArrayVertexBuffer(
    &self,
    vaobj: c_uint,
    bindingindex: c_uint,
    buffer: c_uint,
    offset: isize,
    stride: c_int
)
[src]

glVertexArrayVertexBuffer

  • vaobj class: vertex array
  • buffer class: buffer

pub unsafe fn VertexArrayVertexBuffers(
    &self,
    vaobj: c_uint,
    first: c_uint,
    count: c_int,
    buffers: *const c_uint,
    offsets: *const isize,
    strides: *const c_int
)
[src]

glVertexArrayVertexBuffers

  • vaobj class: vertex array
  • buffers class: buffer

pub unsafe fn VertexAttrib1d(&self, index: c_uint, x: c_double)[src]

glVertexAttrib1d

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

glVertexAttrib1dv

pub unsafe fn VertexAttrib1f(&self, index: c_uint, x: c_float)[src]

glVertexAttrib1f

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

glVertexAttrib1fv

pub unsafe fn VertexAttrib1s(&self, index: c_uint, x: i16)[src]

glVertexAttrib1s

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

glVertexAttrib1sv

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

glVertexAttrib2d

pub unsafe fn VertexAttrib2dv(&self, index: c_uint, v: *const [c_double; 2])[src]

glVertexAttrib2dv

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

glVertexAttrib2f

pub unsafe fn VertexAttrib2fv(&self, index: c_uint, v: *const [c_float; 2])[src]

glVertexAttrib2fv

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

glVertexAttrib2s

pub unsafe fn VertexAttrib2sv(&self, index: c_uint, v: *const [i16; 2])[src]

glVertexAttrib2sv

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

glVertexAttrib3d

pub unsafe fn VertexAttrib3dv(&self, index: c_uint, v: *const [c_double; 3])[src]

glVertexAttrib3dv

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

glVertexAttrib3f

pub unsafe fn VertexAttrib3fv(&self, index: c_uint, v: *const [c_float; 3])[src]

glVertexAttrib3fv

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

glVertexAttrib3s

pub unsafe fn VertexAttrib3sv(&self, index: c_uint, v: *const [i16; 3])[src]

glVertexAttrib3sv

pub unsafe fn VertexAttrib4Nbv(&self, index: c_uint, v: *const [i8; 4])[src]

glVertexAttrib4Nbv

pub unsafe fn VertexAttrib4Niv(&self, index: c_uint, v: *const [c_int; 4])[src]

glVertexAttrib4Niv

pub unsafe fn VertexAttrib4Nsv(&self, index: c_uint, v: *const [i16; 4])[src]

glVertexAttrib4Nsv

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

glVertexAttrib4Nub

pub unsafe fn VertexAttrib4Nubv(&self, index: c_uint, v: *const [u8; 4])[src]

glVertexAttrib4Nubv

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

glVertexAttrib4Nuiv

pub unsafe fn VertexAttrib4Nusv(&self, index: c_uint, v: *const [u16; 4])[src]

glVertexAttrib4Nusv

pub unsafe fn VertexAttrib4bv(&self, index: c_uint, v: *const [i8; 4])[src]

glVertexAttrib4bv

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

glVertexAttrib4d

pub unsafe fn VertexAttrib4dv(&self, index: c_uint, v: *const [c_double; 4])[src]

glVertexAttrib4dv

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

glVertexAttrib4f

pub unsafe fn VertexAttrib4fv(&self, index: c_uint, v: *const [c_float; 4])[src]

glVertexAttrib4fv

pub unsafe fn VertexAttrib4iv(&self, index: c_uint, v: *const [c_int; 4])[src]

glVertexAttrib4iv

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

glVertexAttrib4s

pub unsafe fn VertexAttrib4sv(&self, index: c_uint, v: *const [i16; 4])[src]

glVertexAttrib4sv

pub unsafe fn VertexAttrib4ubv(&self, index: c_uint, v: *const [u8; 4])[src]

glVertexAttrib4ubv

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

glVertexAttrib4uiv

pub unsafe fn VertexAttrib4usv(&self, index: c_uint, v: *const [u16; 4])[src]

glVertexAttrib4usv

pub unsafe fn VertexAttribBinding(
    &self,
    attribindex: c_uint,
    bindingindex: c_uint
)
[src]

glVertexAttribBinding

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

glVertexAttribDivisor

pub unsafe fn VertexAttribFormat(
    &self,
    attribindex: c_uint,
    size: c_int,
    type_: VertexAttribType,
    normalized: c_uchar,
    relativeoffset: c_uint
)
[src]

glVertexAttribFormat

  • type group: VertexAttribType
  • normalized group: Boolean

pub unsafe fn VertexAttribI1i(&self, index: c_uint, x: c_int)[src]

glVertexAttribI1i

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

glVertexAttribI1iv

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

glVertexAttribI1ui

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

glVertexAttribI1uiv

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

glVertexAttribI2i

pub unsafe fn VertexAttribI2iv(&self, index: c_uint, v: *const [c_int; 2])[src]

glVertexAttribI2iv

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

glVertexAttribI2ui

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

glVertexAttribI2uiv

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

glVertexAttribI3i

pub unsafe fn VertexAttribI3iv(&self, index: c_uint, v: *const [c_int; 3])[src]

glVertexAttribI3iv

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

glVertexAttribI3ui

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

glVertexAttribI3uiv

pub unsafe fn VertexAttribI4bv(&self, index: c_uint, v: *const [i8; 4])[src]

glVertexAttribI4bv

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

glVertexAttribI4i

pub unsafe fn VertexAttribI4iv(&self, index: c_uint, v: *const [c_int; 4])[src]

glVertexAttribI4iv

pub unsafe fn VertexAttribI4sv(&self, index: c_uint, v: *const [i16; 4])[src]

glVertexAttribI4sv

pub unsafe fn VertexAttribI4ubv(&self, index: c_uint, v: *const [u8; 4])[src]

glVertexAttribI4ubv

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

glVertexAttribI4ui

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

glVertexAttribI4uiv

pub unsafe fn VertexAttribI4usv(&self, index: c_uint, v: *const [u16; 4])[src]

glVertexAttribI4usv

pub unsafe fn VertexAttribIFormat(
    &self,
    attribindex: c_uint,
    size: c_int,
    type_: VertexAttribIType,
    relativeoffset: c_uint
)
[src]

glVertexAttribIFormat

  • type group: VertexAttribIType

pub unsafe fn VertexAttribIPointer(
    &self,
    index: c_uint,
    size: c_int,
    type_: VertexAttribIType,
    stride: c_int,
    pointer: *const c_void
)
[src]

glVertexAttribIPointer

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

pub unsafe fn VertexAttribL1d(&self, index: c_uint, x: c_double)[src]

glVertexAttribL1d

pub unsafe fn VertexAttribL1dv(&self, index: c_uint, v: *const c_double)[src]

glVertexAttribL1dv

pub unsafe fn VertexAttribL2d(&self, index: c_uint, x: c_double, y: c_double)[src]

glVertexAttribL2d

pub unsafe fn VertexAttribL2dv(&self, index: c_uint, v: *const [c_double; 2])[src]

glVertexAttribL2dv

pub unsafe fn VertexAttribL3d(
    &self,
    index: c_uint,
    x: c_double,
    y: c_double,
    z: c_double
)
[src]

glVertexAttribL3d

pub unsafe fn VertexAttribL3dv(&self, index: c_uint, v: *const [c_double; 3])[src]

glVertexAttribL3dv

pub unsafe fn VertexAttribL4d(
    &self,
    index: c_uint,
    x: c_double,
    y: c_double,
    z: c_double,
    w: c_double
)
[src]

glVertexAttribL4d

pub unsafe fn VertexAttribL4dv(&self, index: c_uint, v: *const [c_double; 4])[src]

glVertexAttribL4dv

pub unsafe fn VertexAttribLFormat(
    &self,
    attribindex: c_uint,
    size: c_int,
    type_: VertexAttribLType,
    relativeoffset: c_uint
)
[src]

glVertexAttribLFormat

  • type group: VertexAttribLType

pub unsafe fn VertexAttribLPointer(
    &self,
    index: c_uint,
    size: c_int,
    type_: VertexAttribLType,
    stride: c_int,
    pointer: *const c_void
)
[src]

glVertexAttribLPointer

  • type group: VertexAttribLType
  • pointer len: size

pub unsafe fn VertexAttribP1ui(
    &self,
    index: c_uint,
    type_: VertexAttribPointerType,
    normalized: c_uchar,
    value: c_uint
)
[src]

glVertexAttribP1ui

  • type group: VertexAttribPointerType
  • normalized group: Boolean

pub unsafe fn VertexAttribP1uiv(
    &self,
    index: c_uint,
    type_: VertexAttribPointerType,
    normalized: c_uchar,
    value: *const c_uint
)
[src]

glVertexAttribP1uiv

  • type group: VertexAttribPointerType
  • normalized group: Boolean

pub unsafe fn VertexAttribP2ui(
    &self,
    index: c_uint,
    type_: VertexAttribPointerType,
    normalized: c_uchar,
    value: c_uint
)
[src]

glVertexAttribP2ui

  • type group: VertexAttribPointerType
  • normalized group: Boolean

pub unsafe fn VertexAttribP2uiv(
    &self,
    index: c_uint,
    type_: VertexAttribPointerType,
    normalized: c_uchar,
    value: *const c_uint
)
[src]

glVertexAttribP2uiv

  • type group: VertexAttribPointerType
  • normalized group: Boolean

pub unsafe fn VertexAttribP3ui(
    &self,
    index: c_uint,
    type_: VertexAttribPointerType,
    normalized: c_uchar,
    value: c_uint
)
[src]

glVertexAttribP3ui

  • type group: VertexAttribPointerType
  • normalized group: Boolean

pub unsafe fn VertexAttribP3uiv(
    &self,
    index: c_uint,
    type_: VertexAttribPointerType,
    normalized: c_uchar,
    value: *const c_uint
)
[src]

glVertexAttribP3uiv

  • type group: VertexAttribPointerType
  • normalized group: Boolean

pub unsafe fn VertexAttribP4ui(
    &self,
    index: c_uint,
    type_: VertexAttribPointerType,
    normalized: c_uchar,
    value: c_uint
)
[src]

glVertexAttribP4ui

  • type group: VertexAttribPointerType
  • normalized group: Boolean

pub unsafe fn VertexAttribP4uiv(
    &self,
    index: c_uint,
    type_: VertexAttribPointerType,
    normalized: c_uchar,
    value: *const c_uint
)
[src]

glVertexAttribP4uiv

  • type group: VertexAttribPointerType
  • normalized group: Boolean

pub unsafe fn VertexAttribPointer(
    &self,
    index: c_uint,
    size: c_int,
    type_: VertexAttribPointerType,
    normalized: c_uchar,
    stride: c_int,
    pointer: *const c_void
)
[src]

glVertexAttribPointer

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

pub unsafe fn VertexBindingDivisor(&self, bindingindex: c_uint, divisor: c_uint)[src]

glVertexBindingDivisor

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

glViewport

  • x group: WinCoord
  • y group: WinCoord

pub unsafe fn ViewportArrayv(
    &self,
    first: c_uint,
    count: c_int,
    v: *const c_float
)
[src]

glViewportArrayv

  • v len: COMPSIZE(count)

pub unsafe fn ViewportIndexedf(
    &self,
    index: c_uint,
    x: c_float,
    y: c_float,
    w: c_float,
    h: c_float
)
[src]

glViewportIndexedf

pub unsafe fn ViewportIndexedfv(&self, index: c_uint, v: *const [c_float; 4])[src]

glViewportIndexedfv

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

glWaitSync

  • sync group: sync
  • sync class: sync
  • flags group: SyncBehaviorFlags

pub unsafe fn GetImageHandleARB(
    &self,
    texture: c_uint,
    level: c_int,
    layered: c_uchar,
    layer: c_int,
    format: PixelFormat
) -> u64
[src]

glGetImageHandleARB

  • texture class: texture
  • layered group: Boolean
  • format group: PixelFormat

pub unsafe fn GetTextureHandleARB(&self, texture: c_uint) -> u64[src]

glGetTextureHandleARB

  • texture class: texture

pub unsafe fn GetTextureSamplerHandleARB(
    &self,
    texture: c_uint,
    sampler: c_uint
) -> u64
[src]

glGetTextureSamplerHandleARB

  • texture class: texture
  • sampler class: sampler

pub unsafe fn GetVertexAttribLui64vARB(
    &self,
    index: c_uint,
    pname: VertexAttribEnum,
    params: *mut u64
)
[src]

glGetVertexAttribLui64vARB

  • pname group: VertexAttribEnum

pub unsafe fn IsImageHandleResidentARB(&self, handle: u64) -> c_uchar[src]

glIsImageHandleResidentARB

pub unsafe fn IsTextureHandleResidentARB(&self, handle: u64) -> c_uchar[src]

glIsTextureHandleResidentARB

pub unsafe fn MakeImageHandleNonResidentARB(&self, handle: u64)[src]

glMakeImageHandleNonResidentARB

pub unsafe fn MakeImageHandleResidentARB(&self, handle: u64, access: GLenum)[src]

glMakeImageHandleResidentARB

pub unsafe fn MakeTextureHandleNonResidentARB(&self, handle: u64)[src]

glMakeTextureHandleNonResidentARB

pub unsafe fn MakeTextureHandleResidentARB(&self, handle: u64)[src]

glMakeTextureHandleResidentARB

pub unsafe fn ProgramUniformHandleui64ARB(
    &self,
    program: c_uint,
    location: c_int,
    value: u64
)
[src]

glProgramUniformHandleui64ARB

  • program class: program

pub unsafe fn ProgramUniformHandleui64vARB(
    &self,
    program: c_uint,
    location: c_int,
    count: c_int,
    values: *const u64
)
[src]

glProgramUniformHandleui64vARB

  • program class: program
  • values len: count

pub unsafe fn TexPageCommitmentARB(
    &self,
    target: GLenum,
    level: c_int,
    xoffset: c_int,
    yoffset: c_int,
    zoffset: c_int,
    width: c_int,
    height: c_int,
    depth: c_int,
    commit: c_uchar
)
[src]

glTexPageCommitmentARB

  • commit group: Boolean

pub unsafe fn UniformHandleui64ARB(&self, location: c_int, value: u64)[src]

glUniformHandleui64ARB

pub unsafe fn UniformHandleui64vARB(
    &self,
    location: c_int,
    count: c_int,
    value: *const u64
)
[src]

glUniformHandleui64vARB

  • value len: count

pub unsafe fn VertexAttribL1ui64ARB(&self, index: c_uint, x: u64)[src]

glVertexAttribL1ui64ARB

pub unsafe fn VertexAttribL1ui64vARB(&self, index: c_uint, v: *const u64)[src]

glVertexAttribL1ui64vARB

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.