summaryrefslogtreecommitdiff
path: root/engine/xe_pipeline.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/xe_pipeline.hpp')
-rwxr-xr-xengine/xe_pipeline.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/engine/xe_pipeline.hpp b/engine/xe_pipeline.hpp
index cb601e0..14df508 100755
--- a/engine/xe_pipeline.hpp
+++ b/engine/xe_pipeline.hpp
@@ -33,7 +33,10 @@ class Pipeline {
Device &device,
const std::string& vertFilepath,
const std::string& fragFilepath,
- const PipelineConfigInfo& configInfo);
+ const PipelineConfigInfo& configInfo,
+ std::vector<VkVertexInputAttributeDescription> &attributeDescptions,
+ uint32_t vertexSize
+ );
~Pipeline();
Pipeline(const Pipeline&) = delete;
@@ -48,7 +51,10 @@ class Pipeline {
void createGraphicsPipeline(
const std::string& vertFilePath,
const std::string& fragFilepath,
- const PipelineConfigInfo& configInfo);
+ const PipelineConfigInfo& configInfo,
+ std::vector<VkVertexInputAttributeDescription> &attributeDescptions,
+ uint32_t vertexSize
+ );
void createShaderModule(const std::vector<char>& code, VkShaderModule* shaderModule);