[−][src]Crate uni_gl
Re-exports
pub use self::common::*; |
Modules
| common |
Structs
| GLContext | uni-gl internal OpenGL context. |
Enums
| AttributeSize | Constants passed to WebGLRenderingContext.vertexAttribPointer() |
| BlendEquation | Constants passed to WebGLRenderingContext.blendEquation() or WebGLRenderingContext.blendEquationSeparate() to control how the blending is calculated (for both, RBG and alpha, or separately). |
| BlendMode | Constants passed to WebGLRenderingContext.blendFunc() or WebGLRenderingContext.blendFuncSeparate() to specify the blending mode (for both, RBG and alpha, or separately). |
| BufferBit | |
| BufferKind | Passed to bindBuffer or bufferData to specify the type of buffer being used. |
| BufferParameter | |
| Buffers | Constants passed to WebGLRenderingContext.hint() |
| ColorBuffer | |
| Culling | Constants passed to WebGLRenderingContext.cullFace(). |
| DataType | |
| DepthTest | Constants passed to WebGLRenderingContext.depthFunc(). |
| DrawMode | |
| Error | Constants returned from WebGLRenderingContext.getError(). |
| Flag | |
| FrontFaceDirection | Constants passed to WebGLRenderingContext.frontFace(). |
| Hint | Constants passed to WebGLRenderingContext.hint() |
| Parameter | Constants passed to WebGLRenderingContext.getParameter() to specify what information to return. |
| PixelFormat | |
| PixelStorageMode | Constants passed to WebGLRenderingContext.hint() |
| PixelType | |
| Primitives | Passed to drawElements or drawArrays to draw primitives. |
| ShaderKind | Constants passed to WebGLRenderingContext.createShader() |
| ShaderParameter | Constants passed to WebGLRenderingContext.createShader() |
| ShaderPrecision | |
| StencilAction | Constants passed to WebGLRenderingContext.stencilOp(). |
| StencilTest | Constants passed to WebGLRenderingContext.stencilFunc(). |
| TextureBindPoint | WebGLRenderingContext.texImage2D() "target" parameter |
| TextureCompression | |
| TextureKind | WebGLRenderingContext.texParameterfi or WebGLRenderingContext.bindTexture() "target" parameter |
| TextureMagFilter | WebGLRenderingContext.texParameterfi "param" parameter |
| TextureMinFilter | WebGLRenderingContext.texParameterfi "param" parameter |
| TextureParameter | WebGLRenderingContext.texParameterfi "pname" parameter |
| TextureWrap | WebGLRenderingContext.texParameterfi "param" parameter |
| UniformType | Constants passed to WebGLRenderingContext.hint() |
| VertexAttrib | Constants passed to WebGLRenderingContext.getVertexAttrib(). |
Constants
| IS_GL_ES | whether current OpenGL context is OpenGL ES (Embedded System) |
Type Definitions
| WebGLContext |