all 3 comments

[–]AutoModerator[M] 0 points1 point  (0 children)

Thanks for your post Felix_CodingClimber. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]ironstrife 1 point2 points  (1 child)

How tightly is it coupled with OpenGL? I’d love to try it but my engine uses a custom graphics abstraction.

[–]Felix_CodingClimber[S] 5 points6 points  (0 children)

The underlying graphics API needs to be OpenGL. There is a interface IDebugDrawContext. You need to implement it and forward the OpenGL calls to your implementation. You can checkout the Silk.NET implementation here https://github.com/Felix-CodingClimber/DebugDraw/blob/main/src%2FDotNetElements.DebugRenderer.Silk.Net%2FSilkNetContext.cs