Changeset 996dd3e in opengl-game for graphics-pipeline_vulkan.hpp
- Timestamp:
- May 14, 2021, 1:09:34 AM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- a3cefaa
- Parents:
- 9d21aac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
graphics-pipeline_vulkan.hpp
r9d21aac r996dd3e 22 22 using namespace glm; 23 23 24 // TODO: Use this struct for uniform buffers as well and rename it to VulkanBuffer (maybe move it to VulkanUtils)25 // Also, probably better to make this a vector of structs where each struct26 // has a VkBuffer, VkDeviceMemory, and VkDescriptorBufferInfo27 struct StorageBufferSet {28 vector<VkBuffer> buffers;29 vector<VkDeviceMemory> memory;30 vector<VkDescriptorBufferInfo> infoSet;31 };32 33 24 // TODO: Maybe change the name of this struct so I can call the list something other than descriptorInfoList 34 25 struct DescriptorInfo { … … 45 36 public: 46 37 string vertShaderFile, fragShaderFile; 47 48 // TODO: Move this outside this classs, since it is no longer used here49 StorageBufferSet storageBufferSet;50 38 51 39 // Both of these are only used for managing the SSBO, so move them out as well
Note:
See TracChangeset
for help on using the changeset viewer.