Skip to content

Introducing ImGuiTexInspect #4352

Closed
Closed

Description

@andyborrell

I'd like to introduce ImGuiTexInspect, a texture inspector tool for Dear ImGui. It's a debug tool that allows you to easily inspect the data in any texture. It provides the following features:

  • Zoom and Pan
  • Hover to see exact RGBA values
  • Annotation system at high zoom which annotates texel cells with:
    • Numerical RGBA values
    • Arrow representation of vector data encoded in color channels (e.g. normal maps)
    • Custom annotations, which can be added easily
  • Customizable alpha handling
  • Filters to select a combination of red, green, blue & alpha channels
  • Per texel matrix-transformation to allow versatile channel swizzling, blending, etc

You can see a live demo here

ImGuiTexInspect

I'm still actively working on this so I welcome all feedback and feature requests. Planned features include:

  • More renderer backend support (so far just DirectX 11 and OpenGL are supported)
  • Better support for floating point textures
  • Dynamically resizable view area
  • Ability to inspect specific mipmap levels
  • Support for textures with multisamples

I hope people find this useful! Please let me know if you have any requests, questions or feedback!

Activity

  1. PathogenDavid commented on Jul 22, 2021

    @PathogenDavid
    Contributor

    Looks great and feels great! Added it to the wiki so people can find it more easily.

    I like the annotations feature that pops up when you're really zoomed in, can definitely see that being useful when inspecting weirder buffers.

  2. ocornut commented on Oct 27, 2026

    @ocornut
    Owner

    Closing this topic now (seemingly no reason to keep this open).
    The extension is still listed in Wiki https://github.com/ocornut/imgui/wiki/Useful-Extensions#image-manipulation

    Note that 1.92.8 also added a very simple "Image Viewer" demo to exhibit using the new linear/nearest filter options and how to "correctly" process inputs:
    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址