Commit Graph

8 Commits

Author SHA1 Message Date
d334ee8f98 Implement cpu-generated text sprite 2024-03-02 14:45:22 +00:00
f025bef6c9 Updated Cargo.toml
bytemuck support for cgmath hasn't been released yet, so using the
master branch from github instead. Won't be adding it as submodule yet
as it is only temporary
2022-08-21 21:14:28 +02:00
1081051084 Got model matrix to work
For now the matrix is sent as a push constant but since WebGL doesn't
support them and will likely never support them big enough for a matrix,
they will in the future be sent in a uniform buffer
2022-08-20 14:43:29 +02:00
88078e128a Optimized vertex and index buffers
* buffers are no-longer re-created at each frame
* re-use existing buffers when updating mesh
2022-08-18 23:38:32 +02:00
79b86afc2a Got texture to display on quad
+ implemented Texture
* tweaked Application API
! some work need on Texture API to mask Rc<RefCell>>
2022-07-15 11:59:52 +02:00
7c01dfab75 Improved renderer to display quad 2022-07-07 22:54:15 +02:00
8fb74a0381 Started implementing Wgpu renderer
+ implemented basic setup code
+ implemented basic resize code
! renderer will default to GLES backend due to NV prime (Wgpu bug)
2022-07-02 23:28:30 +02:00
7ebd83a979 Initial commit
First draft of the API, does not compile
2022-06-09 22:38:35 +02:00