Blender V5.3
ktx_bridge/intern/common.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#if defined(_MSC_VER)
8# define API(returnType) extern "C" __declspec(dllexport) returnType __cdecl
9#else
10# define API(returnType) extern "C" returnType
11#endif
12
13/* VkFormat values used here (from the Vulkan spec). Not including the Vulkan headers to avoid
14 * the dependency. */
15#define VK_FORMAT_R8G8B8_UNORM 23
16#define VK_FORMAT_R8G8B8_SRGB 29
17#define VK_FORMAT_R8G8B8A8_UNORM 37
18#define VK_FORMAT_R8G8B8A8_SRGB 43