24 lines
576 B
C
24 lines
576 B
C
// =============================================
|
|
// Aster: pipeline.h
|
|
// Copyright (c) 2020-2024 Anish Bhobe
|
|
// =============================================
|
|
|
|
#pragma once
|
|
|
|
#include "global.h"
|
|
|
|
#include <EASTL/vector.h>
|
|
|
|
struct Device;
|
|
|
|
struct Pipeline
|
|
{
|
|
const Device *m_Device;
|
|
vk::PipelineLayout m_Layout;
|
|
vk::Pipeline m_Pipeline;
|
|
eastl::vector<vk::DescriptorSetLayout> m_SetLayouts;
|
|
|
|
Pipeline(const Device *device, vk::PipelineLayout layout, vk::Pipeline pipeline,
|
|
eastl::vector<vk::DescriptorSetLayout> &&setLayouts);
|
|
~Pipeline();
|
|
}; |