VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
bindGroupFormat.cpp
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 09.11.2025.
5//
6#include "bindGroupFormat.h"
7
8namespace visutwin::canvas
9{
10 static uint32_t idCounter = 0;
11
12 BindGroupFormat::BindGroupFormat(GraphicsDevice* graphicsDevice, const std::vector<BindBaseFormat*>& formats)
13 : _device(graphicsDevice), _id(idCounter++) {
14
15 }
16}
BindGroupFormat(GraphicsDevice *graphicsDevice, const std::vector< BindBaseFormat * > &formats)
Abstract GPU interface for resource creation, state management, and draw submission.