Crate opengl_graphics

Source
Expand description

An OpenGL back-end for Rust-Graphics

Modules§

error
Errors
ops
Image operations for textures.
shader_uniforms
Types and methods for setting shader uniforms
shader_utils
Helper functions for dealing with shaders.

Structs§

Colored
Describes how to render colored objects.
GlGraphics
Contains OpenGL data.
Shaders
Shader picker.
Texture
Wraps OpenGL texture data. The texture gets deleted when running out of scope.
TextureSettings
Texture creation parameters.
Textured
Describes how to render textured objects.

Enums§

Filter
Sampling filter
Format
Texture format.
GLSL
For OpenGL version 3.3 and above, the GLSL version is the same as the OpenGL version.
OpenGL
Wrap
Wrap mode

Traits§

CreateTexture
Implemented by textures for creation.
ImageSize
Implemented by all images to be used with generic algorithms.
TextureOp
Implemented by texture operations.
UpdateTexture
Implemented by textures for updating.

Type Aliases§

GlyphCache
Glyph cache implementation for OpenGL backend.