MikePopoloski / SharpBgfx

C# bindings for the bgfx graphics library
MIT License
169 stars 32 forks source link

Implement 05-Instancing example #14

Closed PowerStateFailure closed 7 years ago

PowerStateFailure commented 7 years ago

This is very straightforward reimplementation of original bgfx example, full of pointer arithmetic. Miss InstanceDataBuffer size check - can not realize how to extract it right way.

Anyway, it works as expected on GTX 750 Ti.

MikePopoloski commented 7 years ago

Thanks for writing this; I'll try to take a look later today and get it integrated.

MikePopoloski commented 7 years ago

Merged in by hand. Thanks for implementing this!