These are chat archives for bjz/gfx-rs
(InverseFlag, BlendValue), where
1 - X. That is more basic, but such approach ends up with a need for more code overall.. (comparing to just a straight-on enumeration).
(LessFlag, EqualFlag, GreaterFlag), but that again ends up being more code for no obvious reason...
Extensionsin the comments. Sorry, can't test it here...
depth()is a helper (chained) method to initialize the depth test:
let state = gfx::DrawState::new().depth("<=");
bitflags!just an integer? I mean, we are gonna loose a bit of type safety with them, if I understand it correctly
Comparisontype. Thanks! Any bright ideas about the