gfx-rs / gfx_scene

deprecated
Apache License 2.0
15 stars 1 forks source link

Add support for clearing of the cache after each draw #50

Closed ghost closed 9 years ago

ghost commented 9 years ago

Without this, updating a mesh causes a memory leak.

ghost commented 9 years ago

@homu r+

homu commented 9 years ago

:pushpin: Commit ba6d29a has been approved by csherratt

homu commented 9 years ago

:hourglass: Testing commit ba6d29a with merge d62f9ac...

homu commented 9 years ago

:sunny: Test successful - status

kvark commented 9 years ago

hmm... I don't think doing it every frame is optimal Perhaps, we can have a cache policy, with the default being - ClearOnFlush?