-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Combine Instance and &Texture into a struct repeatedly, when the struct is dropped,the texture is unbound.
let mut instance = instance.with_binding(0, &texture0).with_binding(1,&texture1);
instance.draw(whatever);You could disable unbinding the texture using some "listened to gotchas" flag.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request