Files
test/source/blender/gpu/GPU_platform_backend_enum.h
2025-09-15 15:11:02 +02:00

19 lines
375 B
C

/* SPDX-FileCopyrightText: 2024 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup gpu
*/
#pragma once
/** NOTE: Keep in sync with eUserPref_GPUBackendType. */
enum GPUBackendType {
GPU_BACKEND_NONE = 0,
GPU_BACKEND_OPENGL = 1 << 0,
GPU_BACKEND_METAL = 1 << 1,
GPU_BACKEND_VULKAN = 1 << 3,
GPU_BACKEND_ANY = 0xFFFFFFFFu
};