Commit graph

7514 commits

Author SHA1 Message Date
Carter Anderson
d88f9a7913 add support for empty functions as systems 2020-04-29 17:00:20 -07:00
Carter Anderson
2d3903299b Resource and ResourceMut pointers 2020-04-29 16:32:19 -07:00
Carter Anderson
45a710fe6a cargo fmt 2020-04-29 01:37:54 -07:00
Carter Anderson
9230c370ba Implement IntoSystem trait for flat functions using macros 2020-04-28 23:02:21 -07:00
Carter Anderson
f1a03a7a3a some system_fn renaming and add system examples 2020-04-28 13:46:07 -07:00
Carter Anderson
713c4a6056 move system function constructors to System 2020-04-28 11:25:24 -07:00
Carter Anderson
9a3700d8f1 Change events.iter(&mut reader) to reader.iter(&events) 2020-04-28 10:59:42 -07:00
Carter Anderson
92182060a9 add app builder shorthand for system function 2020-04-28 02:52:26 -07:00
Carter Anderson
092f3888ca Resource system functions 2020-04-28 02:31:01 -07:00
Carter Anderson
d5a33c9d0d Add thread safety to "function systems" 2020-04-28 01:27:18 -07:00
Carter Anderson
d5dcc96c39 "functions as systems" 2020-04-28 01:00:30 -07:00
Carter Anderson
0c3a77ac9f impl AddAssign for Color 2020-04-28 00:59:26 -07:00
Carter Anderson
c2c543e0ba move batch to its own module 2020-04-27 17:41:02 -07:00
Carter Anderson
9a7f49a39a remove example plugin from workspace 2020-04-25 19:48:41 -07:00
Carter Anderson
57109f8726 remove broken instancing example 2020-04-24 18:58:54 -07:00
Carter Anderson
115a009c16 cargo fmt 2020-04-24 18:55:15 -07:00
Carter Anderson
057ad97a46 fix dynamic plugin example 2020-04-24 18:23:37 -07:00
Carter Anderson
65d072fc6a re-add bevy_legion 2020-04-24 18:14:31 -07:00
Carter Anderson
8dcb7413d6 (temporarily) remove bevy_legion 2020-04-24 18:07:33 -07:00
Carter Anderson
fa81289fc7 try using an image link 2020-04-24 18:01:50 -07:00
Carter Anderson
87066cafd3 move bevy crates to their own folder 2020-04-24 17:57:20 -07:00
Carter Anderson
791c475354 RenderGraph2: Finish porting, refactor, cleanup 2020-04-24 17:46:54 -07:00
Carter Anderson
06b6ade902 RenderGraph2: Lights node 2020-04-24 15:13:00 -07:00
Carter Anderson
c124cbe22f add license 2020-04-24 13:16:04 -07:00
Carter Anderson
f47315afa3 RenderGraph2: fix uniform node textures 2020-04-24 12:48:12 -07:00
Carter Anderson
512bf118bf RenderGraph2: UniformNode 2020-04-24 11:08:46 -07:00
Carter Anderson
209b4b48d9 RenderGraph2: rendering works again! 2020-04-23 21:41:13 -07:00
Carter Anderson
b7d2f068ec RenderGraph2: compile pipelines and setup draw targets in pass node 2020-04-23 21:06:40 -07:00
Carter Anderson
5780bf4025 RenderGraph2: Finish graph executor, fix window textures 2020-04-23 20:53:38 -07:00
Carter Anderson
8326a1a3c2 RenderGraph2: Stager, (semi-functional) Executor, PassNode, and tests.
Rendering doesn't quite work yet, but we're close!
2020-04-23 17:24:41 -07:00
Carter Anderson
b6711d8eae use swap chain node 2020-04-21 11:43:35 -07:00
Carter Anderson
5fec31b63c render graph 2: schedulers + window nodes 2020-04-21 10:30:01 -07:00
Carter Anderson
210a50e781 Initial RenderGraph2. Port CameraResourceProvider 2020-04-20 14:29:21 -07:00
Carter Anderson
3c83e34cc1 re-enable opt=3 for debug 2020-04-19 22:31:14 -07:00
Carter Anderson
1143f16743 model loading works! 2020-04-19 19:29:33 -07:00
Carter Anderson
75ab0e21e5 upgrade legion 2020-04-19 19:11:12 -07:00
Carter Anderson
7fe2288814 pipeline specialization (support different primitive topologies within the same pipeline) 2020-04-19 19:06:41 -07:00
Carter Anderson
86d0ae6470 Fix mesh byte generation 2020-04-19 15:39:24 -07:00
Carter Anderson
d8b183de02 use cargo workspace 2020-04-19 13:23:19 -07:00
Carter Anderson
e59693fe67 exit events and systems 2020-04-19 12:13:04 -07:00
Carter Anderson
649ffebb7f New Mesh implementation (adapts to arbitrary vertex descriptors). Initial gltf model loading. 2020-04-19 10:08:47 -07:00
Carter Anderson
2aaf23b9fd remove unused resources variable 2020-04-16 12:13:05 -07:00
Carter Anderson
2eda84a0b8 Add latest and earliest methods to events and begin camera system port 2020-04-16 11:16:22 -07:00
Carter Anderson
dcd71d1b72 Rework AppBuilder system interfaces. Remove setup() in favor of startup_system 2020-04-15 19:42:17 -07:00
Carter Anderson
b5ec8e78d8 begin migrating to render resource providers to systems 2020-04-15 17:46:22 -07:00
Carter Anderson
71460baa3d cargo fmt 2020-04-15 15:55:00 -07:00
Carter Anderson
c213865cbf support downcasting RenderResourceContext ... this should be a part of std! 2020-04-15 15:52:29 -07:00
Carter Anderson
1f5f432e6c merge asset resources / support arbitrary asset handles / make them RwLocked 2020-04-15 12:48:04 -07:00
Carter Anderson
bcbddf8719 tweaks 2020-04-15 12:01:07 -07:00
Carter Anderson
07cf7897b1 add additional context to wgpu resource threading docs 2020-04-15 11:58:33 -07:00