Changeset a0c5f28 in opengl-game


Ignore:
Timestamp:
Sep 22, 2019, 11:27:23 PM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
c1c2021
Parents:
fe5c3ba
Message:

Add renderScene and renderUI functions to vulkangame

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.cpp

    rfe5c3ba ra0c5f28  
    139139      }
    140140
    141       SDL_RenderClear(renderer);
    142       SDL_RenderPresent(renderer);
    143    }
     141      renderUI();
     142      renderScene();
     143   }
     144}
     145
     146void VulkanGame::renderUI() {
     147   SDL_RenderClear(renderer);
     148   SDL_RenderPresent(renderer);
     149}
     150
     151void VulkanGame::renderScene() {
    144152}
    145153
  • vulkan-game.hpp

    rfe5c3ba ra0c5f28  
    3232      void initVulkan();
    3333      void mainLoop();
     34      void renderUI();
     35      void renderScene();
    3436      void cleanup();
    3537
Note: See TracChangeset for help on using the changeset viewer.