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
fb496a6172
validate VertexBufferDescriptors and fill in blanks when possible
2020-03-21 21:10:58 -07:00
Carter Anderson
a4eed18800
RenderGraph is now a Resource. RenderGraph owns vertex buffer descriptors. Assorted cleanup
2020-03-21 19:57:59 -07:00
Carter Anderson
7660b8bf3f
batched resource creation, vertex buffer macro
2020-03-21 18:12:30 -07:00
Carter Anderson
a55053cf14
Refactor / cleanup buffer metadata. Fix dynamic uniforms
2020-03-20 19:32:59 -07:00
Carter Anderson
ae0d5abf45
use RenderResourceAssignments in place of Entity
2020-03-20 17:49:29 -07:00
Carter Anderson
43e69484ba
migrate entity render resources to RenderResourceAssignments
2020-03-20 14:17:50 -07:00
Carter Anderson
9881f64715
cargo fmt
2020-03-20 12:47:33 -07:00
Carter Anderson
d9663d740b
AsUniforms provide VertexBufferDescriptor. Initial macro work
2020-03-17 18:25:27 -07:00
Carter Anderson
28fb0fdfc8
Reflect Vertex Buffer Attributes
...
Must follow VertexBufferDescriptorName_AttributeName format
I_VertexBufferDescriptorName_AttributeName indicates that an attribute is instanced
Currently all attributes must be defined in shaders or offsets will be incorrect.
2020-03-17 13:20:54 -07:00
Carter Anderson
64b897016c
swap out remaining wgpu references
2020-03-10 21:57:57 -07:00
Carter Anderson
cfaee577e7
move bind type
2020-03-10 02:10:44 -07:00
Carter Anderson
aca17f15b7
start moving away from wgpu types
2020-03-10 00:53:07 -07:00
Carter Anderson
aa09e93980
reorganize render modules
2020-03-09 23:08:09 -07:00