Coder Social home page Coder Social logo

Inherent frame delay? about imgui HOT 4 CLOSED

vescodes avatar vescodes commented on July 30, 2024
Inherent frame delay?

from imgui.

Comments (4)

Wyverex42 avatar Wyverex42 commented on July 30, 2024 1

There is another issue with the standalone application change. There is never a time now where you're not in an ImGui frame since EndFrame and BeginFrame are called back to back. That means it's not possible to e.g. add a new font because that's not allowed while in a frame.

To add a new font I'd now have to change FImGuiContext::Initialize and add it before the first BeginFrame is called.

from imgui.

VesCodes avatar VesCodes commented on July 30, 2024

This is due to a recent change to support standalone applications which don't go through the regular engine frame loop. I'll have to think about how to accommodate both flows but you can refer to the previous implementation that utilised FCoreDelegates::OnBeginFrame and FCoreDelegates::OnEndFrame that should fix this - see the changes to FImGuiContext in 054095b.

from imgui.

Wyverex42 avatar Wyverex42 commented on July 30, 2024

Ah thanks, that makes sense. It's not super time critical, I can live with this issue for a while. So if you're going to fix it properly for both cases in the near future, I can happily wait for that :)

from imgui.

VesCodes avatar VesCodes commented on July 30, 2024

Fixed in a973d76

from imgui.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.