Fix two issues with default parameters in the generated C# bindings:
"Soloud::CONSTANT" -> "Soloud.Constant"
true/false -> 1/0, since parameters aren't declared as bool
It also makes the soloud objects disposable to avoid relying solely on finalizers. (It sometimes has performance problems since the objects are finalized on a separate thread and cannot be garbage collected until that is completed).
Fix two issues with default parameters in the generated C# bindings:
It also makes the soloud objects disposable to avoid relying solely on finalizers. (It sometimes has performance problems since the objects are finalized on a separate thread and cannot be garbage collected until that is completed).