File tree Expand file tree Collapse file tree 7 files changed +355
-346
lines changed Expand file tree Collapse file tree 7 files changed +355
-346
lines changed Original file line number Diff line number Diff line change 3
3
//! applications or to verify that your system is configured to run lambda
4
4
//! applications correctly.
5
5
6
+ #[ macro_use]
6
7
use lambda:: {
7
8
core:: runtime:: start_runtime,
8
- runtimes:: GenericRuntimeBuilder ,
9
+ runtimes:: ApplicationRuntimeBuilder ,
9
10
} ;
10
11
11
12
fn main ( ) {
12
- let runtime = GenericRuntimeBuilder :: new ( "Minimal Demo application" )
13
+ let runtime = ApplicationRuntimeBuilder :: new ( "Minimal Demo application" )
13
14
. with_renderer_configured_as ( move |render_context_builder| {
14
15
return render_context_builder. with_render_timeout ( 1_000_000_000 ) ;
15
16
} )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ use lambda::{
30
30
viewport,
31
31
ResourceId ,
32
32
} ,
33
- runtimes:: GenericRuntimeBuilder ,
33
+ runtimes:: ApplicationRuntimeBuilder ,
34
34
} ;
35
35
use lambda_platform:: {
36
36
gfx:: {
@@ -331,7 +331,7 @@ impl Default for PushConstantsExample {
331
331
}
332
332
333
333
fn main ( ) {
334
- let runtime = GenericRuntimeBuilder :: new ( "3D Push Constants Example" )
334
+ let runtime = ApplicationRuntimeBuilder :: new ( "3D Push Constants Example" )
335
335
. with_window_configured_as ( move |window_builder| {
336
336
return window_builder
337
337
. with_dimensions ( 800 , 600 )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ use lambda::{
22
22
viewport,
23
23
RenderContext ,
24
24
} ,
25
- runtimes:: GenericRuntimeBuilder ,
25
+ runtimes:: ApplicationRuntimeBuilder ,
26
26
} ;
27
27
28
28
pub struct DemoComponent {
@@ -186,7 +186,7 @@ impl Default for DemoComponent {
186
186
}
187
187
188
188
fn main ( ) {
189
- let runtime = GenericRuntimeBuilder :: new ( "2D Triangle Demo" )
189
+ let runtime = ApplicationRuntimeBuilder :: new ( "2D Triangle Demo" )
190
190
. with_renderer_configured_as ( move |render_context_builder| {
191
191
return render_context_builder. with_render_timeout ( 1_000_000_000 ) ;
192
192
} )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ use lambda::{
25
25
viewport,
26
26
RenderContext ,
27
27
} ,
28
- runtimes:: GenericRuntimeBuilder ,
28
+ runtimes:: ApplicationRuntimeBuilder ,
29
29
} ;
30
30
31
31
pub struct TrianglesComponent {
@@ -252,7 +252,7 @@ impl Default for TrianglesComponent {
252
252
}
253
253
254
254
fn main ( ) {
255
- let runtime = GenericRuntimeBuilder :: new ( "Multiple Triangles Demo" )
255
+ let runtime = ApplicationRuntimeBuilder :: new ( "Multiple Triangles Demo" )
256
256
. with_renderer_configured_as ( move |render_context_builder| {
257
257
return render_context_builder. with_render_timeout ( 1_000_000_000 ) ;
258
258
} )
You can’t perform that action at this time.
0 commit comments