Start refactoring shader system
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "IRecordable.hpp"
|
||||
#include "Base/ICloseable.hpp"
|
||||
#include <vulkan/vulkan.hpp>
|
||||
#include <vector>
|
||||
|
||||
namespace openVulkanoCpp
|
||||
{
|
||||
@@ -26,8 +27,9 @@ namespace openVulkanoCpp
|
||||
{
|
||||
Scene::Shader* shader = nullptr;
|
||||
vk::Device device;
|
||||
vk::ShaderModule shaderModuleVertex, shaderModuleFragment;
|
||||
vk::Pipeline pipeline;
|
||||
std::vector<vk::ShaderModule> shaderModules; // TODO manage live time somewhere else to allow sharing of shader programs
|
||||
std::vector<vk::PipelineShaderStageCreateInfo> shaderStageCreateInfo;
|
||||
vk::Pipeline pipeline; // TODO pipeline and shader config should be split
|
||||
IShaderOwner* owner;
|
||||
Context* context;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user