File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,25 @@ on implementing a Rust native UI framework built on top of our rendering engine.
47
47
## Documentation <a name =" documentation " ></a >
48
48
Documentation to be added soon.
49
49
50
- ## Building <a name =" building " ></a >
50
+ ## Installation <a name =" building " ></a >
51
+
52
+ ### From crates.io
53
+ lambda is now available on [ crates.io] ( https://crates.io/crates/lambda-rs )
54
+ and can be added to your project by adding the following to your
55
+ ` Cargo.toml ` file:
56
+
57
+ ``` toml
58
+ [dependencies ]
59
+ lambda-rs = " 2023.1.28"
60
+ ```
61
+
62
+ or from the CLI:
63
+ ``` bash
64
+ cargo add lambda-rs
65
+ ```
66
+
51
67
52
68
### From source <a name =" source " ></a >
53
- Currently, building from source is the only method to obtain a copy of Lambda.
54
69
55
70
#### Required external dependencies <a name =" ext_deps " ></a >
56
71
* All platforms
@@ -106,6 +121,11 @@ An example of using shaders with push constants to render a 3D image.
106
121
cargo run -- example push_constants
107
122
```
108
123
124
+ #### Notes
125
+ * On windows, you need to run this example with
126
+ ` --features lambda-rs/with-vulkan ` as the shader used in the example does not work
127
+ in either dx11 or dx12.
128
+
109
129
### Triangle
110
130
An example using shaders to render a single triangle.
111
131
``` rust
You can’t perform that action at this time.
0 commit comments