Skip to content

Commit 7628b57

Browse files
authored
feat: API rework and docs v0.6.0 (#199)
* move geometry descriptors into geometry module * transform rework WIP, move Materials into materials mod * rename Materials to MaterialDescriptor * API rework and documentation fixed some tests * remove SceneBuilder * NestedTransform needs to be marked dirty after update * fixed some more tests * fixed NestedTransform bug where modification didn't update children * fixed ui tests, ui builder API changes * update lighting API * sync light's node transforms * rename Renderlet* to Primitive*, fix doc examples, fix doc links * regen shaders, move bloom shaders * doc updates, manual stub * work on docs and the manual * manual: stage remove resources * manual gltf model swap and hdr swap * move skybox shader stuff to a shader module * Atlas: update images in place * move test utils into lib under feature gate * separated brdf lut from skybox * move ibl into pbr * make Skybox.environment_cubemap private, provide getter * split Skybox and Ibl * fixed tests * manual: lighting stubs * remove done todos * workflows: bump cargo gpu * update example-culling to new API * workflow: bump cargo gpu to bugfix rev * xtask: manual has configurable docs url
1 parent 8493bcc commit 7628b57

211 files changed

Lines changed: 11560 additions & 8182 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
env:
1111
# For setup-rust, see https://github.com/moonrepo/setup-rust/issues/22
1212
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13-
CARGO_GPU_COMMITSH: 39b238f25b7652ba79d153626e252321942cb558
13+
CARGO_GPU_COMMITSH: 31153a8edd3bc626d4b9fb0cd7bdb7a8b30797d3
1414

1515
jobs:
1616
# Installs cargo deps and sets the cache directory for subsequent jobs

Cargo.lock

Lines changed: 17 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[workspace]
22
members = [
33
"crates/example",
4+
"crates/examples",
45
"crates/example-culling",
5-
"crates/example-wasm",
6+
#"crates/example-wasm",
67
"crates/loading-bytes",
78
"crates/renderling",
89
"crates/renderling-build",
@@ -23,8 +24,8 @@ bytemuck = { version = "1.19.0", features = ["derive"] }
2324
cfg_aliases = "0.2"
2425
clap = { version = "4.5.23", features = ["derive"] }
2526
console_log = "1.0.0"
26-
craballoc = { version = "0.2.3" }
27-
crabslab = { version = "0.6.5", default-features = false }
27+
craballoc = { version = "0.3.1" }
28+
crabslab = { version = "0.6.6", default-features = false }
2829
plotters = "0.3.7"
2930
ctor = "0.2.2"
3031
dagga = "0.2.1"
@@ -50,16 +51,16 @@ serde_json = "1.0.117"
5051
send_wrapper = "0.6.0"
5152
similarity = "0.2.0"
5253
snafu = "0.8"
53-
spirv-std = { git = "https://github.com/LegNeato/rust-gpu.git", rev = "425328a" }
54-
spirv-std-macros = { git = "https://github.com/LegNeato/rust-gpu.git", rev = "425328a" }
54+
spirv-std = { git = "https://github.com/rust-gpu/rust-gpu.git", rev = "05b34493ce661dccd6694cf58afc13e3c8f7a7e0" }
55+
spirv-std-macros = { git = "https://github.com/rust-gpu/rust-gpu.git", rev = "05b34493ce661dccd6694cf58afc13e3c8f7a7e0" }
5556
syn = { version = "2.0.49", features = ["full", "extra-traits", "parsing"] }
5657
tokio = "1.47.1"
5758
tracing = "0.1.41"
5859
wasm-bindgen = "0.2"
5960
wasm-bindgen-futures = "0.4"
6061
wasm-bindgen-test = "0.3"
6162
web-sys = "0.3"
62-
winit = { version = "0.30" }
63+
winit = { version = "0.30.12" }
6364
wgpu = { version = "26.0" }
6465
wgpu-core = { version = "26.0" }
6566
metal = "0.32"
@@ -74,4 +75,4 @@ opt-level = 3
7475
opt-level = 3
7576

7677
[patch.crates-io]
77-
spirv-std = { git = "https://github.com/LegNeato/rust-gpu.git", rev = "425328a" }
78+
spirv-std = { git = "https://github.com/rust-gpu/rust-gpu.git", rev = "05b34493ce661dccd6694cf58afc13e3c8f7a7e0" }

0 commit comments

Comments
 (0)