VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
metalPipeline.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2025-2026 Arnis Lektauers
3//
4// Created by Arnis Lektauers on 05.11.2025.
5//
6#pragma once
7
8#include <memory>
9#include <vector>
10
11#include "metalGraphicsDevice.h"
13#include "metalPipelineLayout.h"
14
15namespace visutwin::canvas
16{
17 // Base class for render and compute pipelines
19 {
20 public:
21 explicit MetalPipeline(const MetalGraphicsDevice* device): _device(device) {}
22
26 metal::PipelineLayout* getPipelineLayout(const std::vector<std::shared_ptr<MetalBindGroupFormat>>& bindGroupFormats);
27
28 protected:
30 };
31}
MetalPipeline(const MetalGraphicsDevice *device)
metal::PipelineLayout * getPipelineLayout(const std::vector< std::shared_ptr< MetalBindGroupFormat > > &bindGroupFormats)
const MetalGraphicsDevice * _device