Changeset 4e2c709 in opengl-game for sdl-game.hpp


Ignore:
Timestamp:
Feb 14, 2021, 2:44:21 AM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
28ea92f
Parents:
9c0a614
Message:

In VulkanGame, separate renderScene() into renderFrame() and presentFrame(), and in SDLGame, rename FrameRender() and FramePresent() to renderFrame() and presentFrame()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sdl-game.hpp

    r9c0a614 r4e2c709  
    111111      void createSyncObjects();
    112112
     113      void renderFrame(ImDrawData* draw_data);
     114      void presentFrame();
     115
    113116      void recreateSwapChain();
    114117
     
    118121      VkDescriptorPool descriptorPool;
    119122
    120    // Helper methods from imgui_impl_vulkan that were moved into VulkanGame to give them access to class instance variables
    121    public:
    122       void FrameRender(ImDrawData* draw_data);
    123       void FramePresent();
    124 
    125123};
    126124
Note: See TracChangeset for help on using the changeset viewer.