summary refs log tree commit diff
path: root/src/graphics/model.rs
AgeCommit message (Collapse)Author
4 daysrefactor Texture into its own thingIrene Knapp
as part of this, the command pools are moved from window dressing to permanent note also how mip count is a value computed by loading the texture, and used when creating the sampler, which is part of the window dressing. the assumption about how it's computed will have to change when we support multiple textures, but for now we settle for just pushing the assumption to the top level. Force-Push: yes Change-Id: I545c53feedc99628fbe943120798fe66fe9e065b
5 daysmove the obj loader to a more logical placeIrene Knapp
Force-Push: yes Change-Id: I0d506fa517daeacf63b52fdd5900f1bbee9c22b7
6 daysremove physical_device from ForReinitIrene Knapp
Vulkanalia tracks it for us in Device. it's used in Model, so it wasn't strictly in-scope for ForReinit; this solves the problem and simplifies some stuff. Force-Push: yes Change-Id: I8e38c236b3dc4c112671382a062c9ada2f34fbb1
6 daysmove models into their own struct and fileIrene Knapp
Force-Push: yes Change-Id: Ic6aa38b7d069825beadeb144eace5a9d23f0d21b