Pre-submission Checklist
Problem Statement
ImGui supports setting the sampler via:
draw_list->AddCallback(ImGui::GetPlatformIO().DrawCallback_SetSamplerNearest);
draw_list->AddImage(....);
Feature described here: ocornut/imgui#9378
However, the DrawCallbacks are not currently exposed by ImGuiPlatformIOPtr (I couldn't find them in the backends either, not sure if anything needs to be added there).
Would be great to add these if it's not a difficult change!
Proposed Solution
Expose DrawCallback_ResetRenderState, DrawCallback_SetSamplerLinear, and DrawCallback_SetSamplerNearest in ImGuiPlatformIOPtr for all backends.
Alternatives Considered
No response
Additional Context
No response
Pre-submission Checklist
Problem Statement
ImGui supports setting the sampler via:
Feature described here: ocornut/imgui#9378
However, the DrawCallbacks are not currently exposed by
ImGuiPlatformIOPtr(I couldn't find them in the backends either, not sure if anything needs to be added there).Would be great to add these if it's not a difficult change!
Proposed Solution
Expose
DrawCallback_ResetRenderState,DrawCallback_SetSamplerLinear, andDrawCallback_SetSamplerNearestinImGuiPlatformIOPtrfor all backends.Alternatives Considered
No response
Additional Context
No response