threers 0.0.7

Drop-in three.js replacement for Rust and WebAssembly (wgpu) — THREE.* API, scene graph, PBR, post-fx, mesh BVH, CSG, an OpenSCAD front end with a watertight exact-CSG kernel, headless render, and native media codecs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Texture sources. CPU-side: own the pixel data (or a reference to it) plus
//! sampler/format metadata. The renderer uploads them on demand and caches the
//! resulting `wgpu::Texture` by `Arc` pointer identity.

/// BC1 encoding and decoding — see [`bc1`].
pub mod bc1;
/// A container for compressed textures and their mip chains — see [`blob`].
pub mod blob;
mod cube_texture;
mod data_texture;
mod depth_texture;
mod texture;

pub use cube_texture::{CubeMapping, CubeTexture, CubeUvAtlas};
pub use data_texture::DataTexture;
pub use depth_texture::DepthTexture;
pub use texture::{pack_rgba16f, Texture, TextureFilter, TextureFormat, TextureWrap};