The current version of ImGui::Image accepts RHI::ITexture* only, and the sampler mode is forced to Filter::linear and TextureAddressMode::clamp in render code. We need one method to pass the sampler along with texture so that we can sample the texture using different samplers when using ImGui.
The current version of
ImGui::Image
acceptsRHI::ITexture*
only, and the sampler mode is forced toFilter::linear
andTextureAddressMode::clamp
in render code. We need one method to pass the sampler along with texture so that we can sample the texture using different samplers when using ImGui.