Skip to content
Snippets Groups Projects
Commit 315a9aac authored by Alexander Gauggel's avatar Alexander Gauggel
Browse files

[18]rename function for clarity

parent 674f26c0
No related branches found
No related tags found
4 merge requests!12Resolve "Swapchain Class",!7Resolve "Shader Program Class",!5Resolve "Pipeline State Object",!4Resolve "Renderpass Class"
......@@ -117,7 +117,7 @@ namespace vkcv
* @param handle a handle to return the created vulkan handle
* @return True if Pipeline creation was successfull, False if not
*/
bool createPipeline(const Pipeline &pipeline, PipelineHandle &handle);
bool createGraphicsPipeline(const Pipeline &pipeline, PipelineHandle &handle);
// TODO:
BufferHandle createBuffer(const Buffer &buf);
......
......@@ -419,7 +419,7 @@ namespace vkcv
m_Context.getInstance().destroySurfaceKHR(m_swapchain.getSurface());
}
bool Core::createPipeline(const Pipeline& pipeline, PipelineHandle& handle) {
bool Core::createGraphicsPipeline(const Pipeline& pipeline, PipelineHandle& handle) {
// vertex shader stage
vk::ShaderModuleCreateInfo vertexModuleInfo({}, pipeline.m_vertexCode.size(), pipeline.m_vertexCode.data());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment