Crate twgpu

Crate twgpu 

Source
Expand description

This crate provides a middleware library for Teeworlds and DDNet rendering.

Re-exports§

pub use fixed;
pub use image;
pub use twgame;
pub use twmap;
pub use twsnap;
pub use vek;
pub use wgpu;

Modules§

blit
buffer
map
Map-specific rendering code
shared
Structs and traits that are helpful in multiple modules
sprites
textures

Structs§

Camera
Camera that defines a view into a map
TwRenderPass
Wrapper type around wgpu::RenderPass to pass around important context information

Constants§

BATCHED_SPRITES_FEATURES
FEATURES
The set of wgpu optional features that are used: currently none

Functions§

device_descriptor
device_descriptor_for_batched_sprites
limits
limits_for_batched_sprites

Type Aliases§

GpuCamera