Changeset 683dd55 in opengl-game for graphics-pipeline_vulkan.hpp
- Timestamp:
- Nov 22, 2019, 4:47:52 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 8e02b6b
- Parents:
- 1908591
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
graphics-pipeline_vulkan.hpp
r1908591 r683dd55 56 56 void createRenderCommands(VkCommandBuffer& commandBuffer, uint32_t currentImage); 57 57 58 const vector<SceneObject<VertexType>>& getObjects(); 58 59 bool addObject(const vector<VertexType>& vertices, vector<uint16_t> indices, VkCommandPool commandPool, 59 60 VkQueue graphicsQueue); … … 104 105 } 105 106 107 // TODO: Verify that vertex capacity and index capacity are both > 0 106 108 template<class VertexType> 107 109 GraphicsPipeline_Vulkan<VertexType>::GraphicsPipeline_Vulkan(VkPhysicalDevice physicalDevice, VkDevice device, … … 406 408 407 409 template<class VertexType> 410 const vector<SceneObject<VertexType>>& GraphicsPipeline_Vulkan<VertexType>::getObjects() { 411 return objects; 412 } 413 414 template<class VertexType> 408 415 bool GraphicsPipeline_Vulkan<VertexType>::addObject(const vector<VertexType>& vertices, vector<uint16_t> indices, 409 416 VkCommandPool commandPool, VkQueue graphicsQueue) {
Note:
See TracChangeset
for help on using the changeset viewer.