[−][src]Struct miru_gl::MiruGl
Wrapper around Gl type that should be used instead of Gl
.
This transparent wrapper allows to safely share and use OpenGL functions without risk of them being called before they're loaded.
!Send
nature of Rc<T>
also guarantees that context won't be
transferred across thread boundaries, ensuring that functions of a context
can only be called in the same thread they were loaded in.
Methods
impl MiruGl
[src]
pub fn load_with<F>(loadfn: F) -> MiruGl where
F: FnMut(&'static str) -> *const c_void,
[src]
F: FnMut(&'static str) -> *const c_void,
Loads OpenGL functions and returns shared handle.
Examples
ⓘThis example is not tested
// the supplied function must be of the type: // `&fn(symbol: &'static str) -> *const std::ffi::c_void` let gl = miru_gl::MiruGl::load_with(|symbol| window.get_proc_address(symbol) as *const _);
pub fn version(&self) -> (u8, u8)
[src]
Returns OpenGL version used by Miru.
Examples
ⓘThis example is not tested
let (major, minor) = gl.version();
Methods from Deref<Target = Gl>
pub unsafe fn ActiveTexture(&self, texture: GLenum)
[src]
pub unsafe fn AttachShader(&self, program: GLuint, shader: GLuint)
[src]
pub unsafe fn BeginConditionalRender(&self, id: GLuint, mode: GLenum)
[src]
pub unsafe fn BeginQuery(&self, target: GLenum, id: GLuint)
[src]
pub unsafe fn BeginTransformFeedback(&self, primitiveMode: GLenum)
[src]
pub unsafe fn BindAttribLocation(
&self,
program: GLuint,
index: GLuint,
name: *const GLchar
)
[src]
&self,
program: GLuint,
index: GLuint,
name: *const GLchar
)
pub unsafe fn BindBuffer(&self, target: GLenum, buffer: GLuint)
[src]
pub unsafe fn BindBufferBase(
&self,
target: GLenum,
index: GLuint,
buffer: GLuint
)
[src]
&self,
target: GLenum,
index: GLuint,
buffer: GLuint
)
pub unsafe fn BindBufferRange(
&self,
target: GLenum,
index: GLuint,
buffer: GLuint,
offset: GLintptr,
size: GLsizeiptr
)
[src]
&self,
target: GLenum,
index: GLuint,
buffer: GLuint,
offset: GLintptr,
size: GLsizeiptr
)
pub unsafe fn BindFragDataLocation(
&self,
program: GLuint,
color: GLuint,
name: *const GLchar
)
[src]
&self,
program: GLuint,
color: GLuint,
name: *const GLchar
)
pub unsafe fn BindFragDataLocationIndexed(
&self,
program: GLuint,
colorNumber: GLuint,
index: GLuint,
name: *const GLchar
)
[src]
&self,
program: GLuint,
colorNumber: GLuint,
index: GLuint,
name: *const GLchar
)
pub unsafe fn BindFramebuffer(&self, target: GLenum, framebuffer: GLuint)
[src]
pub unsafe fn BindRenderbuffer(&self, target: GLenum, renderbuffer: GLuint)
[src]
pub unsafe fn BindSampler(&self, unit: GLuint, sampler: GLuint)
[src]
pub unsafe fn BindTexture(&self, target: GLenum, texture: GLuint)
[src]
pub unsafe fn BindVertexArray(&self, array: GLuint)
[src]
pub unsafe fn BlendColor(
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat
)
[src]
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat
)
pub unsafe fn BlendEquation(&self, mode: GLenum)
[src]
pub unsafe fn BlendEquationSeparate(&self, modeRGB: GLenum, modeAlpha: GLenum)
[src]
pub unsafe fn BlendFunc(&self, sfactor: GLenum, dfactor: GLenum)
[src]
pub unsafe fn BlendFuncSeparate(
&self,
sfactorRGB: GLenum,
dfactorRGB: GLenum,
sfactorAlpha: GLenum,
dfactorAlpha: GLenum
)
[src]
&self,
sfactorRGB: GLenum,
dfactorRGB: GLenum,
sfactorAlpha: GLenum,
dfactorAlpha: GLenum
)
pub unsafe fn BlitFramebuffer(
&self,
srcX0: GLint,
srcY0: GLint,
srcX1: GLint,
srcY1: GLint,
dstX0: GLint,
dstY0: GLint,
dstX1: GLint,
dstY1: GLint,
mask: GLbitfield,
filter: GLenum
)
[src]
&self,
srcX0: GLint,
srcY0: GLint,
srcX1: GLint,
srcY1: GLint,
dstX0: GLint,
dstY0: GLint,
dstX1: GLint,
dstY1: GLint,
mask: GLbitfield,
filter: GLenum
)
pub unsafe fn BufferData(
&self,
target: GLenum,
size: GLsizeiptr,
data: *const c_void,
usage: GLenum
)
[src]
&self,
target: GLenum,
size: GLsizeiptr,
data: *const c_void,
usage: GLenum
)
pub unsafe fn BufferSubData(
&self,
target: GLenum,
offset: GLintptr,
size: GLsizeiptr,
data: *const c_void
)
[src]
&self,
target: GLenum,
offset: GLintptr,
size: GLsizeiptr,
data: *const c_void
)
pub unsafe fn CheckFramebufferStatus(&self, target: GLenum) -> GLenum
[src]
pub unsafe fn ClampColor(&self, target: GLenum, clamp: GLenum)
[src]
pub unsafe fn Clear(&self, mask: GLbitfield)
[src]
pub unsafe fn ClearBufferfi(
&self,
buffer: GLenum,
drawbuffer: GLint,
depth: GLfloat,
stencil: GLint
)
[src]
&self,
buffer: GLenum,
drawbuffer: GLint,
depth: GLfloat,
stencil: GLint
)
pub unsafe fn ClearBufferfv(
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLfloat
)
[src]
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLfloat
)
pub unsafe fn ClearBufferiv(
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLint
)
[src]
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLint
)
pub unsafe fn ClearBufferuiv(
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLuint
)
[src]
&self,
buffer: GLenum,
drawbuffer: GLint,
value: *const GLuint
)
pub unsafe fn ClearColor(
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat
)
[src]
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat
)
pub unsafe fn ClearDepth(&self, depth: GLdouble)
[src]
pub unsafe fn ClearStencil(&self, s: GLint)
[src]
pub unsafe fn ClientWaitSync(
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64
) -> GLenum
[src]
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64
) -> GLenum
pub unsafe fn ColorMask(
&self,
red: GLboolean,
green: GLboolean,
blue: GLboolean,
alpha: GLboolean
)
[src]
&self,
red: GLboolean,
green: GLboolean,
blue: GLboolean,
alpha: GLboolean
)
pub unsafe fn ColorMaski(
&self,
index: GLuint,
r: GLboolean,
g: GLboolean,
b: GLboolean,
a: GLboolean
)
[src]
&self,
index: GLuint,
r: GLboolean,
g: GLboolean,
b: GLboolean,
a: GLboolean
)
pub unsafe fn ColorP3ui(&self, type_: GLenum, color: GLuint)
[src]
pub unsafe fn ColorP3uiv(&self, type_: GLenum, color: *const GLuint)
[src]
pub unsafe fn ColorP4ui(&self, type_: GLenum, color: GLuint)
[src]
pub unsafe fn ColorP4uiv(&self, type_: GLenum, color: *const GLuint)
[src]
pub unsafe fn CompileShader(&self, shader: GLuint)
[src]
pub unsafe fn CompressedTexImage1D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
border: GLint,
imageSize: GLsizei,
data: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
border: GLint,
imageSize: GLsizei,
data: *const c_void
)
pub unsafe fn CompressedTexImage2D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
imageSize: GLsizei,
data: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
imageSize: GLsizei,
data: *const c_void
)
pub unsafe fn CompressedTexImage3D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
imageSize: GLsizei,
data: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
imageSize: GLsizei,
data: *const c_void
)
pub unsafe fn CompressedTexSubImage1D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
width: GLsizei,
format: GLenum,
imageSize: GLsizei,
data: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
width: GLsizei,
format: GLenum,
imageSize: GLsizei,
data: *const c_void
)
pub unsafe fn CompressedTexSubImage2D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
imageSize: GLsizei,
data: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
imageSize: GLsizei,
data: *const c_void
)
pub unsafe fn CompressedTexSubImage3D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
imageSize: GLsizei,
data: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
imageSize: GLsizei,
data: *const c_void
)
pub unsafe fn CopyBufferSubData(
&self,
readTarget: GLenum,
writeTarget: GLenum,
readOffset: GLintptr,
writeOffset: GLintptr,
size: GLsizeiptr
)
[src]
&self,
readTarget: GLenum,
writeTarget: GLenum,
readOffset: GLintptr,
writeOffset: GLintptr,
size: GLsizeiptr
)
pub unsafe fn CopyTexImage1D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
x: GLint,
y: GLint,
width: GLsizei,
border: GLint
)
[src]
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
x: GLint,
y: GLint,
width: GLsizei,
border: GLint
)
pub unsafe fn CopyTexImage2D(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
border: GLint
)
[src]
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
border: GLint
)
pub unsafe fn CopyTexSubImage1D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei
)
[src]
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei
)
pub unsafe fn CopyTexSubImage2D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
[src]
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
pub unsafe fn CopyTexSubImage3D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
[src]
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
pub unsafe fn CreateProgram(&self) -> GLuint
[src]
pub unsafe fn CreateShader(&self, type_: GLenum) -> GLuint
[src]
pub unsafe fn CullFace(&self, mode: GLenum)
[src]
pub unsafe fn DeleteBuffers(&self, n: GLsizei, buffers: *const GLuint)
[src]
pub unsafe fn DeleteFramebuffers(&self, n: GLsizei, framebuffers: *const GLuint)
[src]
pub unsafe fn DeleteProgram(&self, program: GLuint)
[src]
pub unsafe fn DeleteQueries(&self, n: GLsizei, ids: *const GLuint)
[src]
pub unsafe fn DeleteRenderbuffers(
&self,
n: GLsizei,
renderbuffers: *const GLuint
)
[src]
&self,
n: GLsizei,
renderbuffers: *const GLuint
)
pub unsafe fn DeleteSamplers(&self, count: GLsizei, samplers: *const GLuint)
[src]
pub unsafe fn DeleteShader(&self, shader: GLuint)
[src]
pub unsafe fn DeleteSync(&self, sync: GLsync)
[src]
pub unsafe fn DeleteTextures(&self, n: GLsizei, textures: *const GLuint)
[src]
pub unsafe fn DeleteVertexArrays(&self, n: GLsizei, arrays: *const GLuint)
[src]
pub unsafe fn DepthFunc(&self, func: GLenum)
[src]
pub unsafe fn DepthMask(&self, flag: GLboolean)
[src]
pub unsafe fn DepthRange(&self, n: GLdouble, f: GLdouble)
[src]
pub unsafe fn DetachShader(&self, program: GLuint, shader: GLuint)
[src]
pub unsafe fn Disable(&self, cap: GLenum)
[src]
pub unsafe fn DisableVertexAttribArray(&self, index: GLuint)
[src]
pub unsafe fn Disablei(&self, target: GLenum, index: GLuint)
[src]
pub unsafe fn DrawArrays(&self, mode: GLenum, first: GLint, count: GLsizei)
[src]
pub unsafe fn DrawArraysInstanced(
&self,
mode: GLenum,
first: GLint,
count: GLsizei,
instancecount: GLsizei
)
[src]
&self,
mode: GLenum,
first: GLint,
count: GLsizei,
instancecount: GLsizei
)
pub unsafe fn DrawBuffer(&self, buf: GLenum)
[src]
pub unsafe fn DrawBuffers(&self, n: GLsizei, bufs: *const GLenum)
[src]
pub unsafe fn DrawElements(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void
)
[src]
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void
)
pub unsafe fn DrawElementsBaseVertex(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
basevertex: GLint
)
[src]
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
basevertex: GLint
)
pub unsafe fn DrawElementsInstanced(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
instancecount: GLsizei
)
[src]
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
instancecount: GLsizei
)
pub unsafe fn DrawElementsInstancedBaseVertex(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
instancecount: GLsizei,
basevertex: GLint
)
[src]
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
instancecount: GLsizei,
basevertex: GLint
)
pub unsafe fn DrawRangeElements(
&self,
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type_: GLenum,
indices: *const c_void
)
[src]
&self,
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type_: GLenum,
indices: *const c_void
)
pub unsafe fn DrawRangeElementsBaseVertex(
&self,
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
basevertex: GLint
)
[src]
&self,
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
basevertex: GLint
)
pub unsafe fn Enable(&self, cap: GLenum)
[src]
pub unsafe fn EnableVertexAttribArray(&self, index: GLuint)
[src]
pub unsafe fn Enablei(&self, target: GLenum, index: GLuint)
[src]
pub unsafe fn EndConditionalRender(&self)
[src]
pub unsafe fn EndQuery(&self, target: GLenum)
[src]
pub unsafe fn EndTransformFeedback(&self)
[src]
pub unsafe fn FenceSync(&self, condition: GLenum, flags: GLbitfield) -> GLsync
[src]
pub unsafe fn Finish(&self)
[src]
pub unsafe fn Flush(&self)
[src]
pub unsafe fn FlushMappedBufferRange(
&self,
target: GLenum,
offset: GLintptr,
length: GLsizeiptr
)
[src]
&self,
target: GLenum,
offset: GLintptr,
length: GLsizeiptr
)
pub unsafe fn FramebufferRenderbuffer(
&self,
target: GLenum,
attachment: GLenum,
renderbuffertarget: GLenum,
renderbuffer: GLuint
)
[src]
&self,
target: GLenum,
attachment: GLenum,
renderbuffertarget: GLenum,
renderbuffer: GLuint
)
pub unsafe fn FramebufferTexture(
&self,
target: GLenum,
attachment: GLenum,
texture: GLuint,
level: GLint
)
[src]
&self,
target: GLenum,
attachment: GLenum,
texture: GLuint,
level: GLint
)
pub unsafe fn FramebufferTexture1D(
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: GLuint,
level: GLint
)
[src]
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: GLuint,
level: GLint
)
pub unsafe fn FramebufferTexture2D(
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: GLuint,
level: GLint
)
[src]
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: GLuint,
level: GLint
)
pub unsafe fn FramebufferTexture3D(
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: GLuint,
level: GLint,
zoffset: GLint
)
[src]
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: GLuint,
level: GLint,
zoffset: GLint
)
pub unsafe fn FramebufferTextureLayer(
&self,
target: GLenum,
attachment: GLenum,
texture: GLuint,
level: GLint,
layer: GLint
)
[src]
&self,
target: GLenum,
attachment: GLenum,
texture: GLuint,
level: GLint,
layer: GLint
)
pub unsafe fn FrontFace(&self, mode: GLenum)
[src]
pub unsafe fn GenBuffers(&self, n: GLsizei, buffers: *mut GLuint)
[src]
pub unsafe fn GenFramebuffers(&self, n: GLsizei, framebuffers: *mut GLuint)
[src]
pub unsafe fn GenQueries(&self, n: GLsizei, ids: *mut GLuint)
[src]
pub unsafe fn GenRenderbuffers(&self, n: GLsizei, renderbuffers: *mut GLuint)
[src]
pub unsafe fn GenSamplers(&self, count: GLsizei, samplers: *mut GLuint)
[src]
pub unsafe fn GenTextures(&self, n: GLsizei, textures: *mut GLuint)
[src]
pub unsafe fn GenVertexArrays(&self, n: GLsizei, arrays: *mut GLuint)
[src]
pub unsafe fn GenerateMipmap(&self, target: GLenum)
[src]
pub unsafe fn GetActiveAttrib(
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLint,
type_: *mut GLenum,
name: *mut GLchar
)
[src]
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLint,
type_: *mut GLenum,
name: *mut GLchar
)
pub unsafe fn GetActiveUniform(
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLint,
type_: *mut GLenum,
name: *mut GLchar
)
[src]
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLint,
type_: *mut GLenum,
name: *mut GLchar
)
pub unsafe fn GetActiveUniformBlockName(
&self,
program: GLuint,
uniformBlockIndex: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
uniformBlockName: *mut GLchar
)
[src]
&self,
program: GLuint,
uniformBlockIndex: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
uniformBlockName: *mut GLchar
)
pub unsafe fn GetActiveUniformBlockiv(
&self,
program: GLuint,
uniformBlockIndex: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
program: GLuint,
uniformBlockIndex: GLuint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetActiveUniformName(
&self,
program: GLuint,
uniformIndex: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
uniformName: *mut GLchar
)
[src]
&self,
program: GLuint,
uniformIndex: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
uniformName: *mut GLchar
)
pub unsafe fn GetActiveUniformsiv(
&self,
program: GLuint,
uniformCount: GLsizei,
uniformIndices: *const GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
program: GLuint,
uniformCount: GLsizei,
uniformIndices: *const GLuint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetAttachedShaders(
&self,
program: GLuint,
maxCount: GLsizei,
count: *mut GLsizei,
shaders: *mut GLuint
)
[src]
&self,
program: GLuint,
maxCount: GLsizei,
count: *mut GLsizei,
shaders: *mut GLuint
)
pub unsafe fn GetAttribLocation(
&self,
program: GLuint,
name: *const GLchar
) -> GLint
[src]
&self,
program: GLuint,
name: *const GLchar
) -> GLint
pub unsafe fn GetBooleani_v(
&self,
target: GLenum,
index: GLuint,
data: *mut GLboolean
)
[src]
&self,
target: GLenum,
index: GLuint,
data: *mut GLboolean
)
pub unsafe fn GetBooleanv(&self, pname: GLenum, data: *mut GLboolean)
[src]
pub unsafe fn GetBufferParameteri64v(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint64
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint64
)
pub unsafe fn GetBufferParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetBufferPointerv(
&self,
target: GLenum,
pname: GLenum,
params: *const *mut c_void
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *const *mut c_void
)
pub unsafe fn GetBufferSubData(
&self,
target: GLenum,
offset: GLintptr,
size: GLsizeiptr,
data: *mut c_void
)
[src]
&self,
target: GLenum,
offset: GLintptr,
size: GLsizeiptr,
data: *mut c_void
)
pub unsafe fn GetCompressedTexImage(
&self,
target: GLenum,
level: GLint,
img: *mut c_void
)
[src]
&self,
target: GLenum,
level: GLint,
img: *mut c_void
)
pub unsafe fn GetDoublev(&self, pname: GLenum, data: *mut GLdouble)
[src]
pub unsafe fn GetError(&self) -> GLenum
[src]
pub unsafe fn GetFloatv(&self, pname: GLenum, data: *mut GLfloat)
[src]
pub unsafe fn GetFragDataIndex(
&self,
program: GLuint,
name: *const GLchar
) -> GLint
[src]
&self,
program: GLuint,
name: *const GLchar
) -> GLint
pub unsafe fn GetFragDataLocation(
&self,
program: GLuint,
name: *const GLchar
) -> GLint
[src]
&self,
program: GLuint,
name: *const GLchar
) -> GLint
pub unsafe fn GetFramebufferAttachmentParameteriv(
&self,
target: GLenum,
attachment: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
attachment: GLenum,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetInteger64i_v(
&self,
target: GLenum,
index: GLuint,
data: *mut GLint64
)
[src]
&self,
target: GLenum,
index: GLuint,
data: *mut GLint64
)
pub unsafe fn GetInteger64v(&self, pname: GLenum, data: *mut GLint64)
[src]
pub unsafe fn GetIntegeri_v(
&self,
target: GLenum,
index: GLuint,
data: *mut GLint
)
[src]
&self,
target: GLenum,
index: GLuint,
data: *mut GLint
)
pub unsafe fn GetIntegerv(&self, pname: GLenum, data: *mut GLint)
[src]
pub unsafe fn GetMultisamplefv(
&self,
pname: GLenum,
index: GLuint,
val: *mut GLfloat
)
[src]
&self,
pname: GLenum,
index: GLuint,
val: *mut GLfloat
)
pub unsafe fn GetProgramInfoLog(
&self,
program: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar
)
[src]
&self,
program: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar
)
pub unsafe fn GetProgramiv(
&self,
program: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
program: GLuint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetQueryObjecti64v(
&self,
id: GLuint,
pname: GLenum,
params: *mut GLint64
)
[src]
&self,
id: GLuint,
pname: GLenum,
params: *mut GLint64
)
pub unsafe fn GetQueryObjectiv(
&self,
id: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
id: GLuint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetQueryObjectui64v(
&self,
id: GLuint,
pname: GLenum,
params: *mut GLuint64
)
[src]
&self,
id: GLuint,
pname: GLenum,
params: *mut GLuint64
)
pub unsafe fn GetQueryObjectuiv(
&self,
id: GLuint,
pname: GLenum,
params: *mut GLuint
)
[src]
&self,
id: GLuint,
pname: GLenum,
params: *mut GLuint
)
pub unsafe fn GetQueryiv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetRenderbufferParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetSamplerParameterIiv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetSamplerParameterIuiv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLuint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLuint
)
pub unsafe fn GetSamplerParameterfv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLfloat
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLfloat
)
pub unsafe fn GetSamplerParameteriv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetShaderInfoLog(
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar
)
[src]
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
infoLog: *mut GLchar
)
pub unsafe fn GetShaderSource(
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
source: *mut GLchar
)
[src]
&self,
shader: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
source: *mut GLchar
)
pub unsafe fn GetShaderiv(
&self,
shader: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
shader: GLuint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetString(&self, name: GLenum) -> *const GLubyte
[src]
pub unsafe fn GetStringi(&self, name: GLenum, index: GLuint) -> *const GLubyte
[src]
pub unsafe fn GetSynciv(
&self,
sync: GLsync,
pname: GLenum,
bufSize: GLsizei,
length: *mut GLsizei,
values: *mut GLint
)
[src]
&self,
sync: GLsync,
pname: GLenum,
bufSize: GLsizei,
length: *mut GLsizei,
values: *mut GLint
)
pub unsafe fn GetTexImage(
&self,
target: GLenum,
level: GLint,
format: GLenum,
type_: GLenum,
pixels: *mut c_void
)
[src]
&self,
target: GLenum,
level: GLint,
format: GLenum,
type_: GLenum,
pixels: *mut c_void
)
pub unsafe fn GetTexLevelParameterfv(
&self,
target: GLenum,
level: GLint,
pname: GLenum,
params: *mut GLfloat
)
[src]
&self,
target: GLenum,
level: GLint,
pname: GLenum,
params: *mut GLfloat
)
pub unsafe fn GetTexLevelParameteriv(
&self,
target: GLenum,
level: GLint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
level: GLint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetTexParameterIiv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetTexParameterIuiv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLuint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLuint
)
pub unsafe fn GetTexParameterfv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLfloat
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLfloat
)
pub unsafe fn GetTexParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetTransformFeedbackVarying(
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLsizei,
type_: *mut GLenum,
name: *mut GLchar
)
[src]
&self,
program: GLuint,
index: GLuint,
bufSize: GLsizei,
length: *mut GLsizei,
size: *mut GLsizei,
type_: *mut GLenum,
name: *mut GLchar
)
pub unsafe fn GetUniformBlockIndex(
&self,
program: GLuint,
uniformBlockName: *const GLchar
) -> GLuint
[src]
&self,
program: GLuint,
uniformBlockName: *const GLchar
) -> GLuint
pub unsafe fn GetUniformIndices(
&self,
program: GLuint,
uniformCount: GLsizei,
uniformNames: *const *const GLchar,
uniformIndices: *mut GLuint
)
[src]
&self,
program: GLuint,
uniformCount: GLsizei,
uniformNames: *const *const GLchar,
uniformIndices: *mut GLuint
)
pub unsafe fn GetUniformLocation(
&self,
program: GLuint,
name: *const GLchar
) -> GLint
[src]
&self,
program: GLuint,
name: *const GLchar
) -> GLint
pub unsafe fn GetUniformfv(
&self,
program: GLuint,
location: GLint,
params: *mut GLfloat
)
[src]
&self,
program: GLuint,
location: GLint,
params: *mut GLfloat
)
pub unsafe fn GetUniformiv(
&self,
program: GLuint,
location: GLint,
params: *mut GLint
)
[src]
&self,
program: GLuint,
location: GLint,
params: *mut GLint
)
pub unsafe fn GetUniformuiv(
&self,
program: GLuint,
location: GLint,
params: *mut GLuint
)
[src]
&self,
program: GLuint,
location: GLint,
params: *mut GLuint
)
pub unsafe fn GetVertexAttribIiv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn GetVertexAttribIuiv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLuint
)
[src]
&self,
index: GLuint,
pname: GLenum,
params: *mut GLuint
)
pub unsafe fn GetVertexAttribPointerv(
&self,
index: GLuint,
pname: GLenum,
pointer: *const *mut c_void
)
[src]
&self,
index: GLuint,
pname: GLenum,
pointer: *const *mut c_void
)
pub unsafe fn GetVertexAttribdv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLdouble
)
[src]
&self,
index: GLuint,
pname: GLenum,
params: *mut GLdouble
)
pub unsafe fn GetVertexAttribfv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLfloat
)
[src]
&self,
index: GLuint,
pname: GLenum,
params: *mut GLfloat
)
pub unsafe fn GetVertexAttribiv(
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint
)
[src]
&self,
index: GLuint,
pname: GLenum,
params: *mut GLint
)
pub unsafe fn Hint(&self, target: GLenum, mode: GLenum)
[src]
pub unsafe fn IsBuffer(&self, buffer: GLuint) -> GLboolean
[src]
pub unsafe fn IsEnabled(&self, cap: GLenum) -> GLboolean
[src]
pub unsafe fn IsEnabledi(&self, target: GLenum, index: GLuint) -> GLboolean
[src]
pub unsafe fn IsFramebuffer(&self, framebuffer: GLuint) -> GLboolean
[src]
pub unsafe fn IsProgram(&self, program: GLuint) -> GLboolean
[src]
pub unsafe fn IsQuery(&self, id: GLuint) -> GLboolean
[src]
pub unsafe fn IsRenderbuffer(&self, renderbuffer: GLuint) -> GLboolean
[src]
pub unsafe fn IsSampler(&self, sampler: GLuint) -> GLboolean
[src]
pub unsafe fn IsShader(&self, shader: GLuint) -> GLboolean
[src]
pub unsafe fn IsSync(&self, sync: GLsync) -> GLboolean
[src]
pub unsafe fn IsTexture(&self, texture: GLuint) -> GLboolean
[src]
pub unsafe fn IsVertexArray(&self, array: GLuint) -> GLboolean
[src]
pub unsafe fn LineWidth(&self, width: GLfloat)
[src]
pub unsafe fn LinkProgram(&self, program: GLuint)
[src]
pub unsafe fn LogicOp(&self, opcode: GLenum)
[src]
pub unsafe fn MapBuffer(&self, target: GLenum, access: GLenum) -> *mut c_void
[src]
pub unsafe fn MapBufferRange(
&self,
target: GLenum,
offset: GLintptr,
length: GLsizeiptr,
access: GLbitfield
) -> *mut c_void
[src]
&self,
target: GLenum,
offset: GLintptr,
length: GLsizeiptr,
access: GLbitfield
) -> *mut c_void
pub unsafe fn MultiDrawArrays(
&self,
mode: GLenum,
first: *const GLint,
count: *const GLsizei,
drawcount: GLsizei
)
[src]
&self,
mode: GLenum,
first: *const GLint,
count: *const GLsizei,
drawcount: GLsizei
)
pub unsafe fn MultiDrawElements(
&self,
mode: GLenum,
count: *const GLsizei,
type_: GLenum,
indices: *const *const c_void,
drawcount: GLsizei
)
[src]
&self,
mode: GLenum,
count: *const GLsizei,
type_: GLenum,
indices: *const *const c_void,
drawcount: GLsizei
)
pub unsafe fn MultiDrawElementsBaseVertex(
&self,
mode: GLenum,
count: *const GLsizei,
type_: GLenum,
indices: *const *const c_void,
drawcount: GLsizei,
basevertex: *const GLint
)
[src]
&self,
mode: GLenum,
count: *const GLsizei,
type_: GLenum,
indices: *const *const c_void,
drawcount: GLsizei,
basevertex: *const GLint
)
pub unsafe fn MultiTexCoordP1ui(
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint
)
[src]
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint
)
pub unsafe fn MultiTexCoordP1uiv(
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint
)
[src]
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint
)
pub unsafe fn MultiTexCoordP2ui(
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint
)
[src]
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint
)
pub unsafe fn MultiTexCoordP2uiv(
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint
)
[src]
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint
)
pub unsafe fn MultiTexCoordP3ui(
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint
)
[src]
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint
)
pub unsafe fn MultiTexCoordP3uiv(
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint
)
[src]
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint
)
pub unsafe fn MultiTexCoordP4ui(
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint
)
[src]
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint
)
pub unsafe fn MultiTexCoordP4uiv(
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint
)
[src]
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint
)
pub unsafe fn NormalP3ui(&self, type_: GLenum, coords: GLuint)
[src]
pub unsafe fn NormalP3uiv(&self, type_: GLenum, coords: *const GLuint)
[src]
pub unsafe fn PixelStoref(&self, pname: GLenum, param: GLfloat)
[src]
pub unsafe fn PixelStorei(&self, pname: GLenum, param: GLint)
[src]
pub unsafe fn PointParameterf(&self, pname: GLenum, param: GLfloat)
[src]
pub unsafe fn PointParameterfv(&self, pname: GLenum, params: *const GLfloat)
[src]
pub unsafe fn PointParameteri(&self, pname: GLenum, param: GLint)
[src]
pub unsafe fn PointParameteriv(&self, pname: GLenum, params: *const GLint)
[src]
pub unsafe fn PointSize(&self, size: GLfloat)
[src]
pub unsafe fn PolygonMode(&self, face: GLenum, mode: GLenum)
[src]
pub unsafe fn PolygonOffset(&self, factor: GLfloat, units: GLfloat)
[src]
pub unsafe fn PrimitiveRestartIndex(&self, index: GLuint)
[src]
pub unsafe fn ProvokingVertex(&self, mode: GLenum)
[src]
pub unsafe fn QueryCounter(&self, id: GLuint, target: GLenum)
[src]
pub unsafe fn ReadBuffer(&self, src: GLenum)
[src]
pub unsafe fn ReadPixels(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *mut c_void
)
[src]
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *mut c_void
)
pub unsafe fn RenderbufferStorage(
&self,
target: GLenum,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
[src]
&self,
target: GLenum,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
pub unsafe fn RenderbufferStorageMultisample(
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
[src]
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
pub unsafe fn SampleCoverage(&self, value: GLfloat, invert: GLboolean)
[src]
pub unsafe fn SampleMaski(&self, maskNumber: GLuint, mask: GLbitfield)
[src]
pub unsafe fn SamplerParameterIiv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLint
)
pub unsafe fn SamplerParameterIuiv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLuint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLuint
)
pub unsafe fn SamplerParameterf(
&self,
sampler: GLuint,
pname: GLenum,
param: GLfloat
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: GLfloat
)
pub unsafe fn SamplerParameterfv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLfloat
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLfloat
)
pub unsafe fn SamplerParameteri(
&self,
sampler: GLuint,
pname: GLenum,
param: GLint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: GLint
)
pub unsafe fn SamplerParameteriv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLint
)
[src]
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLint
)
pub unsafe fn Scissor(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
[src]
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
pub unsafe fn SecondaryColorP3ui(&self, type_: GLenum, color: GLuint)
[src]
pub unsafe fn SecondaryColorP3uiv(&self, type_: GLenum, color: *const GLuint)
[src]
pub unsafe fn ShaderSource(
&self,
shader: GLuint,
count: GLsizei,
string: *const *const GLchar,
length: *const GLint
)
[src]
&self,
shader: GLuint,
count: GLsizei,
string: *const *const GLchar,
length: *const GLint
)
pub unsafe fn StencilFunc(&self, func: GLenum, ref_: GLint, mask: GLuint)
[src]
pub unsafe fn StencilFuncSeparate(
&self,
face: GLenum,
func: GLenum,
ref_: GLint,
mask: GLuint
)
[src]
&self,
face: GLenum,
func: GLenum,
ref_: GLint,
mask: GLuint
)
pub unsafe fn StencilMask(&self, mask: GLuint)
[src]
pub unsafe fn StencilMaskSeparate(&self, face: GLenum, mask: GLuint)
[src]
pub unsafe fn StencilOp(&self, fail: GLenum, zfail: GLenum, zpass: GLenum)
[src]
pub unsafe fn StencilOpSeparate(
&self,
face: GLenum,
sfail: GLenum,
dpfail: GLenum,
dppass: GLenum
)
[src]
&self,
face: GLenum,
sfail: GLenum,
dpfail: GLenum,
dppass: GLenum
)
pub unsafe fn TexBuffer(
&self,
target: GLenum,
internalformat: GLenum,
buffer: GLuint
)
[src]
&self,
target: GLenum,
internalformat: GLenum,
buffer: GLuint
)
pub unsafe fn TexCoordP1ui(&self, type_: GLenum, coords: GLuint)
[src]
pub unsafe fn TexCoordP1uiv(&self, type_: GLenum, coords: *const GLuint)
[src]
pub unsafe fn TexCoordP2ui(&self, type_: GLenum, coords: GLuint)
[src]
pub unsafe fn TexCoordP2uiv(&self, type_: GLenum, coords: *const GLuint)
[src]
pub unsafe fn TexCoordP3ui(&self, type_: GLenum, coords: GLuint)
[src]
pub unsafe fn TexCoordP3uiv(&self, type_: GLenum, coords: *const GLuint)
[src]
pub unsafe fn TexCoordP4ui(&self, type_: GLenum, coords: GLuint)
[src]
pub unsafe fn TexCoordP4uiv(&self, type_: GLenum, coords: *const GLuint)
[src]
pub unsafe fn TexImage1D(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
pub unsafe fn TexImage2D(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
pub unsafe fn TexImage2DMultisample(
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
fixedsamplelocations: GLboolean
)
[src]
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
fixedsamplelocations: GLboolean
)
pub unsafe fn TexImage3D(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
pub unsafe fn TexImage3DMultisample(
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
fixedsamplelocations: GLboolean
)
[src]
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
fixedsamplelocations: GLboolean
)
pub unsafe fn TexParameterIiv(
&self,
target: GLenum,
pname: GLenum,
params: *const GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *const GLint
)
pub unsafe fn TexParameterIuiv(
&self,
target: GLenum,
pname: GLenum,
params: *const GLuint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *const GLuint
)
pub unsafe fn TexParameterf(
&self,
target: GLenum,
pname: GLenum,
param: GLfloat
)
[src]
&self,
target: GLenum,
pname: GLenum,
param: GLfloat
)
pub unsafe fn TexParameterfv(
&self,
target: GLenum,
pname: GLenum,
params: *const GLfloat
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *const GLfloat
)
pub unsafe fn TexParameteri(&self, target: GLenum, pname: GLenum, param: GLint)
[src]
pub unsafe fn TexParameteriv(
&self,
target: GLenum,
pname: GLenum,
params: *const GLint
)
[src]
&self,
target: GLenum,
pname: GLenum,
params: *const GLint
)
pub unsafe fn TexSubImage1D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
width: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
width: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
pub unsafe fn TexSubImage2D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
pub unsafe fn TexSubImage3D(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
[src]
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type_: GLenum,
pixels: *const c_void
)
pub unsafe fn TransformFeedbackVaryings(
&self,
program: GLuint,
count: GLsizei,
varyings: *const *const GLchar,
bufferMode: GLenum
)
[src]
&self,
program: GLuint,
count: GLsizei,
varyings: *const *const GLchar,
bufferMode: GLenum
)
pub unsafe fn Uniform1f(&self, location: GLint, v0: GLfloat)
[src]
pub unsafe fn Uniform1fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
pub unsafe fn Uniform1i(&self, location: GLint, v0: GLint)
[src]
pub unsafe fn Uniform1iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
pub unsafe fn Uniform1ui(&self, location: GLint, v0: GLuint)
[src]
pub unsafe fn Uniform1uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
pub unsafe fn Uniform2f(&self, location: GLint, v0: GLfloat, v1: GLfloat)
[src]
pub unsafe fn Uniform2fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
pub unsafe fn Uniform2i(&self, location: GLint, v0: GLint, v1: GLint)
[src]
pub unsafe fn Uniform2iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
pub unsafe fn Uniform2ui(&self, location: GLint, v0: GLuint, v1: GLuint)
[src]
pub unsafe fn Uniform2uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
pub unsafe fn Uniform3f(
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat
)
[src]
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat
)
pub unsafe fn Uniform3fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
pub unsafe fn Uniform3i(&self, location: GLint, v0: GLint, v1: GLint, v2: GLint)
[src]
pub unsafe fn Uniform3iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
pub unsafe fn Uniform3ui(
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint
)
[src]
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint
)
pub unsafe fn Uniform3uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
pub unsafe fn Uniform4f(
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat,
v3: GLfloat
)
[src]
&self,
location: GLint,
v0: GLfloat,
v1: GLfloat,
v2: GLfloat,
v3: GLfloat
)
pub unsafe fn Uniform4fv(
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLfloat
)
pub unsafe fn Uniform4i(
&self,
location: GLint,
v0: GLint,
v1: GLint,
v2: GLint,
v3: GLint
)
[src]
&self,
location: GLint,
v0: GLint,
v1: GLint,
v2: GLint,
v3: GLint
)
pub unsafe fn Uniform4iv(
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLint
)
pub unsafe fn Uniform4ui(
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint,
v3: GLuint
)
[src]
&self,
location: GLint,
v0: GLuint,
v1: GLuint,
v2: GLuint,
v3: GLuint
)
pub unsafe fn Uniform4uiv(
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
[src]
&self,
location: GLint,
count: GLsizei,
value: *const GLuint
)
pub unsafe fn UniformBlockBinding(
&self,
program: GLuint,
uniformBlockIndex: GLuint,
uniformBlockBinding: GLuint
)
[src]
&self,
program: GLuint,
uniformBlockIndex: GLuint,
uniformBlockBinding: GLuint
)
pub unsafe fn UniformMatrix2fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
pub unsafe fn UniformMatrix2x3fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
pub unsafe fn UniformMatrix2x4fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
pub unsafe fn UniformMatrix3fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
pub unsafe fn UniformMatrix3x2fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
pub unsafe fn UniformMatrix3x4fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
pub unsafe fn UniformMatrix4fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
pub unsafe fn UniformMatrix4x2fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
pub unsafe fn UniformMatrix4x3fv(
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
[src]
&self,
location: GLint,
count: GLsizei,
transpose: GLboolean,
value: *const GLfloat
)
pub unsafe fn UnmapBuffer(&self, target: GLenum) -> GLboolean
[src]
pub unsafe fn UseProgram(&self, program: GLuint)
[src]
pub unsafe fn ValidateProgram(&self, program: GLuint)
[src]
pub unsafe fn VertexAttrib1d(&self, index: GLuint, x: GLdouble)
[src]
pub unsafe fn VertexAttrib1dv(&self, index: GLuint, v: *const GLdouble)
[src]
pub unsafe fn VertexAttrib1f(&self, index: GLuint, x: GLfloat)
[src]
pub unsafe fn VertexAttrib1fv(&self, index: GLuint, v: *const GLfloat)
[src]
pub unsafe fn VertexAttrib1s(&self, index: GLuint, x: GLshort)
[src]
pub unsafe fn VertexAttrib1sv(&self, index: GLuint, v: *const GLshort)
[src]
pub unsafe fn VertexAttrib2d(&self, index: GLuint, x: GLdouble, y: GLdouble)
[src]
pub unsafe fn VertexAttrib2dv(&self, index: GLuint, v: *const GLdouble)
[src]
pub unsafe fn VertexAttrib2f(&self, index: GLuint, x: GLfloat, y: GLfloat)
[src]
pub unsafe fn VertexAttrib2fv(&self, index: GLuint, v: *const GLfloat)
[src]
pub unsafe fn VertexAttrib2s(&self, index: GLuint, x: GLshort, y: GLshort)
[src]
pub unsafe fn VertexAttrib2sv(&self, index: GLuint, v: *const GLshort)
[src]
pub unsafe fn VertexAttrib3d(
&self,
index: GLuint,
x: GLdouble,
y: GLdouble,
z: GLdouble
)
[src]
&self,
index: GLuint,
x: GLdouble,
y: GLdouble,
z: GLdouble
)
pub unsafe fn VertexAttrib3dv(&self, index: GLuint, v: *const GLdouble)
[src]
pub unsafe fn VertexAttrib3f(
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat
)
[src]
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat
)
pub unsafe fn VertexAttrib3fv(&self, index: GLuint, v: *const GLfloat)
[src]
pub unsafe fn VertexAttrib3s(
&self,
index: GLuint,
x: GLshort,
y: GLshort,
z: GLshort
)
[src]
&self,
index: GLuint,
x: GLshort,
y: GLshort,
z: GLshort
)
pub unsafe fn VertexAttrib3sv(&self, index: GLuint, v: *const GLshort)
[src]
pub unsafe fn VertexAttrib4Nbv(&self, index: GLuint, v: *const GLbyte)
[src]
pub unsafe fn VertexAttrib4Niv(&self, index: GLuint, v: *const GLint)
[src]
pub unsafe fn VertexAttrib4Nsv(&self, index: GLuint, v: *const GLshort)
[src]
pub unsafe fn VertexAttrib4Nub(
&self,
index: GLuint,
x: GLubyte,
y: GLubyte,
z: GLubyte,
w: GLubyte
)
[src]
&self,
index: GLuint,
x: GLubyte,
y: GLubyte,
z: GLubyte,
w: GLubyte
)
pub unsafe fn VertexAttrib4Nubv(&self, index: GLuint, v: *const GLubyte)
[src]
pub unsafe fn VertexAttrib4Nuiv(&self, index: GLuint, v: *const GLuint)
[src]
pub unsafe fn VertexAttrib4Nusv(&self, index: GLuint, v: *const GLushort)
[src]
pub unsafe fn VertexAttrib4bv(&self, index: GLuint, v: *const GLbyte)
[src]
pub unsafe fn VertexAttrib4d(
&self,
index: GLuint,
x: GLdouble,
y: GLdouble,
z: GLdouble,
w: GLdouble
)
[src]
&self,
index: GLuint,
x: GLdouble,
y: GLdouble,
z: GLdouble,
w: GLdouble
)
pub unsafe fn VertexAttrib4dv(&self, index: GLuint, v: *const GLdouble)
[src]
pub unsafe fn VertexAttrib4f(
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat,
w: GLfloat
)
[src]
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat,
w: GLfloat
)
pub unsafe fn VertexAttrib4fv(&self, index: GLuint, v: *const GLfloat)
[src]
pub unsafe fn VertexAttrib4iv(&self, index: GLuint, v: *const GLint)
[src]
pub unsafe fn VertexAttrib4s(
&self,
index: GLuint,
x: GLshort,
y: GLshort,
z: GLshort,
w: GLshort
)
[src]
&self,
index: GLuint,
x: GLshort,
y: GLshort,
z: GLshort,
w: GLshort
)
pub unsafe fn VertexAttrib4sv(&self, index: GLuint, v: *const GLshort)
[src]
pub unsafe fn VertexAttrib4ubv(&self, index: GLuint, v: *const GLubyte)
[src]
pub unsafe fn VertexAttrib4uiv(&self, index: GLuint, v: *const GLuint)
[src]
pub unsafe fn VertexAttrib4usv(&self, index: GLuint, v: *const GLushort)
[src]
pub unsafe fn VertexAttribDivisor(&self, index: GLuint, divisor: GLuint)
[src]
pub unsafe fn VertexAttribI1i(&self, index: GLuint, x: GLint)
[src]
pub unsafe fn VertexAttribI1iv(&self, index: GLuint, v: *const GLint)
[src]
pub unsafe fn VertexAttribI1ui(&self, index: GLuint, x: GLuint)
[src]
pub unsafe fn VertexAttribI1uiv(&self, index: GLuint, v: *const GLuint)
[src]
pub unsafe fn VertexAttribI2i(&self, index: GLuint, x: GLint, y: GLint)
[src]
pub unsafe fn VertexAttribI2iv(&self, index: GLuint, v: *const GLint)
[src]
pub unsafe fn VertexAttribI2ui(&self, index: GLuint, x: GLuint, y: GLuint)
[src]
pub unsafe fn VertexAttribI2uiv(&self, index: GLuint, v: *const GLuint)
[src]
pub unsafe fn VertexAttribI3i(
&self,
index: GLuint,
x: GLint,
y: GLint,
z: GLint
)
[src]
&self,
index: GLuint,
x: GLint,
y: GLint,
z: GLint
)
pub unsafe fn VertexAttribI3iv(&self, index: GLuint, v: *const GLint)
[src]
pub unsafe fn VertexAttribI3ui(
&self,
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint
)
[src]
&self,
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint
)
pub unsafe fn VertexAttribI3uiv(&self, index: GLuint, v: *const GLuint)
[src]
pub unsafe fn VertexAttribI4bv(&self, index: GLuint, v: *const GLbyte)
[src]
pub unsafe fn VertexAttribI4i(
&self,
index: GLuint,
x: GLint,
y: GLint,
z: GLint,
w: GLint
)
[src]
&self,
index: GLuint,
x: GLint,
y: GLint,
z: GLint,
w: GLint
)
pub unsafe fn VertexAttribI4iv(&self, index: GLuint, v: *const GLint)
[src]
pub unsafe fn VertexAttribI4sv(&self, index: GLuint, v: *const GLshort)
[src]
pub unsafe fn VertexAttribI4ubv(&self, index: GLuint, v: *const GLubyte)
[src]
pub unsafe fn VertexAttribI4ui(
&self,
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint,
w: GLuint
)
[src]
&self,
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint,
w: GLuint
)
pub unsafe fn VertexAttribI4uiv(&self, index: GLuint, v: *const GLuint)
[src]
pub unsafe fn VertexAttribI4usv(&self, index: GLuint, v: *const GLushort)
[src]
pub unsafe fn VertexAttribIPointer(
&self,
index: GLuint,
size: GLint,
type_: GLenum,
stride: GLsizei,
pointer: *const c_void
)
[src]
&self,
index: GLuint,
size: GLint,
type_: GLenum,
stride: GLsizei,
pointer: *const c_void
)
pub unsafe fn VertexAttribP1ui(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint
)
[src]
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint
)
pub unsafe fn VertexAttribP1uiv(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint
)
[src]
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint
)
pub unsafe fn VertexAttribP2ui(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint
)
[src]
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint
)
pub unsafe fn VertexAttribP2uiv(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint
)
[src]
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint
)
pub unsafe fn VertexAttribP3ui(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint
)
[src]
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint
)
pub unsafe fn VertexAttribP3uiv(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint
)
[src]
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint
)
pub unsafe fn VertexAttribP4ui(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint
)
[src]
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint
)
pub unsafe fn VertexAttribP4uiv(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint
)
[src]
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint
)
pub unsafe fn VertexAttribPointer(
&self,
index: GLuint,
size: GLint,
type_: GLenum,
normalized: GLboolean,
stride: GLsizei,
pointer: *const c_void
)
[src]
&self,
index: GLuint,
size: GLint,
type_: GLenum,
normalized: GLboolean,
stride: GLsizei,
pointer: *const c_void
)
pub unsafe fn VertexP2ui(&self, type_: GLenum, value: GLuint)
[src]
pub unsafe fn VertexP2uiv(&self, type_: GLenum, value: *const GLuint)
[src]
pub unsafe fn VertexP3ui(&self, type_: GLenum, value: GLuint)
[src]
pub unsafe fn VertexP3uiv(&self, type_: GLenum, value: *const GLuint)
[src]
pub unsafe fn VertexP4ui(&self, type_: GLenum, value: GLuint)
[src]
pub unsafe fn VertexP4uiv(&self, type_: GLenum, value: *const GLuint)
[src]
pub unsafe fn Viewport(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
[src]
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
pub unsafe fn WaitSync(
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64
)
[src]
&self,
sync: GLsync,
flags: GLbitfield,
timeout: GLuint64
)
Trait Implementations
Auto Trait Implementations
impl !Send for MiruGl
impl !Sync for MiruGl
impl Unpin for MiruGl
impl UnwindSafe for MiruGl
impl !RefUnwindSafe for MiruGl
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,