Move glTF, picking, camera controls, and conventional handles into addons. Keep camera and material mutations in SIMD-aligned shared SOA rows and synchronize material updates directly into GPU buffers. Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
33 lines
753 B
TOML
33 lines
753 B
TOML
[package]
|
|
name = "renderer"
|
|
description = "WGPU renderer core library"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = []
|
|
atomics = []
|
|
bulk-memory = []
|
|
|
|
[dependencies]
|
|
wasm-bindgen = { workspace = true }
|
|
wasm-bindgen-futures = { workspace = true }
|
|
console_error_panic_hook = { workspace = true }
|
|
log = { workspace = true }
|
|
wasm-logger = { workspace = true }
|
|
web-sys = { workspace = true }
|
|
js-sys = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
wgpu = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
ultraviolet = { workspace = true }
|
|
image = { workspace = true }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = false
|