mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-10-14 21:13:10 +03:00
Initial commit
This commit is contained in:
27
desktop/graphics/vulkan_pipeline.h
Normal file
27
desktop/graphics/vulkan_pipeline.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "vulkan_common.h"
|
||||
|
||||
namespace progressia {
|
||||
namespace desktop {
|
||||
|
||||
class Pipeline : public VkObjectWrapper {
|
||||
|
||||
private:
|
||||
VkPipelineLayout layout;
|
||||
VkPipeline vk;
|
||||
|
||||
Vulkan &vulkan;
|
||||
|
||||
VkShaderModule createShaderModule(const std::vector<char> &bytecode);
|
||||
|
||||
public:
|
||||
Pipeline(Vulkan &);
|
||||
~Pipeline();
|
||||
|
||||
VkPipeline getVk();
|
||||
VkPipelineLayout getLayout();
|
||||
};
|
||||
|
||||
} // namespace desktop
|
||||
} // namespace progressia
|
Reference in New Issue
Block a user