예제 #1
0
    void _initializeResources()
    {
        debug::log::println ("initializing resource managers ...");

        _resourceManagers.configFilesManager().addFileSearchLocation ("config");
        _resourceManagers.exs3dMeshesManager().addFileSearchLocation ("resources/models");
        _resourceManagers.gpuProgramsManager().addFileSearchLocation ("resources/shaders");
        _resourceManagers.vertexShadersManager().addFileSearchLocation ("resources/shaders");
        _resourceManagers.fragmentShadersManager().addFileSearchLocation ("resources/shaders");
        _resourceManagers.geometryShadersManager().addFileSearchLocation ("resources/shaders");
        _resourceManagers.fontsManager().addFileSearchLocation ("resources/fonts");
        _resourceManagers.texturesManager().addFileSearchLocation ("resources/textures");

        _resourceManagers.addFilesSearchLocation ("resources");
    }