Changeset cbe946d in opengl-game for vulkan-game.cpp
- Timestamp:
- Aug 23, 2019, 3:59:12 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- d53ef6a
- Parents:
- 6544020
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.cpp
r6544020 rcbe946d 75 75 static VkVertexInputBindingDescription getBindingDescription() { 76 76 VkVertexInputBindingDescription bindingDescription = {}; 77 78 // Since there is only one array of vertex data, we use binding = 0 79 // I'll probably do that for the foreseeable future 80 // I can calculate the stride myself given info about all the varying attributes 81 82 // In new-game.cpp, it looks like I had a C++ struct for each shader type anyway, 83 // so I can use the same pattern for this as well probably 77 84 78 85 bindingDescription.binding = 0;
Note:
See TracChangeset
for help on using the changeset viewer.