vsg-dev / vsgImGui

Integration of VulkanSceneGraph with ImGui
MIT License
43 stars 28 forks source link

Add parameter for interpolation mode to texture #51

Closed hobbeshunter closed 1 year ago

hobbeshunter commented 1 year ago

For my use case it's useful to be able to set the interpolation mode.

robertosfield commented 1 year ago

It may be better to just get the Sampler after construction, or pass in the Sampler rather than pass in a subset of the settings. If we do the later there is always the chance that someone else we will to set another setting and want to add more to the constructor.

hobbeshunter commented 1 year ago

Sounds reasonable. I'll try to pass in a sampler to the constructor as soon as I find time.

hobbeshunter commented 1 year ago

@robertosfield is this better?

robertosfield commented 1 year ago

Looks good. Now merged.

hobbeshunter commented 1 year ago

Thanks