Crate wgpu_graphics

Crate wgpu_graphics 

Source
Expand description

§wgpu_graphics

A wgpu 2D back-end for the Piston game engine.

§License

Licensed under MIT or Apache-2.0 license, except the following:

  • assets/FiraSans-Regular.ttf - licensed under SIL OPEN FONT LICENSE Version 1.1 (see assets/LICENSE).

Modules§

ops
Image operations for textures.

Structs§

Texture
Represents a texture.
TextureContext
Context required to create and update textures.
TextureSettings
Texture creation parameters.
Wgpu2d
The resource needed for rendering 2D.
WgpuGraphics
Graphics back-end.

Enums§

Filter
Sampling filter
Format
Texture format.
TextureError
Texture creation or update error.
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
Stores textures for text rendering.