xamarin / urho

Code to integrate with the Urho3D engine
Other
462 stars 122 forks source link

Missing wrapper for Graphics::GetMultiSampleLevels #237

Closed andrekoehler closed 7 years ago

andrekoehler commented 7 years ago

There is currently no way to know if a multisampling level is supported without applying it with Graphics.SetMode() and then checking if Graphics.Multisample has changed to the expected value.

The Urho3D native code already implements Graphics::GetMultiSampleLevels for all three graphics backends but the UrhoSharp wrapper does not expose this method.

EgorBo commented 7 years ago

I'll add this method to the next release PODVector return type is tricky to bind.

EgorBo commented 7 years ago

Added in https://github.com/xamarin/urho/commit/ecef023610c1b3b457ca22d5da2c872a394e5987