File tree Expand file tree Collapse file tree 5 files changed +46
-5
lines changed Expand file tree Collapse file tree 5 files changed +46
-5
lines changed Original file line number Diff line number Diff line change 12
12
3 . [ Building] ( #building )
13
13
1 . [ From source] ( #source )
14
14
1 . [ External dependencies] ( #ext_deps )
15
- 2 . [ Optional depedencies ] ( #opt_deps )
15
+ 2 . [ Optional dependencies ] ( #opt_deps )
16
16
3 . [ Linux, Macos, Windows] ( #bash )
17
17
5 . [ Getting started] ( #get_started )
18
18
6 . [ Examples] ( #examples )
@@ -64,7 +64,6 @@ or from the CLI:
64
64
cargo add lambda-rs
65
65
```
66
66
67
-
68
67
### From source <a name =" source " ></a >
69
68
70
69
#### Required external dependencies <a name =" ext_deps " ></a >
Original file line number Diff line number Diff line change
1
+ # lambda-rs-args
2
+ Argument parsing for lambda-rs applications.
3
+
4
+ ## Getting started
5
+ TODO
Original file line number Diff line number Diff line change
1
+ # lambda-rs-platform
2
+ Platform implementations for lambda-rs. This crate is not intended to be used directly and guarantees no stability across versions.
3
+
4
+ ## Platforms
5
+ The following platforms are currently supported:
6
+ * Windows
7
+ * Vulkan
8
+ * DirectX 11
9
+ * DirectX 12
10
+ * Linux
11
+ * Vulkan
12
+ * OpenGL
13
+ * MacOS
14
+ * Metal
15
+ * Vulkan
Original file line number Diff line number Diff line change
1
+ # lambda-rs
2
+ The lambda-rs crate provides a safe, cross-platform API for building applications on the Lambda platform.
3
+
4
+ ## Getting started
5
+ ### First window
6
+ Getting started with lambda is easy. The following example will create a window with the title "Hello lambda!" and a size of 800x600.
7
+ ``` rust
8
+ #[macro_use]
9
+ use lambda :: {
10
+ core :: runtime :: start_runtime,
11
+ runtimes :: ApplicationRuntimeBuilder ,
12
+ };
13
+
14
+ fn main () {
15
+ let runtime = ApplicationRuntimeBuilder :: new (" Hello lambda!" )
16
+ . with_window_configured_as (move | window_builder | {
17
+ return window_builder
18
+ . with_dimensions (800 , 600 )
19
+ . with_name (" Hello lambda!" );
20
+ })
21
+ . build ();
22
+
23
+ start_runtime (runtime );
24
+ }
25
+ ```
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ use lambda::{
11
11
12
12
fn main ( ) {
13
13
let runtime = ApplicationRuntimeBuilder :: new ( "Minimal Demo application" )
14
- . with_renderer_configured_as ( move |render_context_builder| {
15
- return render_context_builder. with_render_timeout ( 1_000_000_000 ) ;
16
- } )
17
14
. with_window_configured_as ( move |window_builder| {
18
15
return window_builder
19
16
. with_dimensions ( 800 , 600 )
You can’t perform that action at this time.
0 commit comments