zaafar / ClickableTransparentOverlay

A library for creating transparent overlay using windows API & ImGui.NET
Apache License 2.0
87 stars 33 forks source link

Ability to specify whether an image should use mipmaps #59

Open wrekklol opened 6 months ago

wrekklol commented 6 months ago

Currently having a hard time trying to not use mipmaps, as it seems to blur out the texture a bit, which is not desired for my use. I'm trying to do an image editor, where there should be no filtering at all.

Would it be possible for you to add an overload or something to AddOrGetImagePointer, where I can specify that I don't want any mipmaps/filtering? :)

zaafar commented 6 months ago

yeah, sounds like a valid request. Feel free to create a PR, if I find some free time I will do it on my own.

NOTE: https://github.com/zaafar/ClickableTransparentOverlay/blob/master/ClickableTransparentOverlay/Overlay.cs#L318 doesn't have anything related to mips/filtering so i am assuming its sharpdx default behaviour that you want to turn off.