2023-11-15 00:06:00 +01:00
|
|
|
#include "Pipeline.h"
|
|
|
|
|
|
|
|
|
|
using namespace Seele;
|
|
|
|
|
using namespace Seele::Gfx;
|
|
|
|
|
|
2024-01-19 09:49:42 +01:00
|
|
|
VertexInput::VertexInput(VertexInputStateCreateInfo createInfo)
|
|
|
|
|
: createInfo(createInfo)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
VertexInput::~VertexInput()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-15 00:06:00 +01:00
|
|
|
GraphicsPipeline::GraphicsPipeline(OPipelineLayout layout)
|
2023-11-15 17:42:57 +01:00
|
|
|
: layout(std::move(layout))
|
2023-11-15 00:06:00 +01:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
GraphicsPipeline::~GraphicsPipeline()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PPipelineLayout GraphicsPipeline::getPipelineLayout() const
|
|
|
|
|
{
|
|
|
|
|
return layout;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ComputePipeline::ComputePipeline(OPipelineLayout layout)
|
|
|
|
|
: layout(std::move(layout))
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ComputePipeline::~ComputePipeline()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PPipelineLayout ComputePipeline::getPipelineLayout() const
|
|
|
|
|
{
|
|
|
|
|
return layout;
|
|
|
|
|
}
|