Changeset 90880fb in opengl-game for sdl-game.hpp


Ignore:
Timestamp:
Jun 17, 2021, 11:59:14 PM (3 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
2f4ff8c
Parents:
5ea0a37
git-author:
Dmitry Portnoy <dportnoy@…> (06/13/21 23:57:17)
git-committer:
Dmitry Portnoy <dportnoy@…> (06/17/21 23:59:14)
Message:

Start using the VulkanBuffer class for the non-per-object uniforms (this means the view and projection matrices for all pipelines, as well as the current time for the explosion pipeline)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sdl-game.hpp

    r5ea0a37 r90880fb  
    225225      GraphicsPipeline_Vulkan<ModelVertex> modelPipeline;
    226226
     227      BufferSet uniformBuffers_modelPipeline;
    227228      BufferSet storageBuffers_modelPipeline;
     229
     230      VulkanBuffer<UBO_VP_mats> vp_mats_modelPipeline;
    228231      VulkanBuffer<SSBO_ModelObject> objects_modelPipeline;
    229       BufferSet uniformBuffers_modelPipeline;
    230232
    231233      // TODO: Maybe make the ubo objects part of the pipeline class since there's only one ubo
     
    238240
    239241      vector<SceneObject<ModelVertex>> modelObjects;
    240 
    241       UBO_VP_mats object_VP_mats;
    242242
    243243      /*** High-level vars ***/
Note: See TracChangeset for help on using the changeset viewer.