VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
metalBindGroupFormat.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 14.11.2025.
5//
6#pragma once
7
10
11namespace visutwin::canvas
12{
18 {
19 public:
20 MetalBindGroupFormat(GraphicsDevice* graphicsDevice, const std::vector<BindBaseFormat*>& formats):
21 BindGroupFormat(graphicsDevice, formats) {}
22
23 metal::BindGroupLayout* bindGroupLayout() const { return _bindGroupLayout; }
24
25 private:
26 metal::BindGroupLayout* _bindGroupLayout;
27 };
28}
BindGroupFormat(GraphicsDevice *graphicsDevice, const std::vector< BindBaseFormat * > &formats)
Abstract GPU interface for resource creation, state management, and draw submission.
MetalBindGroupFormat(GraphicsDevice *graphicsDevice, const std::vector< BindBaseFormat * > &formats)
metal::BindGroupLayout * bindGroupLayout() const