paulwrubel/luxide

Benchmark using `enum`s for Materials/Textures/Primitives instead of using Dynamic Dispatch

Opened this issue · 0 comments

I'm not actually sure if this is possible, due to multi-threading reasons. It probably is though, just would have to wrap the whole enum in an Arc I would imagine. That may/may not cancel out performance benefits! Not sure, so this should be tested.