Carter Anderson
b5d78477cf
cargo fmt
2020-04-06 16:15:59 -07:00
Carter Anderson
1d5388c4f0
cleanup cargo.tomls
2020-04-06 16:13:07 -07:00
Carter Anderson
b19e3004b8
rework marco modules, crate-ify ui
2020-04-06 14:20:53 -07:00
Carter Anderson
686e1422db
Crate-ify (almost) everything
2020-04-05 20:19:02 -07:00
Carter Anderson
0202dcb009
Use type_name as plugin name default
2020-04-05 14:12:14 -07:00
Carter Anderson
f6f8ba2cb6
Document and test Events. Rename EventHandle to EventReader. Fix buffer indexing. Customizable bevy path for proc macros
2020-03-31 18:04:54 -07:00
Carter Anderson
3d261f72de
move plugin to app module
2020-03-29 01:15:47 -07:00
Carter Anderson
e523dc92d8
shader_def: use to_upper instead of to_screaming_snake
2020-03-25 13:24:17 -07:00
Carter Anderson
55745b0812
renderable owns render resource assignments. refactor shader assignment logic. renderers are responsible for intializing during updates.
2020-03-22 18:22:35 -07:00
Carter Anderson
08cd5964a4
get_field_info is now static
2020-03-22 13:08:20 -07:00
Carter Anderson
c9aec26f88
CommandBufferBuilder and setup systems
2020-03-21 22:35:57 -07:00
Carter Anderson
fb496a6172
validate VertexBufferDescriptors and fill in blanks when possible
2020-03-21 21:10:58 -07:00
Carter Anderson
7660b8bf3f
batched resource creation, vertex buffer macro
2020-03-21 18:12:30 -07:00
Carter Anderson
ae72c2cdb0
Refactor and integrate AssetBatcher. Add AssignedBatchesDrawTarget shim
2020-03-19 17:57:07 -07:00
Carter Anderson
1e1980bf4d
support tags in entity archetypes
2020-03-18 16:06:33 -07:00
Carter Anderson
04590de678
separate albedo color and make it required
...
I worked really hard to make ColorSource work, but sadly we need color to be instanceable and making it optional would add too much complexity. Maybe at some point in the future we can add it back. On the plus side, albedo color now modulates the albedo texture
2020-03-17 22:02:01 -07:00
Carter Anderson
d9663d740b
AsUniforms provide VertexBufferDescriptor. Initial macro work
2020-03-17 18:25:27 -07:00
Carter Anderson
62d1e710a5
rename vertex_buffer to instanceable
2020-03-16 12:15:51 -07:00
Carter Anderson
c1e66089cc
add vertex buffer flag to uniform attributes
2020-03-15 12:35:02 -07:00
Carter Anderson
1332630fa3
tweaks
2020-03-15 01:12:56 -07:00
Carter Anderson
4d92ef0119
zero copy uniform bytes
2020-03-14 18:32:33 -07:00
Carter Anderson
56e79d5225
reorganize texture and mesh
2020-03-14 12:56:37 -07:00
Carter Anderson
aa09e93980
reorganize render modules
2020-03-09 23:08:09 -07:00
Carter Anderson
1a4bd98434
more texture work
2020-02-23 23:41:48 -08:00
Carter Anderson
7eb99f3eb5
finish uniform names refactor
2020-02-22 15:01:11 -08:00
Carter Anderson
ba1f48f743
start working out field bind type info
2020-02-22 12:42:40 -08:00
Carter Anderson
65284fcacb
more work on texture bindings
2020-02-21 00:15:24 -08:00
Carter Anderson
fb61204d53
start working out how AsUNiforms works with textures
2020-02-20 21:52:45 -08:00
Carter Anderson
2f1a0cb4a4
macros are now fully screaming snake
2020-02-18 22:59:33 -08:00
Carter Anderson
8a10c06ad5
add texture to frag shader. fix weird macro name collision bug
2020-02-18 20:26:02 -08:00
Carter Anderson
a1b9e3a7a5
add shader_def to albedo ColorSource and auto import trait in macro
2020-02-18 19:08:17 -08:00
Carter Anderson
ad7acb111a
fix custom_shader example
2020-02-17 20:23:00 -08:00
Carter Anderson
6cf981c610
use full path in macro references
2020-02-17 19:53:48 -08:00
Carter Anderson
eedec80e89
add shader def fields / proc macro
2020-02-10 19:26:04 -08:00
Carter Anderson
4a12d16307
add uniform field attribute
2020-02-09 21:41:51 -08:00
Carter Anderson
5b48de96db
Add Uniforms proc macro
2020-02-09 18:04:18 -08:00
Carter Anderson
88ecc9ed43
port ui over to new render graph
2020-02-07 22:42:30 -08:00
Carter Anderson
9e0d29d27e
prep flat pipeline
2020-01-21 03:15:28 -08:00
Carter Anderson
129a9747bb
add dynamic plugin loading
2020-01-20 20:10:40 -08:00
Carter Anderson
ec4ca5559f
EntityArchetype proc macro
2020-01-19 02:02:12 -08:00