Skip to content

Commit f549dff

Browse files
committed
[update] documentation.
1 parent e762861 commit f549dff

File tree

5 files changed

+6
-222
lines changed

5 files changed

+6
-222
lines changed

crates/lambda-rs/examples/triangle.rs

Lines changed: 0 additions & 216 deletions
This file was deleted.

crates/lambda-rs/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
//! event/render loop.
99
//! - `math`: minimal vector/matrix utilities used by examples and helpers.
1010
//!
11-
//! See runnable examples in `crates/lambda-rs/examples/` and integration tests
12-
//! under `crates/lambda-rs/tests/` for typical usage patterns.
11+
//! See runnable demos under `demos/` and the minimal rustdoc reference example
12+
//! under `crates/lambda-rs/examples/` for typical usage patterns. Integration
13+
//! tests live under `crates/lambda-rs/tests/`.
1314
1415
pub mod component;
1516
pub mod events;

crates/lambda-rs/src/render/bind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! `SetBindGroup` time. Offsets MUST follow the device’s
1616
//! `min_uniform_buffer_offset_alignment`.
1717
//!
18-
//! See `crates/lambda-rs/examples/uniform_buffer_triangle.rs` for a complete
18+
//! See `demos/render/src/bin/uniform_buffer_triangle.rs` for a complete
1919
//! example.
2020
2121
use std::rc::Rc;

crates/lambda-rs/src/render/buffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//! - Creating a vertex buffer from a mesh: `BufferBuilder::build_from_mesh`.
1717
//! - Creating a uniform buffer and updating it each frame:
1818
//! see `UniformBuffer<T>` below and the runnable example
19-
//! `crates/lambda-rs/examples/uniform_buffer_triangle.rs`.
19+
//! `demos/render/src/bin/uniform_buffer_triangle.rs`.
2020
2121
use std::rc::Rc;
2222

crates/lambda-rs/src/render/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
//! 3) Record a `Vec<RenderCommand>` each frame and pass it to
2323
//! `RenderContext::render`.
2424
//!
25-
//! See workspace examples under `crates/lambda-rs/examples/` for runnable
26-
//! end‑to‑end snippets.
25+
//! See runnable demos under `demos/render/src/bin/` for end‑to‑end snippets.
2726
2827
// Module Exports
2928
pub mod bind;

0 commit comments

Comments
 (0)