Function droppedFileCallback

Synopsis

#include <Source/Falcor/Core/Window.cpp>

static void droppedFileCallback(GLFWwindow *pGlfwWindow, int count, const char **paths)

Description

No description yet.

Source

Lines 169-180 in Source/Falcor/Core/Window.cpp.

static void droppedFileCallback(GLFWwindow* pGlfwWindow, int count, const char** paths)
{
    Window* pWindow = (Window*)glfwGetWindowUserPointer(pGlfwWindow);
    if (pWindow)
    {
        for (int i = 0; i < count; i++)
        {
            std::string filename(paths[i]);
            pWindow->mpCallbacks->handleDroppedFile(filename);
        }
    }
}





Add Discussion as Guest

Log in to DocsForge