Changeset cf727ca in opengl-game for graphics-pipeline_vulkan.hpp


Ignore:
Timestamp:
Dec 5, 2019, 5:45:47 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
2b40f48
Parents:
055750a
Message:

In VulkanGame, add an objectIndex vertex attribute to the ship shader so it can be used as an index into the ssbo object array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graphics-pipeline_vulkan.hpp

    r055750a rcf727ca  
    8888      VkDeviceMemory indexBufferMemory;
    8989
     90      // TODO: THe objects vector isn't used at all in this class, except in the method that returns
     91      // the number of objects. Move this vector and the SceneObject declaration into VulkanGame, esp.
     92      // since I'll be adding other // object-specific fields sich as transforms to SceneObject later
    9093      vector<SceneObject<VertexType>> objects;
    9194
Note: See TracChangeset for help on using the changeset viewer.