Struct gl46::GlFns [−][src]
Implementations
impl GlFns
[src]
pub unsafe fn load_from(
f: &dyn Fn(*const u8) -> *const c_void
) -> Result<Self, &'static str>
[src]
f: &dyn Fn(*const u8) -> *const c_void
) -> Result<Self, &'static str>
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 pipelineprogram
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]
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]
&self,
id: c_uint,
mode: ConditionalRenderMode
)
glBeginConditionalRender
mode
group: ConditionalRenderMode
pub unsafe fn BeginQuery(&self, target: QueryTarget, id: c_uint)
[src]
glBeginQuery
target
group: QueryTargetid
class: query
pub unsafe fn BeginQueryIndexed(
&self,
target: QueryTarget,
index: c_uint,
id: c_uint
)
[src]
&self,
target: QueryTarget,
index: c_uint,
id: c_uint
)
glBeginQueryIndexed
target
group: QueryTargetid
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]
&self,
program: c_uint,
index: c_uint,
name: *const u8
)
glBindAttribLocation
program
class: program
pub unsafe fn BindBuffer(&self, target: BufferTargetARB, buffer: c_uint)
[src]
glBindBuffer
target
group: BufferTargetARBbuffer
class: buffer
pub unsafe fn BindBufferBase(
&self,
target: BufferTargetARB,
index: c_uint,
buffer: c_uint
)
[src]
&self,
target: BufferTargetARB,
index: c_uint,
buffer: c_uint
)
glBindBufferBase
target
group: BufferTargetARBbuffer
class: buffer
pub unsafe fn BindBufferRange(
&self,
target: BufferTargetARB,
index: c_uint,
buffer: c_uint,
offset: isize,
size: isize
)
[src]
&self,
target: BufferTargetARB,
index: c_uint,
buffer: c_uint,
offset: isize,
size: isize
)
glBindBufferRange
target
group: BufferTargetARBbuffer
class: bufferoffset
group: BufferOffsetsize
group: BufferSize
pub unsafe fn BindBuffersBase(
&self,
target: BufferTargetARB,
first: c_uint,
count: c_int,
buffers: *const c_uint
)
[src]
&self,
target: BufferTargetARB,
first: c_uint,
count: c_int,
buffers: *const c_uint
)
glBindBuffersBase
target
group: BufferTargetARBbuffers
class: bufferbuffers
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]
&self,
target: BufferTargetARB,
first: c_uint,
count: c_int,
buffers: *const c_uint,
offsets: *const isize,
sizes: *const isize
)
glBindBuffersRange
target
group: BufferTargetARBbuffers
class: bufferbuffers
len: countoffsets
len: countsizes
len: count
pub unsafe fn BindFragDataLocation(
&self,
program: c_uint,
color: c_uint,
name: *const u8
)
[src]
&self,
program: c_uint,
color: c_uint,
name: *const u8
)
glBindFragDataLocation
program
class: programname
len: COMPSIZE(name)
pub unsafe fn BindFragDataLocationIndexed(
&self,
program: c_uint,
colorNumber: c_uint,
index: c_uint,
name: *const u8
)
[src]
&self,
program: c_uint,
colorNumber: c_uint,
index: c_uint,
name: *const u8
)
glBindFragDataLocationIndexed
program
class: program
pub unsafe fn BindFramebuffer(
&self,
target: FramebufferTarget,
framebuffer: c_uint
)
[src]
&self,
target: FramebufferTarget,
framebuffer: c_uint
)
glBindFramebuffer
target
group: FramebufferTargetframebuffer
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]
&self,
unit: c_uint,
texture: c_uint,
level: c_int,
layered: c_uchar,
layer: c_int,
access: BufferAccessARB,
format: InternalFormat
)
glBindImageTexture
texture
class: texturelayered
group: Booleanaccess
group: BufferAccessARBformat
group: InternalFormat
pub unsafe fn BindImageTextures(
&self,
first: c_uint,
count: c_int,
textures: *const c_uint
)
[src]
&self,
first: c_uint,
count: c_int,
textures: *const c_uint
)
glBindImageTextures
textures
class: texturetextures
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]
&self,
target: RenderbufferTarget,
renderbuffer: c_uint
)
glBindRenderbuffer
target
group: RenderbufferTargetrenderbuffer
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]
&self,
first: c_uint,
count: c_int,
samplers: *const c_uint
)
glBindSamplers
samplers
class: samplersamplers
len: count
pub unsafe fn BindTexture(&self, target: TextureTarget, texture: c_uint)
[src]
glBindTexture
target
group: TextureTargettexture
group: Texturetexture
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]
&self,
first: c_uint,
count: c_int,
textures: *const c_uint
)
glBindTextures
textures
class: texturetextures
len: count
pub unsafe fn BindTransformFeedback(
&self,
target: BindTransformFeedbackTarget,
id: c_uint
)
[src]
&self,
target: BindTransformFeedbackTarget,
id: c_uint
)
glBindTransformFeedback
target
group: BindTransformFeedbackTargetid
class: transform feedback
pub fn BindVertexArray(&self, array: c_uint)
[src]
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]
&self,
bindingindex: c_uint,
buffer: c_uint,
offset: isize,
stride: c_int
)
glBindVertexBuffer
buffer
class: bufferoffset
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]
&self,
first: c_uint,
count: c_int,
buffers: *const c_uint,
offsets: *const isize,
strides: *const c_int
)
glBindVertexBuffers
buffers
class: bufferbuffers
len: countoffsets
len: countstrides
len: count
pub unsafe fn BlendColor(
&self,
red: c_float,
green: c_float,
blue: c_float,
alpha: c_float
)
[src]
&self,
red: c_float,
green: c_float,
blue: c_float,
alpha: c_float
)
glBlendColor
red
group: ColorFgreen
group: ColorFblue
group: ColorFalpha
group: ColorF
pub unsafe fn BlendEquation(&self, mode: BlendEquationModeEXT)
[src]
glBlendEquation
mode
group: BlendEquationModeEXT
pub unsafe fn BlendEquationSeparate(
&self,
modeRGB: BlendEquationModeEXT,
modeAlpha: BlendEquationModeEXT
)
[src]
&self,
modeRGB: BlendEquationModeEXT,
modeAlpha: BlendEquationModeEXT
)
glBlendEquationSeparate
modeRGB
group: BlendEquationModeEXTmodeAlpha
group: BlendEquationModeEXT
pub unsafe fn BlendEquationSeparatei(
&self,
buf: c_uint,
modeRGB: BlendEquationModeEXT,
modeAlpha: BlendEquationModeEXT
)
[src]
&self,
buf: c_uint,
modeRGB: BlendEquationModeEXT,
modeAlpha: BlendEquationModeEXT
)
glBlendEquationSeparatei
modeRGB
group: BlendEquationModeEXTmodeAlpha
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: BlendingFactordfactor
group: BlendingFactor
pub unsafe fn BlendFuncSeparate(
&self,
sfactorRGB: BlendingFactor,
dfactorRGB: BlendingFactor,
sfactorAlpha: BlendingFactor,
dfactorAlpha: BlendingFactor
)
[src]
&self,
sfactorRGB: BlendingFactor,
dfactorRGB: BlendingFactor,
sfactorAlpha: BlendingFactor,
dfactorAlpha: BlendingFactor
)
glBlendFuncSeparate
sfactorRGB
group: BlendingFactordfactorRGB
group: BlendingFactorsfactorAlpha
group: BlendingFactordfactorAlpha
group: BlendingFactor
pub unsafe fn BlendFuncSeparatei(
&self,
buf: c_uint,
srcRGB: BlendingFactor,
dstRGB: BlendingFactor,
srcAlpha: BlendingFactor,
dstAlpha: BlendingFactor
)
[src]
&self,
buf: c_uint,
srcRGB: BlendingFactor,
dstRGB: BlendingFactor,
srcAlpha: BlendingFactor,
dstAlpha: BlendingFactor
)
glBlendFuncSeparatei
srcRGB
group: BlendingFactordstRGB
group: BlendingFactorsrcAlpha
group: BlendingFactordstAlpha
group: BlendingFactor
pub unsafe fn BlendFunci(
&self,
buf: c_uint,
src: BlendingFactor,
dst: BlendingFactor
)
[src]
&self,
buf: c_uint,
src: BlendingFactor,
dst: BlendingFactor
)
glBlendFunci
src
group: BlendingFactordst
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]
&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
)
glBlitFramebuffer
mask
group: ClearBufferMaskfilter
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]
&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
)
glBlitNamedFramebuffer
readFramebuffer
class: framebufferdrawFramebuffer
class: framebuffermask
group: ClearBufferMaskfilter
group: BlitFramebufferFilter
pub unsafe fn BufferData(
&self,
target: BufferTargetARB,
size: isize,
data: *const c_void,
usage: BufferUsageARB
)
[src]
&self,
target: BufferTargetARB,
size: isize,
data: *const c_void,
usage: BufferUsageARB
)
glBufferData
target
group: BufferTargetARBsize
group: BufferSizedata
len: sizeusage
group: BufferUsageARB
pub unsafe fn BufferStorage(
&self,
target: BufferStorageTarget,
size: isize,
data: *const c_void,
flags: GLbitfield
)
[src]
&self,
target: BufferStorageTarget,
size: isize,
data: *const c_void,
flags: GLbitfield
)
glBufferStorage
target
group: BufferStorageTargetdata
len: sizeflags
group: BufferStorageMask
pub unsafe fn BufferSubData(
&self,
target: BufferTargetARB,
offset: isize,
size: isize,
data: *const c_void
)
[src]
&self,
target: BufferTargetARB,
offset: isize,
size: isize,
data: *const c_void
)
glBufferSubData
target
group: BufferTargetARBoffset
group: BufferOffsetsize
group: BufferSizedata
len: size
pub unsafe fn CheckFramebufferStatus(
&self,
target: FramebufferTarget
) -> FramebufferStatus
[src]
&self,
target: FramebufferTarget
) -> FramebufferStatus
glCheckFramebufferStatus
target
group: FramebufferTarget
pub unsafe fn CheckNamedFramebufferStatus(
&self,
framebuffer: c_uint,
target: FramebufferTarget
) -> FramebufferStatus
[src]
&self,
framebuffer: c_uint,
target: FramebufferTarget
) -> FramebufferStatus
glCheckNamedFramebufferStatus
framebuffer
class: framebuffertarget
group: FramebufferTarget
pub unsafe fn ClampColor(
&self,
target: ClampColorTargetARB,
clamp: ClampColorModeARB
)
[src]
&self,
target: ClampColorTargetARB,
clamp: ClampColorModeARB
)
glClampColor
target
group: ClampColorTargetARBclamp
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]
&self,
target: BufferStorageTarget,
internalformat: InternalFormat,
format: PixelFormat,
type_: PixelType,
data: *const c_void
)
glClearBufferData
target
group: BufferStorageTargetinternalformat
group: InternalFormatformat
group: PixelFormattype
group: PixelTypedata
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]
&self,
target: BufferTargetARB,
internalformat: InternalFormat,
offset: isize,
size: isize,
format: PixelFormat,
type_: PixelType,
data: *const c_void
)
glClearBufferSubData
target
group: BufferTargetARBinternalformat
group: InternalFormatoffset
group: BufferOffsetsize
group: BufferSizeformat
group: PixelFormattype
group: PixelTypedata
len: COMPSIZE(format,type)
pub unsafe fn ClearBufferfi(
&self,
buffer: Buffer,
drawbuffer: c_int,
depth: c_float,
stencil: c_int
)
[src]
&self,
buffer: Buffer,
drawbuffer: c_int,
depth: c_float,
stencil: c_int
)
glClearBufferfi
buffer
group: Bufferdrawbuffer
group: DrawBufferName
pub unsafe fn ClearBufferfv(
&self,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_float
)
[src]
&self,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_float
)
Clears a specified buffer of the currently bound draw framebuffer object to a specified value.
- If
buffer
isGL_COLOR
, a particular draw bufferGL_DRAW_BUFFERi
is specified by passingi
asdrawbuffer
(eg: to affectGL_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 ofGL_DRAW_BUFFERi
isGL_NONE
, the command has no effect. Otherwise, the value ofGL_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 forglClearColor
. - If
buffer
isGL_DEPTH
,drawbuffer
must be zero, andvalue
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 forglClearDepth
.
Errors
GL_INVALID_ENUM
is generated ifbuffer
is notGL_COLOR
orGL_DEPTH
.
pub unsafe fn ClearBufferiv(
&self,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_int
)
[src]
&self,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_int
)
glClearBufferiv
buffer
group: Bufferdrawbuffer
group: DrawBufferNamevalue
len: COMPSIZE(buffer)
pub unsafe fn ClearBufferuiv(
&self,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_uint
)
[src]
&self,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_uint
)
glClearBufferuiv
buffer
group: Bufferdrawbuffer
group: DrawBufferNamevalue
len: COMPSIZE(buffer)
pub unsafe fn ClearColor(
&self,
red: c_float,
green: c_float,
blue: c_float,
alpha: c_float
)
[src]
&self,
red: c_float,
green: c_float,
blue: c_float,
alpha: c_float
)
glClearColor
red
group: ColorFgreen
group: ColorFblue
group: ColorFalpha
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]
&self,
buffer: c_uint,
internalformat: InternalFormat,
format: PixelFormat,
type_: PixelType,
data: *const c_void
)
glClearNamedBufferData
buffer
class: bufferinternalformat
group: InternalFormatformat
group: PixelFormattype
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]
&self,
buffer: c_uint,
internalformat: InternalFormat,
offset: isize,
size: isize,
format: PixelFormat,
type_: PixelType,
data: *const c_void
)
glClearNamedBufferSubData
buffer
class: bufferinternalformat
group: InternalFormatsize
group: BufferSizeformat
group: PixelFormattype
group: PixelType
pub unsafe fn ClearNamedFramebufferfi(
&self,
framebuffer: c_uint,
buffer: Buffer,
drawbuffer: c_int,
depth: c_float,
stencil: c_int
)
[src]
&self,
framebuffer: c_uint,
buffer: Buffer,
drawbuffer: c_int,
depth: c_float,
stencil: c_int
)
glClearNamedFramebufferfi
framebuffer
class: framebufferbuffer
group: Buffer
pub unsafe fn ClearNamedFramebufferfv(
&self,
framebuffer: c_uint,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_float
)
[src]
&self,
framebuffer: c_uint,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_float
)
glClearNamedFramebufferfv
framebuffer
class: framebufferbuffer
group: Buffer
pub unsafe fn ClearNamedFramebufferiv(
&self,
framebuffer: c_uint,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_int
)
[src]
&self,
framebuffer: c_uint,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_int
)
glClearNamedFramebufferiv
framebuffer
class: framebufferbuffer
group: Buffer
pub unsafe fn ClearNamedFramebufferuiv(
&self,
framebuffer: c_uint,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_uint
)
[src]
&self,
framebuffer: c_uint,
buffer: Buffer,
drawbuffer: c_int,
value: *const c_uint
)
glClearNamedFramebufferuiv
framebuffer
class: framebufferbuffer
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]
&self,
texture: c_uint,
level: c_int,
format: PixelFormat,
type_: PixelType,
data: *const c_void
)
glClearTexImage
texture
class: textureformat
group: PixelFormattype
group: PixelTypedata
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]
&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
)
glClearTexSubImage
texture
class: textureformat
group: PixelFormattype
group: PixelTypedata
len: COMPSIZE(format,type)
pub unsafe fn ClientWaitSync(
&self,
sync: GLsync,
flags: GLbitfield,
timeout: u64
) -> SyncStatus
[src]
&self,
sync: GLsync,
flags: GLbitfield,
timeout: u64
) -> SyncStatus
glClientWaitSync
sync
group: syncsync
class: syncflags
group: SyncObjectMask
pub unsafe fn ClipControl(
&self,
origin: ClipControlOrigin,
depth: ClipControlDepth
)
[src]
&self,
origin: ClipControlOrigin,
depth: ClipControlDepth
)
glClipControl
origin
group: ClipControlOrigindepth
group: ClipControlDepth
pub unsafe fn ColorMask(
&self,
red: c_uchar,
green: c_uchar,
blue: c_uchar,
alpha: c_uchar
)
[src]
&self,
red: c_uchar,
green: c_uchar,
blue: c_uchar,
alpha: c_uchar
)
glColorMask
red
group: Booleangreen
group: Booleanblue
group: Booleanalpha
group: Boolean
pub unsafe fn ColorMaski(
&self,
index: c_uint,
r: c_uchar,
g: c_uchar,
b: c_uchar,
a: c_uchar
)
[src]
&self,
index: c_uint,
r: c_uchar,
g: c_uchar,
b: c_uchar,
a: c_uchar
)
glColorMaski
r
group: Booleang
group: Booleanb
group: Booleana
group: Boolean
pub fn CompileShader(&self, shader: c_uint)
[src]
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]
&self,
target: TextureTarget,
level: c_int,
internalformat: InternalFormat,
width: c_int,
border: c_int,
imageSize: c_int,
data: *const c_void
)
glCompressedTexImage1D
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32data
group: CompressedTextureARBdata
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]
&self,
target: TextureTarget,
level: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
border: c_int,
imageSize: c_int,
data: *const c_void
)
glCompressedTexImage2D
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32data
group: CompressedTextureARBdata
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]
&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
)
glCompressedTexImage3D
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32data
group: CompressedTextureARBdata
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]
&self,
target: TextureTarget,
level: c_int,
xoffset: c_int,
width: c_int,
format: PixelFormat,
imageSize: c_int,
data: *const c_void
)
glCompressedTexSubImage1D
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32format
group: PixelFormatdata
group: CompressedTextureARBdata
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]
&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
)
glCompressedTexSubImage2D
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32format
group: PixelFormatdata
group: CompressedTextureARBdata
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]
&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
)
glCompressedTexSubImage3D
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32zoffset
group: CheckedInt32format
group: PixelFormatdata
group: CompressedTextureARBdata
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]
&self,
texture: c_uint,
level: c_int,
xoffset: c_int,
width: c_int,
format: PixelFormat,
imageSize: c_int,
data: *const c_void
)
glCompressedTextureSubImage1D
texture
class: textureformat
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]
&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
)
glCompressedTextureSubImage2D
texture
class: textureformat
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]
&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
)
glCompressedTextureSubImage3D
texture
class: textureformat
group: PixelFormat
pub unsafe fn CopyBufferSubData(
&self,
readTarget: CopyBufferSubDataTarget,
writeTarget: CopyBufferSubDataTarget,
readOffset: isize,
writeOffset: isize,
size: isize
)
[src]
&self,
readTarget: CopyBufferSubDataTarget,
writeTarget: CopyBufferSubDataTarget,
readOffset: isize,
writeOffset: isize,
size: isize
)
glCopyBufferSubData
readTarget
group: CopyBufferSubDataTargetwriteTarget
group: CopyBufferSubDataTargetreadOffset
group: BufferOffsetwriteOffset
group: BufferOffsetsize
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]
&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
)
glCopyImageSubData
srcTarget
group: CopyImageSubDataTargetdstTarget
group: CopyImageSubDataTarget
pub unsafe fn CopyNamedBufferSubData(
&self,
readBuffer: c_uint,
writeBuffer: c_uint,
readOffset: isize,
writeOffset: isize,
size: isize
)
[src]
&self,
readBuffer: c_uint,
writeBuffer: c_uint,
readOffset: isize,
writeOffset: isize,
size: isize
)
glCopyNamedBufferSubData
readBuffer
class: bufferwriteBuffer
class: buffersize
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]
&self,
target: TextureTarget,
level: c_int,
internalformat: InternalFormat,
x: c_int,
y: c_int,
width: c_int,
border: c_int
)
glCopyTexImage1D
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatx
group: WinCoordy
group: WinCoordborder
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]
&self,
target: TextureTarget,
level: c_int,
internalformat: InternalFormat,
x: c_int,
y: c_int,
width: c_int,
height: c_int,
border: c_int
)
glCopyTexImage2D
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatx
group: WinCoordy
group: WinCoordborder
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]
&self,
target: TextureTarget,
level: c_int,
xoffset: c_int,
x: c_int,
y: c_int,
width: c_int
)
glCopyTexSubImage1D
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32x
group: WinCoordy
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]
&self,
target: TextureTarget,
level: c_int,
xoffset: c_int,
yoffset: c_int,
x: c_int,
y: c_int,
width: c_int,
height: c_int
)
glCopyTexSubImage2D
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32x
group: WinCoordy
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]
&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
)
glCopyTexSubImage3D
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32zoffset
group: CheckedInt32x
group: WinCoordy
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]
&self,
texture: c_uint,
level: c_int,
xoffset: c_int,
x: c_int,
y: c_int,
width: c_int
)
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]
&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
)
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]
&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
)
glCopyTextureSubImage3D
texture
class: texture
pub unsafe fn CreateBuffers(&self, n: c_int, buffers: *mut c_uint)
[src]
glCreateBuffers
buffers
class: bufferbuffers
len: n
pub unsafe fn CreateFramebuffers(&self, n: c_int, framebuffers: *mut c_uint)
[src]
glCreateFramebuffers
framebuffers
class: framebufferframebuffers
len: n
pub fn CreateProgram(&self) -> c_uint
[src]
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 pipelinepipelines
len: n
pub unsafe fn CreateQueries(
&self,
target: QueryTarget,
n: c_int,
ids: *mut c_uint
)
[src]
&self,
target: QueryTarget,
n: c_int,
ids: *mut c_uint
)
glCreateQueries
target
group: QueryTargetids
class: queryids
len: n
pub unsafe fn CreateRenderbuffers(&self, n: c_int, renderbuffers: *mut c_uint)
[src]
glCreateRenderbuffers
renderbuffers
class: renderbufferrenderbuffers
len: n
pub unsafe fn CreateSamplers(&self, n: c_int, samplers: *mut c_uint)
[src]
glCreateSamplers
samplers
class: samplersamplers
len: n
pub fn CreateShader(&self, type_: ShaderType) -> c_uint
[src]
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]
&self,
type_: ShaderType,
count: c_int,
strings: *const *const u8
) -> c_uint
glCreateShaderProgramv
type
group: ShaderTypestrings
len: count
pub unsafe fn CreateTextures(
&self,
target: TextureTarget,
n: c_int,
textures: *mut c_uint
)
[src]
&self,
target: TextureTarget,
n: c_int,
textures: *mut c_uint
)
glCreateTextures
target
group: TextureTargettextures
class: texturetextures
len: n
pub unsafe fn CreateTransformFeedbacks(&self, n: c_int, ids: *mut c_uint)
[src]
glCreateTransformFeedbacks
ids
class: transform feedbackids
len: n
pub unsafe fn CreateVertexArrays(&self, n: c_int, arrays: *mut c_uint)
[src]
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]
&self,
callback: GLDEBUGPROC,
userParam: *const c_void
)
glDebugMessageCallback
pub unsafe fn DebugMessageControl(
&self,
source: DebugSource,
type_: DebugType,
severity: DebugSeverity,
count: c_int,
ids: *const c_uint,
enabled: c_uchar
)
[src]
&self,
source: DebugSource,
type_: DebugType,
severity: DebugSeverity,
count: c_int,
ids: *const c_uint,
enabled: c_uchar
)
glDebugMessageControl
source
group: DebugSourcetype
group: DebugTypeseverity
group: DebugSeverityids
len: countenabled
group: Boolean
pub unsafe fn DebugMessageInsert(
&self,
source: DebugSource,
type_: DebugType,
id: c_uint,
severity: DebugSeverity,
length: c_int,
buf: *const u8
)
[src]
&self,
source: DebugSource,
type_: DebugType,
id: c_uint,
severity: DebugSeverity,
length: c_int,
buf: *const u8
)
glDebugMessageInsert
source
group: DebugSourcetype
group: DebugTypeseverity
group: DebugSeveritybuf
len: COMPSIZE(buf,length)
pub unsafe fn DeleteBuffers(&self, n: c_int, buffers: *const c_uint)
[src]
glDeleteBuffers
buffers
class: bufferbuffers
len: n
pub unsafe fn DeleteFramebuffers(&self, n: c_int, framebuffers: *const c_uint)
[src]
glDeleteFramebuffers
framebuffers
class: framebufferframebuffers
len: n
pub fn DeleteProgram(&self, program: c_uint)
[src]
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 pipelinepipelines
len: n
pub unsafe fn DeleteQueries(&self, n: c_int, ids: *const c_uint)
[src]
glDeleteQueries
ids
class: queryids
len: n
pub unsafe fn DeleteRenderbuffers(&self, n: c_int, renderbuffers: *const c_uint)
[src]
glDeleteRenderbuffers
renderbuffers
class: renderbufferrenderbuffers
len: n
pub unsafe fn DeleteSamplers(&self, count: c_int, samplers: *const c_uint)
[src]
glDeleteSamplers
samplers
class: samplersamplers
len: count
pub fn DeleteShader(&self, shader: c_uint)
[src]
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: syncsync
class: sync
pub unsafe fn DeleteTextures(&self, n: c_int, textures: *const c_uint)
[src]
glDeleteTextures
textures
group: Texturetextures
class: texturetextures
len: n
pub unsafe fn DeleteTransformFeedbacks(&self, n: c_int, ids: *const c_uint)
[src]
glDeleteTransformFeedbacks
ids
class: transform feedbackids
len: n
pub unsafe fn DeleteVertexArrays(&self, n: c_int, arrays: *const c_uint)
[src]
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 listarrays
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]
&self,
first: c_uint,
count: c_int,
v: *const c_double
)
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: programshader
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]
&self,
num_groups_x: c_uint,
num_groups_y: c_uint,
num_groups_z: c_uint
)
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]
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]
&self,
mode: PrimitiveType,
indirect: *const c_void
)
glDrawArraysIndirect
mode
group: PrimitiveType
pub unsafe fn DrawArraysInstanced(
&self,
mode: PrimitiveType,
first: c_int,
count: c_int,
instancecount: c_int
)
[src]
&self,
mode: PrimitiveType,
first: c_int,
count: c_int,
instancecount: c_int
)
glDrawArraysInstanced
mode
group: PrimitiveType
pub unsafe fn DrawArraysInstancedBaseInstance(
&self,
mode: PrimitiveType,
first: c_int,
count: c_int,
instancecount: c_int,
baseinstance: c_uint
)
[src]
&self,
mode: PrimitiveType,
first: c_int,
count: c_int,
instancecount: c_int,
baseinstance: c_uint
)
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: DrawBufferModebufs
len: n
pub unsafe fn DrawElements(
&self,
mode: PrimitiveType,
count: c_int,
type_: DrawElementsType,
indices: *const c_void
)
[src]
&self,
mode: PrimitiveType,
count: c_int,
type_: DrawElementsType,
indices: *const c_void
)
glDrawElements
mode
group: PrimitiveTypetype
group: DrawElementsTypeindices
len: COMPSIZE(count,type)
pub unsafe fn DrawElementsBaseVertex(
&self,
mode: PrimitiveType,
count: c_int,
type_: DrawElementsType,
indices: *const c_void,
basevertex: c_int
)
[src]
&self,
mode: PrimitiveType,
count: c_int,
type_: DrawElementsType,
indices: *const c_void,
basevertex: c_int
)
glDrawElementsBaseVertex
mode
group: PrimitiveTypetype
group: DrawElementsTypeindices
len: COMPSIZE(count,type)
pub unsafe fn DrawElementsIndirect(
&self,
mode: PrimitiveType,
type_: DrawElementsType,
indirect: *const c_void
)
[src]
&self,
mode: PrimitiveType,
type_: DrawElementsType,
indirect: *const c_void
)
glDrawElementsIndirect
mode
group: PrimitiveTypetype
group: DrawElementsType
pub unsafe fn DrawElementsInstanced(
&self,
mode: PrimitiveType,
count: c_int,
type_: DrawElementsType,
indices: *const c_void,
instancecount: c_int
)
[src]
&self,
mode: PrimitiveType,
count: c_int,
type_: DrawElementsType,
indices: *const c_void,
instancecount: c_int
)
glDrawElementsInstanced
mode
group: PrimitiveTypetype
group: DrawElementsTypeindices
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]
&self,
mode: PrimitiveType,
count: c_int,
type_: PrimitiveType,
indices: *const c_void,
instancecount: c_int,
baseinstance: c_uint
)
glDrawElementsInstancedBaseInstance
mode
group: PrimitiveTypetype
group: PrimitiveTypeindices
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]
&self,
mode: PrimitiveType,
count: c_int,
type_: DrawElementsType,
indices: *const c_void,
instancecount: c_int,
basevertex: c_int
)
glDrawElementsInstancedBaseVertex
mode
group: PrimitiveTypetype
group: DrawElementsTypeindices
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]
&self,
mode: PrimitiveType,
count: c_int,
type_: DrawElementsType,
indices: *const c_void,
instancecount: c_int,
basevertex: c_int,
baseinstance: c_uint
)
glDrawElementsInstancedBaseVertexBaseInstance
mode
group: PrimitiveTypetype
group: DrawElementsTypeindices
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]
&self,
mode: PrimitiveType,
start: c_uint,
end: c_uint,
count: c_int,
type_: DrawElementsType,
indices: *const c_void
)
glDrawRangeElements
mode
group: PrimitiveTypetype
group: DrawElementsTypeindices
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]
&self,
mode: PrimitiveType,
start: c_uint,
end: c_uint,
count: c_int,
type_: DrawElementsType,
indices: *const c_void,
basevertex: c_int
)
glDrawRangeElementsBaseVertex
mode
group: PrimitiveTypetype
group: DrawElementsTypeindices
len: COMPSIZE(count,type)
pub unsafe fn DrawTransformFeedback(&self, mode: PrimitiveType, id: c_uint)
[src]
glDrawTransformFeedback
mode
group: PrimitiveTypeid
class: transform feedback
pub unsafe fn DrawTransformFeedbackInstanced(
&self,
mode: PrimitiveType,
id: c_uint,
instancecount: c_int
)
[src]
&self,
mode: PrimitiveType,
id: c_uint,
instancecount: c_int
)
glDrawTransformFeedbackInstanced
mode
group: PrimitiveTypeid
class: transform feedback
pub unsafe fn DrawTransformFeedbackStream(
&self,
mode: PrimitiveType,
id: c_uint,
stream: c_uint
)
[src]
&self,
mode: PrimitiveType,
id: c_uint,
stream: c_uint
)
glDrawTransformFeedbackStream
mode
group: PrimitiveTypeid
class: transform feedback
pub unsafe fn DrawTransformFeedbackStreamInstanced(
&self,
mode: PrimitiveType,
id: c_uint,
stream: c_uint,
instancecount: c_int
)
[src]
&self,
mode: PrimitiveType,
id: c_uint,
stream: c_uint,
instancecount: c_int
)
glDrawTransformFeedbackStreamInstanced
mode
group: PrimitiveTypeid
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]
&self,
condition: SyncCondition,
flags: GLbitfield
) -> GLsync
glFenceSync
condition
group: SyncConditionflags
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]
&self,
target: BufferTargetARB,
offset: isize,
length: isize
)
glFlushMappedBufferRange
target
group: BufferTargetARBoffset
group: BufferOffsetlength
group: BufferSize
pub unsafe fn FlushMappedNamedBufferRange(
&self,
buffer: c_uint,
offset: isize,
length: isize
)
[src]
&self,
buffer: c_uint,
offset: isize,
length: isize
)
glFlushMappedNamedBufferRange
buffer
class: bufferlength
group: BufferSize
pub unsafe fn FramebufferParameteri(
&self,
target: FramebufferTarget,
pname: FramebufferParameterName,
param: c_int
)
[src]
&self,
target: FramebufferTarget,
pname: FramebufferParameterName,
param: c_int
)
glFramebufferParameteri
target
group: FramebufferTargetpname
group: FramebufferParameterName
pub unsafe fn FramebufferRenderbuffer(
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
renderbuffertarget: RenderbufferTarget,
renderbuffer: c_uint
)
[src]
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
renderbuffertarget: RenderbufferTarget,
renderbuffer: c_uint
)
glFramebufferRenderbuffer
target
group: FramebufferTargetattachment
group: FramebufferAttachmentrenderbuffertarget
group: RenderbufferTargetrenderbuffer
class: renderbuffer
pub unsafe fn FramebufferTexture(
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
texture: c_uint,
level: c_int
)
[src]
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
texture: c_uint,
level: c_int
)
glFramebufferTexture
target
group: FramebufferTargetattachment
group: FramebufferAttachmenttexture
class: texture
pub unsafe fn FramebufferTexture1D(
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
textarget: TextureTarget,
texture: c_uint,
level: c_int
)
[src]
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
textarget: TextureTarget,
texture: c_uint,
level: c_int
)
glFramebufferTexture1D
target
group: FramebufferTargetattachment
group: FramebufferAttachmenttextarget
group: TextureTargettexture
class: texture
pub unsafe fn FramebufferTexture2D(
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
textarget: TextureTarget,
texture: c_uint,
level: c_int
)
[src]
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
textarget: TextureTarget,
texture: c_uint,
level: c_int
)
glFramebufferTexture2D
target
group: FramebufferTargetattachment
group: FramebufferAttachmenttextarget
group: TextureTargettexture
class: texture
pub unsafe fn FramebufferTexture3D(
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
textarget: TextureTarget,
texture: c_uint,
level: c_int,
zoffset: c_int
)
[src]
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
textarget: TextureTarget,
texture: c_uint,
level: c_int,
zoffset: c_int
)
glFramebufferTexture3D
target
group: FramebufferTargetattachment
group: FramebufferAttachmenttextarget
group: TextureTargettexture
class: texture
pub unsafe fn FramebufferTextureLayer(
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
texture: c_uint,
level: c_int,
layer: c_int
)
[src]
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
texture: c_uint,
level: c_int,
layer: c_int
)
glFramebufferTextureLayer
target
group: FramebufferTargetattachment
group: FramebufferAttachmenttexture
group: Texturetexture
class: texturelevel
group: CheckedInt32layer
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: bufferbuffers
len: n
pub unsafe fn GenFramebuffers(&self, n: c_int, framebuffers: *mut c_uint)
[src]
glGenFramebuffers
framebuffers
class: framebufferframebuffers
len: n
pub unsafe fn GenProgramPipelines(&self, n: c_int, pipelines: *mut c_uint)
[src]
glGenProgramPipelines
pipelines
class: program pipelinepipelines
len: n
pub unsafe fn GenQueries(&self, n: c_int, ids: *mut c_uint)
[src]
glGenQueries
ids
class: queryids
len: n
pub unsafe fn GenRenderbuffers(&self, n: c_int, renderbuffers: *mut c_uint)
[src]
glGenRenderbuffers
renderbuffers
class: renderbufferrenderbuffers
len: n
pub unsafe fn GenSamplers(&self, count: c_int, samplers: *mut c_uint)
[src]
glGenSamplers
samplers
class: samplersamplers
len: count
pub unsafe fn GenTextures(&self, n: c_int, textures: *mut c_uint)
[src]
glGenTextures
textures
group: Texturetextures
class: texturetextures
len: n
pub unsafe fn GenTransformFeedbacks(&self, n: c_int, ids: *mut c_uint)
[src]
glGenTransformFeedbacks
ids
class: transform feedbackids
len: n
pub unsafe fn GenVertexArrays(&self, n: c_int, arrays: *mut c_uint)
[src]
glGenVertexArrays
arrays
class: vertex arrayarrays
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]
&self,
program: c_uint,
bufferIndex: c_uint,
pname: AtomicCounterBufferPName,
params: *mut c_int
)
glGetActiveAtomicCounterBufferiv
program
class: programpname
group: AtomicCounterBufferPNameparams
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]
&self,
program: c_uint,
index: c_uint,
bufSize: c_int,
length: *mut c_int,
size: *mut c_int,
type_: *mut AttributeType,
name: *mut u8
)
glGetActiveAttrib
program
class: programtype
group: AttributeTypename
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]
&self,
program: c_uint,
shadertype: ShaderType,
index: c_uint,
bufSize: c_int,
length: *mut c_int,
name: *mut u8
)
glGetActiveSubroutineName
program
class: programshadertype
group: ShaderTypename
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]
&self,
program: c_uint,
shadertype: ShaderType,
index: c_uint,
bufSize: c_int,
length: *mut c_int,
name: *mut u8
)
glGetActiveSubroutineUniformName
program
class: programshadertype
group: ShaderTypename
len: bufSize
pub unsafe fn GetActiveSubroutineUniformiv(
&self,
program: c_uint,
shadertype: ShaderType,
index: c_uint,
pname: SubroutineParameterName,
values: *mut c_int
)
[src]
&self,
program: c_uint,
shadertype: ShaderType,
index: c_uint,
pname: SubroutineParameterName,
values: *mut c_int
)
glGetActiveSubroutineUniformiv
program
class: programshadertype
group: ShaderTypepname
group: SubroutineParameterNamevalues
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]
&self,
program: c_uint,
index: c_uint,
bufSize: c_int,
length: *mut c_int,
size: *mut c_int,
type_: *mut UniformType,
name: *mut u8
)
glGetActiveUniform
program
class: programtype
group: UniformTypename
len: bufSize
pub unsafe fn GetActiveUniformBlockName(
&self,
program: c_uint,
uniformBlockIndex: c_uint,
bufSize: c_int,
length: *mut c_int,
uniformBlockName: *mut u8
)
[src]
&self,
program: c_uint,
uniformBlockIndex: c_uint,
bufSize: c_int,
length: *mut c_int,
uniformBlockName: *mut u8
)
glGetActiveUniformBlockName
program
class: programuniformBlockName
len: bufSize
pub unsafe fn GetActiveUniformBlockiv(
&self,
program: c_uint,
uniformBlockIndex: c_uint,
pname: UniformBlockPName,
params: *mut c_int
)
[src]
&self,
program: c_uint,
uniformBlockIndex: c_uint,
pname: UniformBlockPName,
params: *mut c_int
)
glGetActiveUniformBlockiv
program
class: programpname
group: UniformBlockPNameparams
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]
&self,
program: c_uint,
uniformIndex: c_uint,
bufSize: c_int,
length: *mut c_int,
uniformName: *mut u8
)
glGetActiveUniformName
program
class: programuniformName
len: bufSize
pub unsafe fn GetActiveUniformsiv(
&self,
program: c_uint,
uniformCount: c_int,
uniformIndices: *const c_uint,
pname: UniformPName,
params: *mut c_int
)
[src]
&self,
program: c_uint,
uniformCount: c_int,
uniformIndices: *const c_uint,
pname: UniformPName,
params: *mut c_int
)
glGetActiveUniformsiv
program
class: programuniformIndices
len: uniformCountpname
group: UniformPNameparams
len: COMPSIZE(uniformCount,pname)
pub unsafe fn GetAttachedShaders(
&self,
program: c_uint,
maxCount: c_int,
count: *mut c_int,
shaders: *mut c_uint
)
[src]
&self,
program: c_uint,
maxCount: c_int,
count: *mut c_int,
shaders: *mut c_uint
)
glGetAttachedShaders
program
class: programshaders
class: shadershaders
len: maxCount
pub unsafe fn GetAttribLocation(
&self,
program: c_uint,
name: *const u8
) -> c_int
[src]
&self,
program: c_uint,
name: *const u8
) -> c_int
glGetAttribLocation
program
class: program
pub unsafe fn GetBooleani_v(
&self,
target: BufferTargetARB,
index: c_uint,
data: *mut c_uchar
)
[src]
&self,
target: BufferTargetARB,
index: c_uint,
data: *mut c_uchar
)
glGetBooleani_v
target
group: BufferTargetARBdata
group: Booleandata
len: COMPSIZE(target)
pub unsafe fn GetBooleanv(&self, pname: GetPName, data: *mut c_uchar)
[src]
glGetBooleanv
pname
group: GetPNamedata
group: Booleandata
len: COMPSIZE(pname)
pub unsafe fn GetBufferParameteri64v(
&self,
target: BufferTargetARB,
pname: BufferPNameARB,
params: *mut i64
)
[src]
&self,
target: BufferTargetARB,
pname: BufferPNameARB,
params: *mut i64
)
glGetBufferParameteri64v
target
group: BufferTargetARBpname
group: BufferPNameARBparams
len: COMPSIZE(pname)
pub unsafe fn GetBufferParameteriv(
&self,
target: BufferTargetARB,
pname: BufferPNameARB,
params: *mut c_int
)
[src]
&self,
target: BufferTargetARB,
pname: BufferPNameARB,
params: *mut c_int
)
glGetBufferParameteriv
target
group: BufferTargetARBpname
group: BufferPNameARBparams
len: COMPSIZE(pname)
pub unsafe fn GetBufferPointerv(
&self,
target: BufferTargetARB,
pname: BufferPointerNameARB,
params: *mut *mut c_void
)
[src]
&self,
target: BufferTargetARB,
pname: BufferPointerNameARB,
params: *mut *mut c_void
)
glGetBufferPointerv
target
group: BufferTargetARBpname
group: BufferPointerNameARB
pub unsafe fn GetBufferSubData(
&self,
target: BufferTargetARB,
offset: isize,
size: isize,
data: *mut c_void
)
[src]
&self,
target: BufferTargetARB,
offset: isize,
size: isize,
data: *mut c_void
)
glGetBufferSubData
target
group: BufferTargetARBoffset
group: BufferOffsetsize
group: BufferSizedata
len: size
pub unsafe fn GetCompressedTexImage(
&self,
target: TextureTarget,
level: c_int,
img: *mut c_void
)
[src]
&self,
target: TextureTarget,
level: c_int,
img: *mut c_void
)
glGetCompressedTexImage
target
group: TextureTargetlevel
group: CheckedInt32img
group: CompressedTextureARBimg
len: COMPSIZE(target,level)
pub unsafe fn GetCompressedTextureImage(
&self,
texture: c_uint,
level: c_int,
bufSize: c_int,
pixels: *mut c_void
)
[src]
&self,
texture: c_uint,
level: c_int,
bufSize: c_int,
pixels: *mut c_void
)
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]
&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
)
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]
&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
glGetDebugMessageLog
sources
group: DebugSourcesources
len: counttypes
group: DebugTypetypes
len: countids
len: countseverities
group: DebugSeverityseverities
len: countlengths
len: countmessageLog
len: bufSize
pub unsafe fn GetDoublei_v(
&self,
target: GetPName,
index: c_uint,
data: *mut c_double
)
[src]
&self,
target: GetPName,
index: c_uint,
data: *mut c_double
)
glGetDoublei_v
target
group: GetPNamedata
len: COMPSIZE(target)
pub unsafe fn GetDoublev(&self, pname: GetPName, data: *mut c_double)
[src]
glGetDoublev
pname
group: GetPNamedata
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]
&self,
target: GetPName,
index: c_uint,
data: *mut c_float
)
glGetFloati_v
target
group: GetPNamedata
len: COMPSIZE(target)
pub unsafe fn GetFloatv(&self, pname: GetPName, data: *mut c_float)
[src]
glGetFloatv
pname
group: GetPNamedata
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]
&self,
program: c_uint,
name: *const u8
) -> c_int
glGetFragDataLocation
program
class: programname
len: COMPSIZE(name)
pub unsafe fn GetFramebufferAttachmentParameteriv(
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
pname: FramebufferAttachmentParameterName,
params: *mut c_int
)
[src]
&self,
target: FramebufferTarget,
attachment: FramebufferAttachment,
pname: FramebufferAttachmentParameterName,
params: *mut c_int
)
glGetFramebufferAttachmentParameteriv
target
group: FramebufferTargetattachment
group: FramebufferAttachmentpname
group: FramebufferAttachmentParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetFramebufferParameteriv(
&self,
target: FramebufferTarget,
pname: FramebufferAttachmentParameterName,
params: *mut c_int
)
[src]
&self,
target: FramebufferTarget,
pname: FramebufferAttachmentParameterName,
params: *mut c_int
)
glGetFramebufferParameteriv
target
group: FramebufferTargetpname
group: FramebufferAttachmentParameterNameparams
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]
&self,
target: GetPName,
index: c_uint,
data: *mut i64
)
glGetInteger64i_v
target
group: GetPNamedata
len: COMPSIZE(target)
pub unsafe fn GetInteger64v(&self, pname: GetPName, data: *mut i64)
[src]
glGetInteger64v
pname
group: GetPNamedata
len: COMPSIZE(pname)
pub unsafe fn GetIntegeri_v(
&self,
target: GetPName,
index: c_uint,
data: *mut c_int
)
[src]
&self,
target: GetPName,
index: c_uint,
data: *mut c_int
)
glGetIntegeri_v
target
group: GetPNamedata
len: COMPSIZE(target)
pub unsafe fn GetIntegerv(&self, pname: GetPName, data: *mut c_int)
[src]
glGetIntegerv
pname
group: GetPNamedata
len: COMPSIZE(pname)
pub unsafe fn GetInternalformati64v(
&self,
target: TextureTarget,
internalformat: InternalFormat,
pname: InternalFormatPName,
count: c_int,
params: *mut i64
)
[src]
&self,
target: TextureTarget,
internalformat: InternalFormat,
pname: InternalFormatPName,
count: c_int,
params: *mut i64
)
glGetInternalformati64v
target
group: TextureTargetinternalformat
group: InternalFormatpname
group: InternalFormatPNameparams
len: count
pub unsafe fn GetInternalformativ(
&self,
target: TextureTarget,
internalformat: InternalFormat,
pname: InternalFormatPName,
count: c_int,
params: *mut c_int
)
[src]
&self,
target: TextureTarget,
internalformat: InternalFormat,
pname: InternalFormatPName,
count: c_int,
params: *mut c_int
)
glGetInternalformativ
target
group: TextureTargetinternalformat
group: InternalFormatpname
group: InternalFormatPNameparams
len: count
pub unsafe fn GetMultisamplefv(
&self,
pname: GetMultisamplePNameNV,
index: c_uint,
val: *mut c_float
)
[src]
&self,
pname: GetMultisamplePNameNV,
index: c_uint,
val: *mut c_float
)
glGetMultisamplefv
pname
group: GetMultisamplePNameNVval
len: COMPSIZE(pname)
pub unsafe fn GetNamedBufferParameteri64v(
&self,
buffer: c_uint,
pname: BufferPNameARB,
params: *mut i64
)
[src]
&self,
buffer: c_uint,
pname: BufferPNameARB,
params: *mut i64
)
glGetNamedBufferParameteri64v
buffer
class: bufferpname
group: BufferPNameARB
pub unsafe fn GetNamedBufferParameteriv(
&self,
buffer: c_uint,
pname: BufferPNameARB,
params: *mut c_int
)
[src]
&self,
buffer: c_uint,
pname: BufferPNameARB,
params: *mut c_int
)
glGetNamedBufferParameteriv
buffer
class: bufferpname
group: BufferPNameARB
pub unsafe fn GetNamedBufferPointerv(
&self,
buffer: c_uint,
pname: BufferPointerNameARB,
params: *mut *mut c_void
)
[src]
&self,
buffer: c_uint,
pname: BufferPointerNameARB,
params: *mut *mut c_void
)
glGetNamedBufferPointerv
buffer
class: bufferpname
group: BufferPointerNameARB
pub unsafe fn GetNamedBufferSubData(
&self,
buffer: c_uint,
offset: isize,
size: isize,
data: *mut c_void
)
[src]
&self,
buffer: c_uint,
offset: isize,
size: isize,
data: *mut c_void
)
glGetNamedBufferSubData
buffer
class: buffersize
group: BufferSize
pub unsafe fn GetNamedFramebufferAttachmentParameteriv(
&self,
framebuffer: c_uint,
attachment: FramebufferAttachment,
pname: FramebufferAttachmentParameterName,
params: *mut c_int
)
[src]
&self,
framebuffer: c_uint,
attachment: FramebufferAttachment,
pname: FramebufferAttachmentParameterName,
params: *mut c_int
)
glGetNamedFramebufferAttachmentParameteriv
framebuffer
class: framebufferattachment
group: FramebufferAttachmentpname
group: FramebufferAttachmentParameterName
pub unsafe fn GetNamedFramebufferParameteriv(
&self,
framebuffer: c_uint,
pname: GetFramebufferParameter,
param: *mut c_int
)
[src]
&self,
framebuffer: c_uint,
pname: GetFramebufferParameter,
param: *mut c_int
)
glGetNamedFramebufferParameteriv
framebuffer
class: framebufferpname
group: GetFramebufferParameter
pub unsafe fn GetNamedRenderbufferParameteriv(
&self,
renderbuffer: c_uint,
pname: RenderbufferParameterName,
params: *mut c_int
)
[src]
&self,
renderbuffer: c_uint,
pname: RenderbufferParameterName,
params: *mut c_int
)
glGetNamedRenderbufferParameteriv
renderbuffer
class: renderbufferpname
group: RenderbufferParameterName
pub unsafe fn GetObjectLabel(
&self,
identifier: ObjectIdentifier,
name: c_uint,
bufSize: c_int,
length: *mut c_int,
label: *mut u8
)
[src]
&self,
identifier: ObjectIdentifier,
name: c_uint,
bufSize: c_int,
length: *mut c_int,
label: *mut u8
)
glGetObjectLabel
identifier
group: ObjectIdentifierlabel
len: bufSize
pub unsafe fn GetObjectPtrLabel(
&self,
ptr: *const c_void,
bufSize: c_int,
length: *mut c_int,
label: *mut u8
)
[src]
&self,
ptr: *const c_void,
bufSize: c_int,
length: *mut c_int,
label: *mut u8
)
glGetObjectPtrLabel
label
len: bufSize
pub unsafe fn GetPointerv(
&self,
pname: GetPointervPName,
params: *mut *mut c_void
)
[src]
&self,
pname: GetPointervPName,
params: *mut *mut c_void
)
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]
&self,
program: c_uint,
bufSize: c_int,
length: *mut c_int,
binaryFormat: *mut GLenum,
binary: *mut c_void
)
glGetProgramBinary
program
class: programbinary
len: bufSize
pub unsafe fn GetProgramInfoLog(
&self,
program: c_uint,
bufSize: c_int,
length: *mut c_int,
infoLog: *mut u8
)
[src]
&self,
program: c_uint,
bufSize: c_int,
length: *mut c_int,
infoLog: *mut u8
)
glGetProgramInfoLog
program
class: programinfoLog
len: bufSize
pub unsafe fn GetProgramInterfaceiv(
&self,
program: c_uint,
programInterface: ProgramInterface,
pname: ProgramInterfacePName,
params: *mut c_int
)
[src]
&self,
program: c_uint,
programInterface: ProgramInterface,
pname: ProgramInterfacePName,
params: *mut c_int
)
glGetProgramInterfaceiv
program
class: programprogramInterface
group: ProgramInterfacepname
group: ProgramInterfacePNameparams
len: COMPSIZE(pname)
pub unsafe fn GetProgramPipelineInfoLog(
&self,
pipeline: c_uint,
bufSize: c_int,
length: *mut c_int,
infoLog: *mut u8
)
[src]
&self,
pipeline: c_uint,
bufSize: c_int,
length: *mut c_int,
infoLog: *mut u8
)
glGetProgramPipelineInfoLog
pipeline
class: program pipelineinfoLog
len: bufSize
pub unsafe fn GetProgramPipelineiv(
&self,
pipeline: c_uint,
pname: PipelineParameterName,
params: *mut c_int
)
[src]
&self,
pipeline: c_uint,
pname: PipelineParameterName,
params: *mut c_int
)
glGetProgramPipelineiv
pipeline
class: program pipelinepname
group: PipelineParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetProgramResourceIndex(
&self,
program: c_uint,
programInterface: ProgramInterface,
name: *const u8
) -> c_uint
[src]
&self,
program: c_uint,
programInterface: ProgramInterface,
name: *const u8
) -> c_uint
glGetProgramResourceIndex
program
class: programprogramInterface
group: ProgramInterfacename
len: COMPSIZE(name)
pub unsafe fn GetProgramResourceLocation(
&self,
program: c_uint,
programInterface: ProgramInterface,
name: *const u8
) -> c_int
[src]
&self,
program: c_uint,
programInterface: ProgramInterface,
name: *const u8
) -> c_int
glGetProgramResourceLocation
program
class: programprogramInterface
group: ProgramInterfacename
len: COMPSIZE(name)
pub unsafe fn GetProgramResourceLocationIndex(
&self,
program: c_uint,
programInterface: ProgramInterface,
name: *const u8
) -> c_int
[src]
&self,
program: c_uint,
programInterface: ProgramInterface,
name: *const u8
) -> c_int
glGetProgramResourceLocationIndex
program
class: programprogramInterface
group: ProgramInterfacename
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]
&self,
program: c_uint,
programInterface: ProgramInterface,
index: c_uint,
bufSize: c_int,
length: *mut c_int,
name: *mut u8
)
glGetProgramResourceName
program
class: programprogramInterface
group: ProgramInterfacename
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]
&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
)
glGetProgramResourceiv
program
class: programprogramInterface
group: ProgramInterfaceprops
group: ProgramResourcePropertyprops
len: propCountparams
len: count
pub unsafe fn GetProgramStageiv(
&self,
program: c_uint,
shadertype: ShaderType,
pname: ProgramStagePName,
values: *mut c_int
)
[src]
&self,
program: c_uint,
shadertype: ShaderType,
pname: ProgramStagePName,
values: *mut c_int
)
glGetProgramStageiv
program
class: programshadertype
group: ShaderTypepname
group: ProgramStagePName
pub unsafe fn GetProgramiv(
&self,
program: c_uint,
pname: ProgramPropertyARB,
params: *mut c_int
)
[src]
&self,
program: c_uint,
pname: ProgramPropertyARB,
params: *mut c_int
)
glGetProgramiv
program
class: programpname
group: ProgramPropertyARBparams
len: COMPSIZE(pname)
pub unsafe fn GetQueryBufferObjecti64v(
&self,
id: c_uint,
buffer: c_uint,
pname: QueryObjectParameterName,
offset: isize
)
[src]
&self,
id: c_uint,
buffer: c_uint,
pname: QueryObjectParameterName,
offset: isize
)
glGetQueryBufferObjecti64v
id
class: querybuffer
class: bufferpname
group: QueryObjectParameterName
pub unsafe fn GetQueryBufferObjectiv(
&self,
id: c_uint,
buffer: c_uint,
pname: QueryObjectParameterName,
offset: isize
)
[src]
&self,
id: c_uint,
buffer: c_uint,
pname: QueryObjectParameterName,
offset: isize
)
glGetQueryBufferObjectiv
id
class: querybuffer
class: bufferpname
group: QueryObjectParameterName
pub unsafe fn GetQueryBufferObjectui64v(
&self,
id: c_uint,
buffer: c_uint,
pname: QueryObjectParameterName,
offset: isize
)
[src]
&self,
id: c_uint,
buffer: c_uint,
pname: QueryObjectParameterName,
offset: isize
)
glGetQueryBufferObjectui64v
id
class: querybuffer
class: bufferpname
group: QueryObjectParameterName
pub unsafe fn GetQueryBufferObjectuiv(
&self,
id: c_uint,
buffer: c_uint,
pname: QueryObjectParameterName,
offset: isize
)
[src]
&self,
id: c_uint,
buffer: c_uint,
pname: QueryObjectParameterName,
offset: isize
)
glGetQueryBufferObjectuiv
id
class: querybuffer
class: bufferpname
group: QueryObjectParameterName
pub unsafe fn GetQueryIndexediv(
&self,
target: QueryTarget,
index: c_uint,
pname: QueryParameterName,
params: *mut c_int
)
[src]
&self,
target: QueryTarget,
index: c_uint,
pname: QueryParameterName,
params: *mut c_int
)
glGetQueryIndexediv
target
group: QueryTargetpname
group: QueryParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetQueryObjecti64v(
&self,
id: c_uint,
pname: QueryObjectParameterName,
params: *mut i64
)
[src]
&self,
id: c_uint,
pname: QueryObjectParameterName,
params: *mut i64
)
glGetQueryObjecti64v
id
class: querypname
group: QueryObjectParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetQueryObjectiv(
&self,
id: c_uint,
pname: QueryObjectParameterName,
params: *mut c_int
)
[src]
&self,
id: c_uint,
pname: QueryObjectParameterName,
params: *mut c_int
)
glGetQueryObjectiv
id
class: querypname
group: QueryObjectParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetQueryObjectui64v(
&self,
id: c_uint,
pname: QueryObjectParameterName,
params: *mut u64
)
[src]
&self,
id: c_uint,
pname: QueryObjectParameterName,
params: *mut u64
)
glGetQueryObjectui64v
id
class: querypname
group: QueryObjectParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetQueryObjectuiv(
&self,
id: c_uint,
pname: QueryObjectParameterName,
params: *mut c_uint
)
[src]
&self,
id: c_uint,
pname: QueryObjectParameterName,
params: *mut c_uint
)
glGetQueryObjectuiv
id
class: querypname
group: QueryObjectParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetQueryiv(
&self,
target: QueryTarget,
pname: QueryParameterName,
params: *mut c_int
)
[src]
&self,
target: QueryTarget,
pname: QueryParameterName,
params: *mut c_int
)
glGetQueryiv
target
group: QueryTargetpname
group: QueryParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetRenderbufferParameteriv(
&self,
target: RenderbufferTarget,
pname: RenderbufferParameterName,
params: *mut c_int
)
[src]
&self,
target: RenderbufferTarget,
pname: RenderbufferParameterName,
params: *mut c_int
)
glGetRenderbufferParameteriv
target
group: RenderbufferTargetpname
group: RenderbufferParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetSamplerParameterIiv(
&self,
sampler: c_uint,
pname: SamplerParameterI,
params: *mut c_int
)
[src]
&self,
sampler: c_uint,
pname: SamplerParameterI,
params: *mut c_int
)
glGetSamplerParameterIiv
sampler
class: samplerpname
group: SamplerParameterIparams
len: COMPSIZE(pname)
pub unsafe fn GetSamplerParameterIuiv(
&self,
sampler: c_uint,
pname: SamplerParameterI,
params: *mut c_uint
)
[src]
&self,
sampler: c_uint,
pname: SamplerParameterI,
params: *mut c_uint
)
glGetSamplerParameterIuiv
sampler
class: samplerpname
group: SamplerParameterIparams
len: COMPSIZE(pname)
pub unsafe fn GetSamplerParameterfv(
&self,
sampler: c_uint,
pname: SamplerParameterF,
params: *mut c_float
)
[src]
&self,
sampler: c_uint,
pname: SamplerParameterF,
params: *mut c_float
)
glGetSamplerParameterfv
sampler
class: samplerpname
group: SamplerParameterFparams
len: COMPSIZE(pname)
pub unsafe fn GetSamplerParameteriv(
&self,
sampler: c_uint,
pname: SamplerParameterI,
params: *mut c_int
)
[src]
&self,
sampler: c_uint,
pname: SamplerParameterI,
params: *mut c_int
)
glGetSamplerParameteriv
sampler
class: samplerpname
group: SamplerParameterIparams
len: COMPSIZE(pname)
pub unsafe fn GetShaderInfoLog(
&self,
shader: c_uint,
bufSize: c_int,
length: *mut c_int,
infoLog: *mut u8
)
[src]
&self,
shader: c_uint,
bufSize: c_int,
length: *mut c_int,
infoLog: *mut u8
)
glGetShaderInfoLog
shader
class: shaderinfoLog
len: bufSize
pub unsafe fn GetShaderPrecisionFormat(
&self,
shadertype: ShaderType,
precisiontype: PrecisionType,
range: *mut [c_int; 2],
precision: *mut c_int
)
[src]
&self,
shadertype: ShaderType,
precisiontype: PrecisionType,
range: *mut [c_int; 2],
precision: *mut c_int
)
glGetShaderPrecisionFormat
shadertype
group: ShaderTypeprecisiontype
group: PrecisionType
pub unsafe fn GetShaderSource(
&self,
shader: c_uint,
bufSize: c_int,
length: *mut c_int,
source: *mut u8
)
[src]
&self,
shader: c_uint,
bufSize: c_int,
length: *mut c_int,
source: *mut u8
)
glGetShaderSource
shader
class: shadersource
len: bufSize
pub unsafe fn GetShaderiv(
&self,
shader: c_uint,
pname: ShaderParameterName,
params: *mut c_int
)
[src]
&self,
shader: c_uint,
pname: ShaderParameterName,
params: *mut c_int
)
glGetShaderiv
shader
class: shaderpname
group: ShaderParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn GetString(&self, name: StringName) -> *const u8
[src]
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]
Gets indexed string info about the GL implementation.
name
: One of:GL_EXTENSIONS
: Returns the name of the extension specified byindex
. Extensions are indexed in the range0 .. GL_NUM_EXTENSIONS
. UseglGetIntegerv
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]
&self,
program: c_uint,
shadertype: ShaderType,
name: *const u8
) -> c_uint
glGetSubroutineIndex
program
class: programshadertype
group: ShaderType
pub unsafe fn GetSubroutineUniformLocation(
&self,
program: c_uint,
shadertype: ShaderType,
name: *const u8
) -> c_int
[src]
&self,
program: c_uint,
shadertype: ShaderType,
name: *const u8
) -> c_int
glGetSubroutineUniformLocation
program
class: programshadertype
group: ShaderType
pub unsafe fn GetSynciv(
&self,
sync: GLsync,
pname: SyncParameterName,
count: c_int,
length: *mut c_int,
values: *mut c_int
)
[src]
&self,
sync: GLsync,
pname: SyncParameterName,
count: c_int,
length: *mut c_int,
values: *mut c_int
)
glGetSynciv
sync
group: syncsync
class: syncpname
group: SyncParameterNamevalues
len: count
pub unsafe fn GetTexImage(
&self,
target: TextureTarget,
level: c_int,
format: PixelFormat,
type_: PixelType,
pixels: *mut c_void
)
[src]
&self,
target: TextureTarget,
level: c_int,
format: PixelFormat,
type_: PixelType,
pixels: *mut c_void
)
glGetTexImage
target
group: TextureTargetlevel
group: CheckedInt32format
group: PixelFormattype
group: PixelTypepixels
len: COMPSIZE(target,level,format,type)
pub unsafe fn GetTexLevelParameterfv(
&self,
target: TextureTarget,
level: c_int,
pname: GetTextureParameter,
params: *mut c_float
)
[src]
&self,
target: TextureTarget,
level: c_int,
pname: GetTextureParameter,
params: *mut c_float
)
glGetTexLevelParameterfv
target
group: TextureTargetlevel
group: CheckedInt32pname
group: GetTextureParameterparams
len: COMPSIZE(pname)
pub unsafe fn GetTexLevelParameteriv(
&self,
target: TextureTarget,
level: c_int,
pname: GetTextureParameter,
params: *mut c_int
)
[src]
&self,
target: TextureTarget,
level: c_int,
pname: GetTextureParameter,
params: *mut c_int
)
glGetTexLevelParameteriv
target
group: TextureTargetlevel
group: CheckedInt32pname
group: GetTextureParameterparams
len: COMPSIZE(pname)
pub unsafe fn GetTexParameterIiv(
&self,
target: TextureTarget,
pname: GetTextureParameter,
params: *mut c_int
)
[src]
&self,
target: TextureTarget,
pname: GetTextureParameter,
params: *mut c_int
)
glGetTexParameterIiv
target
group: TextureTargetpname
group: GetTextureParameterparams
len: COMPSIZE(pname)
pub unsafe fn GetTexParameterIuiv(
&self,
target: TextureTarget,
pname: GetTextureParameter,
params: *mut c_uint
)
[src]
&self,
target: TextureTarget,
pname: GetTextureParameter,
params: *mut c_uint
)
glGetTexParameterIuiv
target
group: TextureTargetpname
group: GetTextureParameterparams
len: COMPSIZE(pname)
pub unsafe fn GetTexParameterfv(
&self,
target: TextureTarget,
pname: GetTextureParameter,
params: *mut c_float
)
[src]
&self,
target: TextureTarget,
pname: GetTextureParameter,
params: *mut c_float
)
glGetTexParameterfv
target
group: TextureTargetpname
group: GetTextureParameterparams
len: COMPSIZE(pname)
pub unsafe fn GetTexParameteriv(
&self,
target: TextureTarget,
pname: GetTextureParameter,
params: *mut c_int
)
[src]
&self,
target: TextureTarget,
pname: GetTextureParameter,
params: *mut c_int
)
glGetTexParameteriv
target
group: TextureTargetpname
group: GetTextureParameterparams
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]
&self,
texture: c_uint,
level: c_int,
format: PixelFormat,
type_: PixelType,
bufSize: c_int,
pixels: *mut c_void
)
glGetTextureImage
texture
class: textureformat
group: PixelFormattype
group: PixelType
pub unsafe fn GetTextureLevelParameterfv(
&self,
texture: c_uint,
level: c_int,
pname: GetTextureParameter,
params: *mut c_float
)
[src]
&self,
texture: c_uint,
level: c_int,
pname: GetTextureParameter,
params: *mut c_float
)
glGetTextureLevelParameterfv
texture
class: texturepname
group: GetTextureParameter
pub unsafe fn GetTextureLevelParameteriv(
&self,
texture: c_uint,
level: c_int,
pname: GetTextureParameter,
params: *mut c_int
)
[src]
&self,
texture: c_uint,
level: c_int,
pname: GetTextureParameter,
params: *mut c_int
)
glGetTextureLevelParameteriv
texture
class: texturepname
group: GetTextureParameter
pub unsafe fn GetTextureParameterIiv(
&self,
texture: c_uint,
pname: GetTextureParameter,
params: *mut c_int
)
[src]
&self,
texture: c_uint,
pname: GetTextureParameter,
params: *mut c_int
)
glGetTextureParameterIiv
texture
class: texturepname
group: GetTextureParameter
pub unsafe fn GetTextureParameterIuiv(
&self,
texture: c_uint,
pname: GetTextureParameter,
params: *mut c_uint
)
[src]
&self,
texture: c_uint,
pname: GetTextureParameter,
params: *mut c_uint
)
glGetTextureParameterIuiv
texture
class: texturepname
group: GetTextureParameter
pub unsafe fn GetTextureParameterfv(
&self,
texture: c_uint,
pname: GetTextureParameter,
params: *mut c_float
)
[src]
&self,
texture: c_uint,
pname: GetTextureParameter,
params: *mut c_float
)
glGetTextureParameterfv
texture
class: texturepname
group: GetTextureParameter
pub unsafe fn GetTextureParameteriv(
&self,
texture: c_uint,
pname: GetTextureParameter,
params: *mut c_int
)
[src]
&self,
texture: c_uint,
pname: GetTextureParameter,
params: *mut c_int
)
glGetTextureParameteriv
texture
class: texturepname
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]
&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
)
glGetTextureSubImage
texture
class: textureformat
group: PixelFormattype
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]
&self,
program: c_uint,
index: c_uint,
bufSize: c_int,
length: *mut c_int,
size: *mut c_int,
type_: *mut AttributeType,
name: *mut u8
)
glGetTransformFeedbackVarying
program
class: programtype
group: AttributeTypename
len: bufSize
pub unsafe fn GetTransformFeedbacki64_v(
&self,
xfb: c_uint,
pname: TransformFeedbackPName,
index: c_uint,
param: *mut i64
)
[src]
&self,
xfb: c_uint,
pname: TransformFeedbackPName,
index: c_uint,
param: *mut i64
)
glGetTransformFeedbacki64_v
xfb
class: transform feedbackpname
group: TransformFeedbackPName
pub unsafe fn GetTransformFeedbacki_v(
&self,
xfb: c_uint,
pname: TransformFeedbackPName,
index: c_uint,
param: *mut c_int
)
[src]
&self,
xfb: c_uint,
pname: TransformFeedbackPName,
index: c_uint,
param: *mut c_int
)
glGetTransformFeedbacki_v
xfb
class: transform feedbackpname
group: TransformFeedbackPName
pub unsafe fn GetTransformFeedbackiv(
&self,
xfb: c_uint,
pname: TransformFeedbackPName,
param: *mut c_int
)
[src]
&self,
xfb: c_uint,
pname: TransformFeedbackPName,
param: *mut c_int
)
glGetTransformFeedbackiv
xfb
class: transform feedbackpname
group: TransformFeedbackPName
pub unsafe fn GetUniformBlockIndex(
&self,
program: c_uint,
uniformBlockName: *const u8
) -> c_uint
[src]
&self,
program: c_uint,
uniformBlockName: *const u8
) -> c_uint
glGetUniformBlockIndex
program
class: programuniformBlockName
len: COMPSIZE()
pub unsafe fn GetUniformIndices(
&self,
program: c_uint,
uniformCount: c_int,
uniformNames: *const *const u8,
uniformIndices: *mut c_uint
)
[src]
&self,
program: c_uint,
uniformCount: c_int,
uniformNames: *const *const u8,
uniformIndices: *mut c_uint
)
glGetUniformIndices
program
class: programuniformNames
len: COMPSIZE(uniformCount)uniformIndices
len: COMPSIZE(uniformCount)
pub unsafe fn GetUniformLocation(
&self,
program: c_uint,
name: *const u8
) -> c_int
[src]
&self,
program: c_uint,
name: *const u8
) -> c_int
glGetUniformLocation
program
class: program
pub unsafe fn GetUniformSubroutineuiv(
&self,
shadertype: ShaderType,
location: c_int,
params: *mut c_uint
)
[src]
&self,
shadertype: ShaderType,
location: c_int,
params: *mut c_uint
)
glGetUniformSubroutineuiv
shadertype
group: ShaderType
pub unsafe fn GetUniformdv(
&self,
program: c_uint,
location: c_int,
params: *mut c_double
)
[src]
&self,
program: c_uint,
location: c_int,
params: *mut c_double
)
glGetUniformdv
program
class: programparams
len: COMPSIZE(program,location)
pub unsafe fn GetUniformfv(
&self,
program: c_uint,
location: c_int,
params: *mut c_float
)
[src]
&self,
program: c_uint,
location: c_int,
params: *mut c_float
)
glGetUniformfv
program
class: programparams
len: COMPSIZE(program,location)
pub unsafe fn GetUniformiv(
&self,
program: c_uint,
location: c_int,
params: *mut c_int
)
[src]
&self,
program: c_uint,
location: c_int,
params: *mut c_int
)
glGetUniformiv
program
class: programparams
len: COMPSIZE(program,location)
pub unsafe fn GetUniformuiv(
&self,
program: c_uint,
location: c_int,
params: *mut c_uint
)
[src]
&self,
program: c_uint,
location: c_int,
params: *mut c_uint
)
glGetUniformuiv
program
class: programparams
len: COMPSIZE(program,location)
pub unsafe fn GetVertexArrayIndexed64iv(
&self,
vaobj: c_uint,
index: c_uint,
pname: VertexArrayPName,
param: *mut i64
)
[src]
&self,
vaobj: c_uint,
index: c_uint,
pname: VertexArrayPName,
param: *mut i64
)
glGetVertexArrayIndexed64iv
vaobj
class: vertex arraypname
group: VertexArrayPName
pub unsafe fn GetVertexArrayIndexediv(
&self,
vaobj: c_uint,
index: c_uint,
pname: VertexArrayPName,
param: *mut c_int
)
[src]
&self,
vaobj: c_uint,
index: c_uint,
pname: VertexArrayPName,
param: *mut c_int
)
glGetVertexArrayIndexediv
vaobj
class: vertex arraypname
group: VertexArrayPName
pub unsafe fn GetVertexArrayiv(
&self,
vaobj: c_uint,
pname: VertexArrayPName,
param: *mut c_int
)
[src]
&self,
vaobj: c_uint,
pname: VertexArrayPName,
param: *mut c_int
)
glGetVertexArrayiv
vaobj
class: vertex arraypname
group: VertexArrayPName
pub unsafe fn GetVertexAttribIiv(
&self,
index: c_uint,
pname: VertexAttribEnum,
params: *mut c_int
)
[src]
&self,
index: c_uint,
pname: VertexAttribEnum,
params: *mut c_int
)
glGetVertexAttribIiv
pname
group: VertexAttribEnum
pub unsafe fn GetVertexAttribIuiv(
&self,
index: c_uint,
pname: VertexAttribEnum,
params: *mut c_uint
)
[src]
&self,
index: c_uint,
pname: VertexAttribEnum,
params: *mut c_uint
)
glGetVertexAttribIuiv
pname
group: VertexAttribEnum
pub unsafe fn GetVertexAttribLdv(
&self,
index: c_uint,
pname: VertexAttribEnum,
params: *mut c_double
)
[src]
&self,
index: c_uint,
pname: VertexAttribEnum,
params: *mut c_double
)
glGetVertexAttribLdv
pname
group: VertexAttribEnumparams
len: COMPSIZE(pname)
pub unsafe fn GetVertexAttribPointerv(
&self,
index: c_uint,
pname: VertexAttribPointerPropertyARB,
pointer: *mut *mut c_void
)
[src]
&self,
index: c_uint,
pname: VertexAttribPointerPropertyARB,
pointer: *mut *mut c_void
)
glGetVertexAttribPointerv
pname
group: VertexAttribPointerPropertyARB
pub unsafe fn GetVertexAttribdv(
&self,
index: c_uint,
pname: VertexAttribPropertyARB,
params: *mut [c_double; 4]
)
[src]
&self,
index: c_uint,
pname: VertexAttribPropertyARB,
params: *mut [c_double; 4]
)
glGetVertexAttribdv
pname
group: VertexAttribPropertyARB
pub unsafe fn GetVertexAttribfv(
&self,
index: c_uint,
pname: VertexAttribPropertyARB,
params: *mut [c_float; 4]
)
[src]
&self,
index: c_uint,
pname: VertexAttribPropertyARB,
params: *mut [c_float; 4]
)
glGetVertexAttribfv
pname
group: VertexAttribPropertyARB
pub unsafe fn GetVertexAttribiv(
&self,
index: c_uint,
pname: VertexAttribPropertyARB,
params: *mut [c_int; 4]
)
[src]
&self,
index: c_uint,
pname: VertexAttribPropertyARB,
params: *mut [c_int; 4]
)
glGetVertexAttribiv
pname
group: VertexAttribPropertyARB
pub unsafe fn GetnCompressedTexImage(
&self,
target: TextureTarget,
lod: c_int,
bufSize: c_int,
pixels: *mut c_void
)
[src]
&self,
target: TextureTarget,
lod: c_int,
bufSize: c_int,
pixels: *mut c_void
)
glGetnCompressedTexImage
target
group: TextureTargetpixels
len: bufSize
pub unsafe fn GetnTexImage(
&self,
target: TextureTarget,
level: c_int,
format: PixelFormat,
type_: PixelType,
bufSize: c_int,
pixels: *mut c_void
)
[src]
&self,
target: TextureTarget,
level: c_int,
format: PixelFormat,
type_: PixelType,
bufSize: c_int,
pixels: *mut c_void
)
glGetnTexImage
target
group: TextureTargetformat
group: PixelFormattype
group: PixelTypepixels
len: bufSize
pub unsafe fn GetnUniformdv(
&self,
program: c_uint,
location: c_int,
bufSize: c_int,
params: *mut c_double
)
[src]
&self,
program: c_uint,
location: c_int,
bufSize: c_int,
params: *mut c_double
)
glGetnUniformdv
program
class: programparams
len: bufSize / 8
pub unsafe fn GetnUniformfv(
&self,
program: c_uint,
location: c_int,
bufSize: c_int,
params: *mut c_float
)
[src]
&self,
program: c_uint,
location: c_int,
bufSize: c_int,
params: *mut c_float
)
glGetnUniformfv
program
class: programparams
len: bufSize / 4
pub unsafe fn GetnUniformiv(
&self,
program: c_uint,
location: c_int,
bufSize: c_int,
params: *mut c_int
)
[src]
&self,
program: c_uint,
location: c_int,
bufSize: c_int,
params: *mut c_int
)
glGetnUniformiv
program
class: programparams
len: bufSize / 4
pub unsafe fn GetnUniformuiv(
&self,
program: c_uint,
location: c_int,
bufSize: c_int,
params: *mut c_uint
)
[src]
&self,
program: c_uint,
location: c_int,
bufSize: c_int,
params: *mut c_uint
)
glGetnUniformuiv
program
class: programparams
len: bufSize / 4
pub unsafe fn Hint(&self, target: HintTarget, mode: HintMode)
[src]
glHint
target
group: HintTargetmode
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]
&self,
buffer: c_uint,
offset: isize,
length: isize
)
glInvalidateBufferSubData
buffer
class: bufferoffset
group: BufferOffsetlength
group: BufferSize
pub unsafe fn InvalidateFramebuffer(
&self,
target: FramebufferTarget,
numAttachments: c_int,
attachments: *const InvalidateFramebufferAttachment
)
[src]
&self,
target: FramebufferTarget,
numAttachments: c_int,
attachments: *const InvalidateFramebufferAttachment
)
glInvalidateFramebuffer
target
group: FramebufferTargetattachments
group: InvalidateFramebufferAttachmentattachments
len: numAttachments
pub unsafe fn InvalidateNamedFramebufferData(
&self,
framebuffer: c_uint,
numAttachments: c_int,
attachments: *const FramebufferAttachment
)
[src]
&self,
framebuffer: c_uint,
numAttachments: c_int,
attachments: *const FramebufferAttachment
)
glInvalidateNamedFramebufferData
framebuffer
class: framebufferattachments
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]
&self,
framebuffer: c_uint,
numAttachments: c_int,
attachments: *const FramebufferAttachment,
x: c_int,
y: c_int,
width: c_int,
height: c_int
)
glInvalidateNamedFramebufferSubData
framebuffer
class: framebufferattachments
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]
&self,
target: FramebufferTarget,
numAttachments: c_int,
attachments: *const InvalidateFramebufferAttachment,
x: c_int,
y: c_int,
width: c_int,
height: c_int
)
glInvalidateSubFramebuffer
target
group: FramebufferTargetattachments
group: InvalidateFramebufferAttachmentattachments
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]
&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
)
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: syncsync
class: sync
pub unsafe fn IsTexture(&self, texture: c_uint) -> c_uchar
[src]
glIsTexture
texture
group: Texturetexture
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]
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]
&self,
target: BufferTargetARB,
access: BufferAccessARB
) -> *mut c_void
glMapBuffer
target
group: BufferTargetARBaccess
group: BufferAccessARB
pub unsafe fn MapBufferRange(
&self,
target: BufferTargetARB,
offset: isize,
length: isize,
access: GLbitfield
) -> *mut c_void
[src]
&self,
target: BufferTargetARB,
offset: isize,
length: isize,
access: GLbitfield
) -> *mut c_void
glMapBufferRange
target
group: BufferTargetARBoffset
group: BufferOffsetlength
group: BufferSizeaccess
group: MapBufferAccessMask
pub unsafe fn MapNamedBuffer(
&self,
buffer: c_uint,
access: BufferAccessARB
) -> *mut c_void
[src]
&self,
buffer: c_uint,
access: BufferAccessARB
) -> *mut c_void
glMapNamedBuffer
buffer
class: bufferaccess
group: BufferAccessARB
pub unsafe fn MapNamedBufferRange(
&self,
buffer: c_uint,
offset: isize,
length: isize,
access: GLbitfield
) -> *mut c_void
[src]
&self,
buffer: c_uint,
offset: isize,
length: isize,
access: GLbitfield
) -> *mut c_void
glMapNamedBufferRange
buffer
class: bufferlength
group: BufferSizeaccess
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]
&self,
mode: PrimitiveType,
first: *const c_int,
count: *const c_int,
drawcount: c_int
)
glMultiDrawArrays
mode
group: PrimitiveTypefirst
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]
&self,
mode: PrimitiveType,
indirect: *const c_void,
drawcount: c_int,
stride: c_int
)
glMultiDrawArraysIndirect
mode
group: PrimitiveTypeindirect
len: COMPSIZE(drawcount,stride)
pub unsafe fn MultiDrawArraysIndirectCount(
&self,
mode: PrimitiveType,
indirect: *const c_void,
drawcount: isize,
maxdrawcount: c_int,
stride: c_int
)
[src]
&self,
mode: PrimitiveType,
indirect: *const c_void,
drawcount: isize,
maxdrawcount: c_int,
stride: c_int
)
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]
&self,
mode: PrimitiveType,
count: *const c_int,
type_: DrawElementsType,
indices: *const *const c_void,
drawcount: c_int
)
glMultiDrawElements
mode
group: PrimitiveTypecount
len: COMPSIZE(drawcount)type
group: DrawElementsTypeindices
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]
&self,
mode: PrimitiveType,
count: *const c_int,
type_: DrawElementsType,
indices: *const *const c_void,
drawcount: c_int,
basevertex: *const c_int
)
glMultiDrawElementsBaseVertex
mode
group: PrimitiveTypecount
len: COMPSIZE(drawcount)type
group: DrawElementsTypeindices
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]
&self,
mode: PrimitiveType,
type_: DrawElementsType,
indirect: *const c_void,
drawcount: c_int,
stride: c_int
)
glMultiDrawElementsIndirect
mode
group: PrimitiveTypetype
group: DrawElementsTypeindirect
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]
&self,
mode: PrimitiveType,
type_: DrawElementsType,
indirect: *const c_void,
drawcount: isize,
maxdrawcount: c_int,
stride: c_int
)
glMultiDrawElementsIndirectCount
mode
group: PrimitiveTypetype
group: DrawElementsType
pub unsafe fn NamedBufferData(
&self,
buffer: c_uint,
size: isize,
data: *const c_void,
usage: VertexBufferObjectUsage
)
[src]
&self,
buffer: c_uint,
size: isize,
data: *const c_void,
usage: VertexBufferObjectUsage
)
glNamedBufferData
buffer
class: buffersize
group: BufferSizeusage
group: VertexBufferObjectUsage
pub unsafe fn NamedBufferStorage(
&self,
buffer: c_uint,
size: isize,
data: *const c_void,
flags: GLbitfield
)
[src]
&self,
buffer: c_uint,
size: isize,
data: *const c_void,
flags: GLbitfield
)
glNamedBufferStorage
buffer
class: buffersize
group: BufferSizedata
len: sizeflags
group: BufferStorageMask
pub unsafe fn NamedBufferSubData(
&self,
buffer: c_uint,
offset: isize,
size: isize,
data: *const c_void
)
[src]
&self,
buffer: c_uint,
offset: isize,
size: isize,
data: *const c_void
)
glNamedBufferSubData
buffer
class: buffersize
group: BufferSizedata
len: COMPSIZE(size)
pub unsafe fn NamedFramebufferDrawBuffer(
&self,
framebuffer: c_uint,
buf: ColorBuffer
)
[src]
&self,
framebuffer: c_uint,
buf: ColorBuffer
)
glNamedFramebufferDrawBuffer
framebuffer
class: framebufferbuf
group: ColorBuffer
pub unsafe fn NamedFramebufferDrawBuffers(
&self,
framebuffer: c_uint,
n: c_int,
bufs: *const ColorBuffer
)
[src]
&self,
framebuffer: c_uint,
n: c_int,
bufs: *const ColorBuffer
)
glNamedFramebufferDrawBuffers
framebuffer
class: framebufferbufs
group: ColorBuffer
pub unsafe fn NamedFramebufferParameteri(
&self,
framebuffer: c_uint,
pname: FramebufferParameterName,
param: c_int
)
[src]
&self,
framebuffer: c_uint,
pname: FramebufferParameterName,
param: c_int
)
glNamedFramebufferParameteri
framebuffer
class: framebufferpname
group: FramebufferParameterName
pub unsafe fn NamedFramebufferReadBuffer(
&self,
framebuffer: c_uint,
src: ColorBuffer
)
[src]
&self,
framebuffer: c_uint,
src: ColorBuffer
)
glNamedFramebufferReadBuffer
framebuffer
class: framebuffersrc
group: ColorBuffer
pub unsafe fn NamedFramebufferRenderbuffer(
&self,
framebuffer: c_uint,
attachment: FramebufferAttachment,
renderbuffertarget: RenderbufferTarget,
renderbuffer: c_uint
)
[src]
&self,
framebuffer: c_uint,
attachment: FramebufferAttachment,
renderbuffertarget: RenderbufferTarget,
renderbuffer: c_uint
)
glNamedFramebufferRenderbuffer
framebuffer
class: framebufferattachment
group: FramebufferAttachmentrenderbuffertarget
group: RenderbufferTargetrenderbuffer
class: renderbuffer
pub unsafe fn NamedFramebufferTexture(
&self,
framebuffer: c_uint,
attachment: FramebufferAttachment,
texture: c_uint,
level: c_int
)
[src]
&self,
framebuffer: c_uint,
attachment: FramebufferAttachment,
texture: c_uint,
level: c_int
)
glNamedFramebufferTexture
framebuffer
class: framebufferattachment
group: FramebufferAttachmenttexture
class: texture
pub unsafe fn NamedFramebufferTextureLayer(
&self,
framebuffer: c_uint,
attachment: FramebufferAttachment,
texture: c_uint,
level: c_int,
layer: c_int
)
[src]
&self,
framebuffer: c_uint,
attachment: FramebufferAttachment,
texture: c_uint,
level: c_int,
layer: c_int
)
glNamedFramebufferTextureLayer
framebuffer
class: framebufferattachment
group: FramebufferAttachmenttexture
class: texture
pub unsafe fn NamedRenderbufferStorage(
&self,
renderbuffer: c_uint,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
[src]
&self,
renderbuffer: c_uint,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
glNamedRenderbufferStorage
renderbuffer
class: renderbufferinternalformat
group: InternalFormat
pub unsafe fn NamedRenderbufferStorageMultisample(
&self,
renderbuffer: c_uint,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
[src]
&self,
renderbuffer: c_uint,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
glNamedRenderbufferStorageMultisample
renderbuffer
class: renderbufferinternalformat
group: InternalFormat
pub unsafe fn ObjectLabel(
&self,
identifier: ObjectIdentifier,
name: c_uint,
length: c_int,
label: *const u8
)
[src]
&self,
identifier: ObjectIdentifier,
name: c_uint,
length: c_int,
label: *const u8
)
glObjectLabel
identifier
group: ObjectIdentifierlabel
len: COMPSIZE(label,length)
pub unsafe fn ObjectPtrLabel(
&self,
ptr: *const c_void,
length: c_int,
label: *const u8
)
[src]
&self,
ptr: *const c_void,
length: c_int,
label: *const u8
)
glObjectPtrLabel
label
len: COMPSIZE(label,length)
pub unsafe fn PatchParameterfv(
&self,
pname: PatchParameterName,
values: *const c_float
)
[src]
&self,
pname: PatchParameterName,
values: *const c_float
)
glPatchParameterfv
pname
group: PatchParameterNamevalues
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: PixelStoreParameterparam
group: CheckedFloat32
pub unsafe fn PixelStorei(&self, pname: PixelStoreParameter, param: c_int)
[src]
glPixelStorei
pname
group: PixelStoreParameterparam
group: CheckedInt32
pub unsafe fn PointParameterf(
&self,
pname: PointParameterNameARB,
param: c_float
)
[src]
&self,
pname: PointParameterNameARB,
param: c_float
)
glPointParameterf
pname
group: PointParameterNameARBparam
group: CheckedFloat32
pub unsafe fn PointParameterfv(
&self,
pname: PointParameterNameARB,
params: *const c_float
)
[src]
&self,
pname: PointParameterNameARB,
params: *const c_float
)
glPointParameterfv
pname
group: PointParameterNameARBparams
group: CheckedFloat32params
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]
&self,
pname: PointParameterNameARB,
params: *const c_int
)
glPointParameteriv
pname
group: PointParameterNameARBparams
len: COMPSIZE(pname)
pub fn PointSize(&self, size: c_float)
[src]
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: MaterialFacemode
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]
&self,
factor: c_float,
units: c_float,
clamp: c_float
)
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]
&self,
program: c_uint,
binaryFormat: GLenum,
binary: *const c_void,
length: c_int
)
glProgramBinary
program
class: programbinary
len: length
pub unsafe fn ProgramParameteri(
&self,
program: c_uint,
pname: ProgramParameterPName,
value: c_int
)
[src]
&self,
program: c_uint,
pname: ProgramParameterPName,
value: c_int
)
glProgramParameteri
program
class: programpname
group: ProgramParameterPName
pub unsafe fn ProgramUniform1d(
&self,
program: c_uint,
location: c_int,
v0: c_double
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_double
)
glProgramUniform1d
program
class: program
pub unsafe fn ProgramUniform1dv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_double
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_double
)
glProgramUniform1dv
program
class: programvalue
len: count
pub unsafe fn ProgramUniform1f(
&self,
program: c_uint,
location: c_int,
v0: c_float
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_float
)
glProgramUniform1f
program
class: program
pub unsafe fn ProgramUniform1fv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_float
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_float
)
glProgramUniform1fv
program
class: programvalue
len: count
pub unsafe fn ProgramUniform1i(
&self,
program: c_uint,
location: c_int,
v0: c_int
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_int
)
glProgramUniform1i
program
class: program
pub unsafe fn ProgramUniform1iv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_int
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_int
)
glProgramUniform1iv
program
class: programvalue
len: count
pub unsafe fn ProgramUniform1ui(
&self,
program: c_uint,
location: c_int,
v0: c_uint
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_uint
)
glProgramUniform1ui
program
class: program
pub unsafe fn ProgramUniform1uiv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_uint
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_uint
)
glProgramUniform1uiv
program
class: programvalue
len: count
pub unsafe fn ProgramUniform2d(
&self,
program: c_uint,
location: c_int,
v0: c_double,
v1: c_double
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_double,
v1: c_double
)
glProgramUniform2d
program
class: program
pub unsafe fn ProgramUniform2dv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_double
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_double
)
glProgramUniform2dv
program
class: programvalue
len: count*2
pub unsafe fn ProgramUniform2f(
&self,
program: c_uint,
location: c_int,
v0: c_float,
v1: c_float
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_float,
v1: c_float
)
glProgramUniform2f
program
class: program
pub unsafe fn ProgramUniform2fv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_float
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_float
)
glProgramUniform2fv
program
class: programvalue
len: count*2
pub unsafe fn ProgramUniform2i(
&self,
program: c_uint,
location: c_int,
v0: c_int,
v1: c_int
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_int,
v1: c_int
)
glProgramUniform2i
program
class: program
pub unsafe fn ProgramUniform2iv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_int
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_int
)
glProgramUniform2iv
program
class: programvalue
len: count*2
pub unsafe fn ProgramUniform2ui(
&self,
program: c_uint,
location: c_int,
v0: c_uint,
v1: c_uint
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_uint,
v1: c_uint
)
glProgramUniform2ui
program
class: program
pub unsafe fn ProgramUniform2uiv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_uint
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_uint
)
glProgramUniform2uiv
program
class: programvalue
len: count*2
pub unsafe fn ProgramUniform3d(
&self,
program: c_uint,
location: c_int,
v0: c_double,
v1: c_double,
v2: c_double
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_double,
v1: c_double,
v2: c_double
)
glProgramUniform3d
program
class: program
pub unsafe fn ProgramUniform3dv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_double
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_double
)
glProgramUniform3dv
program
class: programvalue
len: count*3
pub unsafe fn ProgramUniform3f(
&self,
program: c_uint,
location: c_int,
v0: c_float,
v1: c_float,
v2: c_float
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_float,
v1: c_float,
v2: c_float
)
glProgramUniform3f
program
class: program
pub unsafe fn ProgramUniform3fv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_float
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_float
)
glProgramUniform3fv
program
class: programvalue
len: count*3
pub unsafe fn ProgramUniform3i(
&self,
program: c_uint,
location: c_int,
v0: c_int,
v1: c_int,
v2: c_int
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_int,
v1: c_int,
v2: c_int
)
glProgramUniform3i
program
class: program
pub unsafe fn ProgramUniform3iv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_int
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_int
)
glProgramUniform3iv
program
class: programvalue
len: count*3
pub unsafe fn ProgramUniform3ui(
&self,
program: c_uint,
location: c_int,
v0: c_uint,
v1: c_uint,
v2: c_uint
)
[src]
&self,
program: c_uint,
location: c_int,
v0: c_uint,
v1: c_uint,
v2: c_uint
)
glProgramUniform3ui
program
class: program
pub unsafe fn ProgramUniform3uiv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_uint
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_uint
)
glProgramUniform3uiv
program
class: programvalue
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]
&self,
program: c_uint,
location: c_int,
v0: c_double,
v1: c_double,
v2: c_double,
v3: c_double
)
glProgramUniform4d
program
class: program
pub unsafe fn ProgramUniform4dv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_double
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_double
)
glProgramUniform4dv
program
class: programvalue
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]
&self,
program: c_uint,
location: c_int,
v0: c_float,
v1: c_float,
v2: c_float,
v3: c_float
)
glProgramUniform4f
program
class: program
pub unsafe fn ProgramUniform4fv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_float
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_float
)
glProgramUniform4fv
program
class: programvalue
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]
&self,
program: c_uint,
location: c_int,
v0: c_int,
v1: c_int,
v2: c_int,
v3: c_int
)
glProgramUniform4i
program
class: program
pub unsafe fn ProgramUniform4iv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_int
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_int
)
glProgramUniform4iv
program
class: programvalue
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]
&self,
program: c_uint,
location: c_int,
v0: c_uint,
v1: c_uint,
v2: c_uint,
v3: c_uint
)
glProgramUniform4ui
program
class: program
pub unsafe fn ProgramUniform4uiv(
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_uint
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
value: *const c_uint
)
glProgramUniform4uiv
program
class: programvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glProgramUniformMatrix2dv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glProgramUniformMatrix2fv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glProgramUniformMatrix2x3dv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glProgramUniformMatrix2x3fv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glProgramUniformMatrix2x4dv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glProgramUniformMatrix2x4fv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glProgramUniformMatrix3dv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glProgramUniformMatrix3fv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glProgramUniformMatrix3x2dv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glProgramUniformMatrix3x2fv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glProgramUniformMatrix3x4dv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glProgramUniformMatrix3x4fv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glProgramUniformMatrix4dv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glProgramUniformMatrix4fv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glProgramUniformMatrix4x2dv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glProgramUniformMatrix4x2fv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glProgramUniformMatrix4x3dv
program
class: programtranspose
group: Booleanvalue
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]
&self,
program: c_uint,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glProgramUniformMatrix4x3fv
program
class: programtranspose
group: Booleanvalue
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]
&self,
source: DebugSource,
id: c_uint,
length: c_int,
message: *const u8
)
glPushDebugGroup
source
group: DebugSourcemessage
len: COMPSIZE(message,length)
pub unsafe fn QueryCounter(&self, id: c_uint, target: QueryCounterTarget)
[src]
glQueryCounter
id
class: querytarget
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]
&self,
x: c_int,
y: c_int,
width: c_int,
height: c_int,
format: PixelFormat,
type_: PixelType,
pixels: *mut c_void
)
glReadPixels
x
group: WinCoordy
group: WinCoordformat
group: PixelFormattype
group: PixelTypepixels
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]
&self,
x: c_int,
y: c_int,
width: c_int,
height: c_int,
format: PixelFormat,
type_: PixelType,
bufSize: c_int,
data: *mut c_void
)
glReadnPixels
format
group: PixelFormattype
group: PixelTypedata
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]
&self,
target: RenderbufferTarget,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
glRenderbufferStorage
target
group: RenderbufferTargetinternalformat
group: InternalFormat
pub unsafe fn RenderbufferStorageMultisample(
&self,
target: RenderbufferTarget,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
[src]
&self,
target: RenderbufferTarget,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
glRenderbufferStorageMultisample
target
group: RenderbufferTargetinternalformat
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]
&self,
sampler: c_uint,
pname: SamplerParameterI,
param: *const c_int
)
glSamplerParameterIiv
sampler
class: samplerpname
group: SamplerParameterIparam
len: COMPSIZE(pname)
pub unsafe fn SamplerParameterIuiv(
&self,
sampler: c_uint,
pname: SamplerParameterI,
param: *const c_uint
)
[src]
&self,
sampler: c_uint,
pname: SamplerParameterI,
param: *const c_uint
)
glSamplerParameterIuiv
sampler
class: samplerpname
group: SamplerParameterIparam
len: COMPSIZE(pname)
pub unsafe fn SamplerParameterf(
&self,
sampler: c_uint,
pname: SamplerParameterF,
param: c_float
)
[src]
&self,
sampler: c_uint,
pname: SamplerParameterF,
param: c_float
)
glSamplerParameterf
sampler
class: samplerpname
group: SamplerParameterF
pub unsafe fn SamplerParameterfv(
&self,
sampler: c_uint,
pname: SamplerParameterF,
param: *const c_float
)
[src]
&self,
sampler: c_uint,
pname: SamplerParameterF,
param: *const c_float
)
glSamplerParameterfv
sampler
class: samplerpname
group: SamplerParameterFparam
len: COMPSIZE(pname)
pub unsafe fn SamplerParameteri(
&self,
sampler: c_uint,
pname: SamplerParameterI,
param: c_int
)
[src]
&self,
sampler: c_uint,
pname: SamplerParameterI,
param: c_int
)
glSamplerParameteri
sampler
class: samplerpname
group: SamplerParameterI
pub unsafe fn SamplerParameteriv(
&self,
sampler: c_uint,
pname: SamplerParameterI,
param: *const c_int
)
[src]
&self,
sampler: c_uint,
pname: SamplerParameterI,
param: *const c_int
)
glSamplerParameteriv
sampler
class: samplerpname
group: SamplerParameterIparam
len: COMPSIZE(pname)
pub unsafe fn Scissor(&self, x: c_int, y: c_int, width: c_int, height: c_int)
[src]
glScissor
x
group: WinCoordy
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]
&self,
index: c_uint,
left: c_int,
bottom: c_int,
width: c_int,
height: c_int
)
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]
&self,
count: c_int,
shaders: *const c_uint,
binaryFormat: ShaderBinaryFormat,
binary: *const c_void,
length: c_int
)
glShaderBinary
shaders
class: shadershaders
len: countbinaryFormat
group: ShaderBinaryFormatbinary
len: length
pub unsafe fn ShaderSource(
&self,
shader: c_uint,
count: c_int,
string: *const *const u8,
length: *const c_int
)
[src]
&self,
shader: c_uint,
count: c_int,
string: *const *const u8,
length: *const c_int
)
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 thestring
andlength
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 instring
(or negative if that entry is null-termiated). iflength
is null then all strings instring
must each be null-termianted.
pub unsafe fn ShaderStorageBlockBinding(
&self,
program: c_uint,
storageBlockIndex: c_uint,
storageBlockBinding: c_uint
)
[src]
&self,
program: c_uint,
storageBlockIndex: c_uint,
storageBlockBinding: c_uint
)
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]
&self,
shader: c_uint,
pEntryPoint: *const u8,
numSpecializationConstants: c_uint,
pConstantIndex: *const c_uint,
pConstantValue: *const c_uint
)
glSpecializeShader
shader
class: shader
pub unsafe fn StencilFunc(
&self,
func: StencilFunction,
ref_: c_int,
mask: c_uint
)
[src]
&self,
func: StencilFunction,
ref_: c_int,
mask: c_uint
)
glStencilFunc
func
group: StencilFunctionref
group: StencilValuemask
group: MaskedStencilValue
pub unsafe fn StencilFuncSeparate(
&self,
face: StencilFaceDirection,
func: StencilFunction,
ref_: c_int,
mask: c_uint
)
[src]
&self,
face: StencilFaceDirection,
func: StencilFunction,
ref_: c_int,
mask: c_uint
)
glStencilFuncSeparate
face
group: StencilFaceDirectionfunc
group: StencilFunctionref
group: StencilValuemask
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]
&self,
face: StencilFaceDirection,
mask: c_uint
)
glStencilMaskSeparate
face
group: StencilFaceDirectionmask
group: MaskedStencilValue
pub unsafe fn StencilOp(
&self,
fail: StencilOp,
zfail: StencilOp,
zpass: StencilOp
)
[src]
&self,
fail: StencilOp,
zfail: StencilOp,
zpass: StencilOp
)
glStencilOp
fail
group: StencilOpzfail
group: StencilOpzpass
group: StencilOp
pub unsafe fn StencilOpSeparate(
&self,
face: StencilFaceDirection,
sfail: StencilOp,
dpfail: StencilOp,
dppass: StencilOp
)
[src]
&self,
face: StencilFaceDirection,
sfail: StencilOp,
dpfail: StencilOp,
dppass: StencilOp
)
glStencilOpSeparate
face
group: StencilFaceDirectionsfail
group: StencilOpdpfail
group: StencilOpdppass
group: StencilOp
pub unsafe fn TexBuffer(
&self,
target: TextureTarget,
internalformat: InternalFormat,
buffer: c_uint
)
[src]
&self,
target: TextureTarget,
internalformat: InternalFormat,
buffer: c_uint
)
glTexBuffer
target
group: TextureTargetinternalformat
group: InternalFormatbuffer
class: buffer
pub unsafe fn TexBufferRange(
&self,
target: TextureTarget,
internalformat: InternalFormat,
buffer: c_uint,
offset: isize,
size: isize
)
[src]
&self,
target: TextureTarget,
internalformat: InternalFormat,
buffer: c_uint,
offset: isize,
size: isize
)
glTexBufferRange
target
group: TextureTargetinternalformat
group: InternalFormatbuffer
class: bufferoffset
group: BufferOffsetsize
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]
&self,
target: TextureTarget,
level: c_int,
internalformat: c_int,
width: c_int,
border: c_int,
format: PixelFormat,
type_: PixelType,
pixels: *const c_void
)
glTexImage1D
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32format
group: PixelFormattype
group: PixelTypepixels
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]
&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
)
glTexImage2D
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32format
group: PixelFormattype
group: PixelTypepixels
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]
&self,
target: TextureTarget,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
fixedsamplelocations: c_uchar
)
glTexImage2DMultisample
target
group: TextureTargetinternalformat
group: InternalFormatfixedsamplelocations
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]
&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
)
glTexImage3D
target
group: TextureTargetlevel
group: CheckedInt32internalformat
group: InternalFormatborder
group: CheckedInt32format
group: PixelFormattype
group: PixelTypepixels
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]
&self,
target: TextureTarget,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
depth: c_int,
fixedsamplelocations: c_uchar
)
glTexImage3DMultisample
target
group: TextureTargetinternalformat
group: InternalFormatfixedsamplelocations
group: Boolean
pub unsafe fn TexParameterIiv(
&self,
target: TextureTarget,
pname: TextureParameterName,
params: *const c_int
)
[src]
&self,
target: TextureTarget,
pname: TextureParameterName,
params: *const c_int
)
glTexParameterIiv
target
group: TextureTargetpname
group: TextureParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn TexParameterIuiv(
&self,
target: TextureTarget,
pname: TextureParameterName,
params: *const c_uint
)
[src]
&self,
target: TextureTarget,
pname: TextureParameterName,
params: *const c_uint
)
glTexParameterIuiv
target
group: TextureTargetpname
group: TextureParameterNameparams
len: COMPSIZE(pname)
pub unsafe fn TexParameterf(
&self,
target: TextureTarget,
pname: TextureParameterName,
param: c_float
)
[src]
&self,
target: TextureTarget,
pname: TextureParameterName,
param: c_float
)
glTexParameterf
target
group: TextureTargetpname
group: TextureParameterNameparam
group: CheckedFloat32
pub unsafe fn TexParameterfv(
&self,
target: TextureTarget,
pname: TextureParameterName,
params: *const c_float
)
[src]
&self,
target: TextureTarget,
pname: TextureParameterName,
params: *const c_float
)
glTexParameterfv
target
group: TextureTargetpname
group: TextureParameterNameparams
group: CheckedFloat32params
len: COMPSIZE(pname)
pub unsafe fn TexParameteri(
&self,
target: TextureTarget,
pname: TextureParameterName,
param: c_int
)
[src]
&self,
target: TextureTarget,
pname: TextureParameterName,
param: c_int
)
glTexParameteri
target
group: TextureTargetpname
group: TextureParameterNameparam
group: CheckedInt32
pub unsafe fn TexParameteriv(
&self,
target: TextureTarget,
pname: TextureParameterName,
params: *const c_int
)
[src]
&self,
target: TextureTarget,
pname: TextureParameterName,
params: *const c_int
)
glTexParameteriv
target
group: TextureTargetpname
group: TextureParameterNameparams
group: CheckedInt32params
len: COMPSIZE(pname)
pub unsafe fn TexStorage1D(
&self,
target: TextureTarget,
levels: c_int,
internalformat: InternalFormat,
width: c_int
)
[src]
&self,
target: TextureTarget,
levels: c_int,
internalformat: InternalFormat,
width: c_int
)
glTexStorage1D
target
group: TextureTargetinternalformat
group: InternalFormat
pub unsafe fn TexStorage2D(
&self,
target: TextureTarget,
levels: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
[src]
&self,
target: TextureTarget,
levels: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
glTexStorage2D
target
group: TextureTargetinternalformat
group: InternalFormat
pub unsafe fn TexStorage2DMultisample(
&self,
target: TextureTarget,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
fixedsamplelocations: c_uchar
)
[src]
&self,
target: TextureTarget,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
fixedsamplelocations: c_uchar
)
glTexStorage2DMultisample
target
group: TextureTargetinternalformat
group: InternalFormatfixedsamplelocations
group: Boolean
pub unsafe fn TexStorage3D(
&self,
target: TextureTarget,
levels: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
depth: c_int
)
[src]
&self,
target: TextureTarget,
levels: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
depth: c_int
)
glTexStorage3D
target
group: TextureTargetinternalformat
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]
&self,
target: TextureTarget,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
depth: c_int,
fixedsamplelocations: c_uchar
)
glTexStorage3DMultisample
target
group: TextureTargetinternalformat
group: InternalFormatfixedsamplelocations
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]
&self,
target: TextureTarget,
level: c_int,
xoffset: c_int,
width: c_int,
format: PixelFormat,
type_: PixelType,
pixels: *const c_void
)
glTexSubImage1D
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32format
group: PixelFormattype
group: PixelTypepixels
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]
&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
)
glTexSubImage2D
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32format
group: PixelFormattype
group: PixelTypepixels
len: COMPSIZE(format,type,width,height)
pub unsafe fn TexSubImage3D(
&self,
target: 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]
&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
)
glTexSubImage3D
target
group: TextureTargetlevel
group: CheckedInt32xoffset
group: CheckedInt32yoffset
group: CheckedInt32zoffset
group: CheckedInt32format
group: PixelFormattype
group: PixelTypepixels
len: COMPSIZE(format,type,width,height,depth)
pub unsafe fn TextureBarrier(&self)
[src]
glTextureBarrier
pub unsafe fn TextureBuffer(
&self,
texture: c_uint,
internalformat: InternalFormat,
buffer: c_uint
)
[src]
&self,
texture: c_uint,
internalformat: InternalFormat,
buffer: c_uint
)
glTextureBuffer
texture
class: textureinternalformat
group: InternalFormatbuffer
class: buffer
pub unsafe fn TextureBufferRange(
&self,
texture: c_uint,
internalformat: InternalFormat,
buffer: c_uint,
offset: isize,
size: isize
)
[src]
&self,
texture: c_uint,
internalformat: InternalFormat,
buffer: c_uint,
offset: isize,
size: isize
)
glTextureBufferRange
texture
class: textureinternalformat
group: InternalFormatbuffer
class: buffersize
group: BufferSize
pub unsafe fn TextureParameterIiv(
&self,
texture: c_uint,
pname: TextureParameterName,
params: *const c_int
)
[src]
&self,
texture: c_uint,
pname: TextureParameterName,
params: *const c_int
)
glTextureParameterIiv
texture
class: texturepname
group: TextureParameterName
pub unsafe fn TextureParameterIuiv(
&self,
texture: c_uint,
pname: TextureParameterName,
params: *const c_uint
)
[src]
&self,
texture: c_uint,
pname: TextureParameterName,
params: *const c_uint
)
glTextureParameterIuiv
texture
class: texturepname
group: TextureParameterName
pub unsafe fn TextureParameterf(
&self,
texture: c_uint,
pname: TextureParameterName,
param: c_float
)
[src]
&self,
texture: c_uint,
pname: TextureParameterName,
param: c_float
)
glTextureParameterf
texture
class: texturepname
group: TextureParameterName
pub unsafe fn TextureParameterfv(
&self,
texture: c_uint,
pname: TextureParameterName,
param: *const c_float
)
[src]
&self,
texture: c_uint,
pname: TextureParameterName,
param: *const c_float
)
glTextureParameterfv
texture
class: texturepname
group: TextureParameterName
pub unsafe fn TextureParameteri(
&self,
texture: c_uint,
pname: TextureParameterName,
param: c_int
)
[src]
&self,
texture: c_uint,
pname: TextureParameterName,
param: c_int
)
glTextureParameteri
texture
class: texturepname
group: TextureParameterName
pub unsafe fn TextureParameteriv(
&self,
texture: c_uint,
pname: TextureParameterName,
param: *const c_int
)
[src]
&self,
texture: c_uint,
pname: TextureParameterName,
param: *const c_int
)
glTextureParameteriv
texture
class: texturepname
group: TextureParameterName
pub unsafe fn TextureStorage1D(
&self,
texture: c_uint,
levels: c_int,
internalformat: InternalFormat,
width: c_int
)
[src]
&self,
texture: c_uint,
levels: c_int,
internalformat: InternalFormat,
width: c_int
)
glTextureStorage1D
texture
class: textureinternalformat
group: InternalFormat
pub unsafe fn TextureStorage2D(
&self,
texture: c_uint,
levels: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
[src]
&self,
texture: c_uint,
levels: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int
)
glTextureStorage2D
texture
class: textureinternalformat
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]
&self,
texture: c_uint,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
fixedsamplelocations: c_uchar
)
glTextureStorage2DMultisample
texture
class: textureinternalformat
group: InternalFormatfixedsamplelocations
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]
&self,
texture: c_uint,
levels: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
depth: c_int
)
glTextureStorage3D
texture
class: textureinternalformat
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]
&self,
texture: c_uint,
samples: c_int,
internalformat: InternalFormat,
width: c_int,
height: c_int,
depth: c_int,
fixedsamplelocations: c_uchar
)
glTextureStorage3DMultisample
texture
class: textureinternalformat
group: InternalFormatfixedsamplelocations
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]
&self,
texture: c_uint,
level: c_int,
xoffset: c_int,
width: c_int,
format: PixelFormat,
type_: PixelType,
pixels: *const c_void
)
glTextureSubImage1D
texture
class: textureformat
group: PixelFormattype
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]
&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
)
glTextureSubImage2D
texture
class: textureformat
group: PixelFormattype
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]
&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
)
glTextureSubImage3D
texture
class: textureformat
group: PixelFormattype
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]
&self,
texture: c_uint,
target: TextureTarget,
origtexture: c_uint,
internalformat: InternalFormat,
minlevel: c_uint,
numlevels: c_uint,
minlayer: c_uint,
numlayers: c_uint
)
glTextureView
texture
class: texturetarget
group: TextureTargetorigtexture
class: textureinternalformat
group: InternalFormat
pub unsafe fn TransformFeedbackBufferBase(
&self,
xfb: c_uint,
index: c_uint,
buffer: c_uint
)
[src]
&self,
xfb: c_uint,
index: c_uint,
buffer: c_uint
)
glTransformFeedbackBufferBase
xfb
class: transform feedbackbuffer
class: buffer
pub unsafe fn TransformFeedbackBufferRange(
&self,
xfb: c_uint,
index: c_uint,
buffer: c_uint,
offset: isize,
size: isize
)
[src]
&self,
xfb: c_uint,
index: c_uint,
buffer: c_uint,
offset: isize,
size: isize
)
glTransformFeedbackBufferRange
xfb
class: transform feedbackbuffer
class: buffersize
group: BufferSize
pub unsafe fn TransformFeedbackVaryings(
&self,
program: c_uint,
count: c_int,
varyings: *const *const u8,
bufferMode: TransformFeedbackBufferMode
)
[src]
&self,
program: c_uint,
count: c_int,
varyings: *const *const u8,
bufferMode: TransformFeedbackBufferMode
)
glTransformFeedbackVaryings
program
class: programvaryings
len: countbufferMode
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]
&self,
location: c_int,
count: c_int,
value: *const c_double
)
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]
&self,
location: c_int,
count: c_int,
value: *const c_float
)
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]
&self,
location: c_int,
count: c_int,
value: *const c_int
)
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]
&self,
location: c_int,
count: c_int,
value: *const c_uint
)
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]
&self,
location: c_int,
count: c_int,
value: *const c_double
)
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]
&self,
location: c_int,
count: c_int,
value: *const c_float
)
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]
&self,
location: c_int,
count: c_int,
value: *const c_int
)
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]
&self,
location: c_int,
count: c_int,
value: *const c_uint
)
glUniform2uiv
value
len: count*2
pub unsafe fn Uniform3d(
&self,
location: c_int,
x: c_double,
y: c_double,
z: c_double
)
[src]
&self,
location: c_int,
x: c_double,
y: c_double,
z: c_double
)
glUniform3d
pub unsafe fn Uniform3dv(
&self,
location: c_int,
count: c_int,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
value: *const c_double
)
glUniform3dv
value
len: count*3
pub unsafe fn Uniform3f(
&self,
location: c_int,
v0: c_float,
v1: c_float,
v2: c_float
)
[src]
&self,
location: c_int,
v0: c_float,
v1: c_float,
v2: c_float
)
glUniform3f
pub unsafe fn Uniform3fv(
&self,
location: c_int,
count: c_int,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
value: *const c_float
)
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]
&self,
location: c_int,
count: c_int,
value: *const c_int
)
glUniform3iv
value
len: count*3
pub unsafe fn Uniform3ui(
&self,
location: c_int,
v0: c_uint,
v1: c_uint,
v2: c_uint
)
[src]
&self,
location: c_int,
v0: c_uint,
v1: c_uint,
v2: c_uint
)
glUniform3ui
pub unsafe fn Uniform3uiv(
&self,
location: c_int,
count: c_int,
value: *const c_uint
)
[src]
&self,
location: c_int,
count: c_int,
value: *const c_uint
)
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]
&self,
location: c_int,
x: c_double,
y: c_double,
z: c_double,
w: c_double
)
glUniform4d
pub unsafe fn Uniform4dv(
&self,
location: c_int,
count: c_int,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
value: *const c_double
)
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]
&self,
location: c_int,
v0: c_float,
v1: c_float,
v2: c_float,
v3: c_float
)
glUniform4f
pub unsafe fn Uniform4fv(
&self,
location: c_int,
count: c_int,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
value: *const c_float
)
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]
&self,
location: c_int,
v0: c_int,
v1: c_int,
v2: c_int,
v3: c_int
)
glUniform4i
pub unsafe fn Uniform4iv(
&self,
location: c_int,
count: c_int,
value: *const c_int
)
[src]
&self,
location: c_int,
count: c_int,
value: *const c_int
)
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]
&self,
location: c_int,
v0: c_uint,
v1: c_uint,
v2: c_uint,
v3: c_uint
)
glUniform4ui
pub unsafe fn Uniform4uiv(
&self,
location: c_int,
count: c_int,
value: *const c_uint
)
[src]
&self,
location: c_int,
count: c_int,
value: *const c_uint
)
glUniform4uiv
value
len: count*4
pub unsafe fn UniformBlockBinding(
&self,
program: c_uint,
uniformBlockIndex: c_uint,
uniformBlockBinding: c_uint
)
[src]
&self,
program: c_uint,
uniformBlockIndex: c_uint,
uniformBlockBinding: c_uint
)
glUniformBlockBinding
program
class: program
pub unsafe fn UniformMatrix2dv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glUniformMatrix2dv
transpose
group: Booleanvalue
len: count*4
pub unsafe fn UniformMatrix2fv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glUniformMatrix2fv
transpose
group: Booleanvalue
len: count*4
pub unsafe fn UniformMatrix2x3dv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glUniformMatrix2x3dv
transpose
group: Booleanvalue
len: count*6
pub unsafe fn UniformMatrix2x3fv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glUniformMatrix2x3fv
transpose
group: Booleanvalue
len: count*6
pub unsafe fn UniformMatrix2x4dv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glUniformMatrix2x4dv
transpose
group: Booleanvalue
len: count*8
pub unsafe fn UniformMatrix2x4fv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glUniformMatrix2x4fv
transpose
group: Booleanvalue
len: count*8
pub unsafe fn UniformMatrix3dv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glUniformMatrix3dv
transpose
group: Booleanvalue
len: count*9
pub unsafe fn UniformMatrix3fv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glUniformMatrix3fv
transpose
group: Booleanvalue
len: count*9
pub unsafe fn UniformMatrix3x2dv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glUniformMatrix3x2dv
transpose
group: Booleanvalue
len: count*6
pub unsafe fn UniformMatrix3x2fv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glUniformMatrix3x2fv
transpose
group: Booleanvalue
len: count*6
pub unsafe fn UniformMatrix3x4dv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glUniformMatrix3x4dv
transpose
group: Booleanvalue
len: count*12
pub unsafe fn UniformMatrix3x4fv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glUniformMatrix3x4fv
transpose
group: Booleanvalue
len: count*12
pub unsafe fn UniformMatrix4dv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glUniformMatrix4dv
transpose
group: Booleanvalue
len: count*16
pub unsafe fn UniformMatrix4fv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glUniformMatrix4fv
transpose
group: Booleanvalue
len: count*16
pub unsafe fn UniformMatrix4x2dv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glUniformMatrix4x2dv
transpose
group: Booleanvalue
len: count*8
pub unsafe fn UniformMatrix4x2fv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glUniformMatrix4x2fv
transpose
group: Booleanvalue
len: count*8
pub unsafe fn UniformMatrix4x3dv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_double
)
glUniformMatrix4x3dv
transpose
group: Booleanvalue
len: count*12
pub unsafe fn UniformMatrix4x3fv(
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
[src]
&self,
location: c_int,
count: c_int,
transpose: c_uchar,
value: *const c_float
)
glUniformMatrix4x3fv
transpose
group: Booleanvalue
len: count*12
pub unsafe fn UniformSubroutinesuiv(
&self,
shadertype: ShaderType,
count: c_int,
indices: *const c_uint
)
[src]
&self,
shadertype: ShaderType,
count: c_int,
indices: *const c_uint
)
glUniformSubroutinesuiv
shadertype
group: ShaderTypeindices
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]
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]
&self,
pipeline: c_uint,
stages: GLbitfield,
program: c_uint
)
glUseProgramStages
pipeline
class: program pipelinestages
group: UseProgramStageMaskprogram
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]
&self,
vaobj: c_uint,
attribindex: c_uint,
bindingindex: c_uint
)
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]
&self,
vaobj: c_uint,
attribindex: c_uint,
size: c_int,
type_: VertexAttribType,
normalized: c_uchar,
relativeoffset: c_uint
)
glVertexArrayAttribFormat
vaobj
class: vertex arraytype
group: VertexAttribTypenormalized
group: Boolean
pub unsafe fn VertexArrayAttribIFormat(
&self,
vaobj: c_uint,
attribindex: c_uint,
size: c_int,
type_: VertexAttribIType,
relativeoffset: c_uint
)
[src]
&self,
vaobj: c_uint,
attribindex: c_uint,
size: c_int,
type_: VertexAttribIType,
relativeoffset: c_uint
)
glVertexArrayAttribIFormat
vaobj
class: vertex arraytype
group: VertexAttribIType
pub unsafe fn VertexArrayAttribLFormat(
&self,
vaobj: c_uint,
attribindex: c_uint,
size: c_int,
type_: VertexAttribLType,
relativeoffset: c_uint
)
[src]
&self,
vaobj: c_uint,
attribindex: c_uint,
size: c_int,
type_: VertexAttribLType,
relativeoffset: c_uint
)
glVertexArrayAttribLFormat
vaobj
class: vertex arraytype
group: VertexAttribLType
pub unsafe fn VertexArrayBindingDivisor(
&self,
vaobj: c_uint,
bindingindex: c_uint,
divisor: c_uint
)
[src]
&self,
vaobj: c_uint,
bindingindex: c_uint,
divisor: c_uint
)
glVertexArrayBindingDivisor
vaobj
class: vertex array
pub unsafe fn VertexArrayElementBuffer(&self, vaobj: c_uint, buffer: c_uint)
[src]
glVertexArrayElementBuffer
vaobj
class: vertex arraybuffer
class: buffer
pub unsafe fn VertexArrayVertexBuffer(
&self,
vaobj: c_uint,
bindingindex: c_uint,
buffer: c_uint,
offset: isize,
stride: c_int
)
[src]
&self,
vaobj: c_uint,
bindingindex: c_uint,
buffer: c_uint,
offset: isize,
stride: c_int
)
glVertexArrayVertexBuffer
vaobj
class: vertex arraybuffer
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]
&self,
vaobj: c_uint,
first: c_uint,
count: c_int,
buffers: *const c_uint,
offsets: *const isize,
strides: *const c_int
)
glVertexArrayVertexBuffers
vaobj
class: vertex arraybuffers
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]
&self,
index: c_uint,
x: c_double,
y: c_double,
z: c_double
)
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]
&self,
index: c_uint,
x: c_float,
y: c_float,
z: c_float
)
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]
&self,
index: c_uint,
x: c_double,
y: c_double,
z: c_double,
w: c_double
)
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]
&self,
index: c_uint,
x: c_float,
y: c_float,
z: c_float,
w: c_float
)
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]
&self,
index: c_uint,
x: i16,
y: i16,
z: i16,
w: i16
)
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]
&self,
attribindex: c_uint,
bindingindex: c_uint
)
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]
&self,
attribindex: c_uint,
size: c_int,
type_: VertexAttribType,
normalized: c_uchar,
relativeoffset: c_uint
)
glVertexAttribFormat
type
group: VertexAttribTypenormalized
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]
&self,
index: c_uint,
x: c_int,
y: c_int,
z: c_int
)
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]
&self,
index: c_uint,
x: c_uint,
y: c_uint,
z: c_uint
)
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]
&self,
index: c_uint,
x: c_int,
y: c_int,
z: c_int,
w: c_int
)
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]
&self,
index: c_uint,
x: c_uint,
y: c_uint,
z: c_uint,
w: c_uint
)
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]
&self,
attribindex: c_uint,
size: c_int,
type_: VertexAttribIType,
relativeoffset: c_uint
)
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]
&self,
index: c_uint,
size: c_int,
type_: VertexAttribIType,
stride: c_int,
pointer: *const c_void
)
glVertexAttribIPointer
type
group: VertexAttribITypepointer
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]
&self,
index: c_uint,
x: c_double,
y: c_double,
z: c_double
)
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]
&self,
index: c_uint,
x: c_double,
y: c_double,
z: c_double,
w: c_double
)
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]
&self,
attribindex: c_uint,
size: c_int,
type_: VertexAttribLType,
relativeoffset: c_uint
)
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]
&self,
index: c_uint,
size: c_int,
type_: VertexAttribLType,
stride: c_int,
pointer: *const c_void
)
glVertexAttribLPointer
type
group: VertexAttribLTypepointer
len: size
pub unsafe fn VertexAttribP1ui(
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: c_uint
)
[src]
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: c_uint
)
glVertexAttribP1ui
type
group: VertexAttribPointerTypenormalized
group: Boolean
pub unsafe fn VertexAttribP1uiv(
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: *const c_uint
)
[src]
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: *const c_uint
)
glVertexAttribP1uiv
type
group: VertexAttribPointerTypenormalized
group: Boolean
pub unsafe fn VertexAttribP2ui(
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: c_uint
)
[src]
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: c_uint
)
glVertexAttribP2ui
type
group: VertexAttribPointerTypenormalized
group: Boolean
pub unsafe fn VertexAttribP2uiv(
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: *const c_uint
)
[src]
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: *const c_uint
)
glVertexAttribP2uiv
type
group: VertexAttribPointerTypenormalized
group: Boolean
pub unsafe fn VertexAttribP3ui(
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: c_uint
)
[src]
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: c_uint
)
glVertexAttribP3ui
type
group: VertexAttribPointerTypenormalized
group: Boolean
pub unsafe fn VertexAttribP3uiv(
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: *const c_uint
)
[src]
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: *const c_uint
)
glVertexAttribP3uiv
type
group: VertexAttribPointerTypenormalized
group: Boolean
pub unsafe fn VertexAttribP4ui(
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: c_uint
)
[src]
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: c_uint
)
glVertexAttribP4ui
type
group: VertexAttribPointerTypenormalized
group: Boolean
pub unsafe fn VertexAttribP4uiv(
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: *const c_uint
)
[src]
&self,
index: c_uint,
type_: VertexAttribPointerType,
normalized: c_uchar,
value: *const c_uint
)
glVertexAttribP4uiv
type
group: VertexAttribPointerTypenormalized
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]
&self,
index: c_uint,
size: c_int,
type_: VertexAttribPointerType,
normalized: c_uchar,
stride: c_int,
pointer: *const c_void
)
glVertexAttribPointer
type
group: VertexAttribPointerTypenormalized
group: Booleanpointer
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: WinCoordy
group: WinCoord
pub unsafe fn ViewportArrayv(
&self,
first: c_uint,
count: c_int,
v: *const c_float
)
[src]
&self,
first: c_uint,
count: c_int,
v: *const c_float
)
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]
&self,
index: c_uint,
x: c_float,
y: c_float,
w: c_float,
h: c_float
)
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: syncsync
class: syncflags
group: SyncBehaviorFlags
pub unsafe fn GetImageHandleARB(
&self,
texture: c_uint,
level: c_int,
layered: c_uchar,
layer: c_int,
format: PixelFormat
) -> u64
[src]
&self,
texture: c_uint,
level: c_int,
layered: c_uchar,
layer: c_int,
format: PixelFormat
) -> u64
glGetImageHandleARB
texture
class: texturelayered
group: Booleanformat
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]
&self,
texture: c_uint,
sampler: c_uint
) -> u64
glGetTextureSamplerHandleARB
texture
class: texturesampler
class: sampler
pub unsafe fn GetVertexAttribLui64vARB(
&self,
index: c_uint,
pname: VertexAttribEnum,
params: *mut u64
)
[src]
&self,
index: c_uint,
pname: VertexAttribEnum,
params: *mut u64
)
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]
&self,
program: c_uint,
location: c_int,
value: u64
)
glProgramUniformHandleui64ARB
program
class: program
pub unsafe fn ProgramUniformHandleui64vARB(
&self,
program: c_uint,
location: c_int,
count: c_int,
values: *const u64
)
[src]
&self,
program: c_uint,
location: c_int,
count: c_int,
values: *const u64
)
glProgramUniformHandleui64vARB
program
class: programvalues
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]
&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
)
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]
&self,
location: c_int,
count: c_int,
value: *const u64
)
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
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,