Blender V5.0
gpu_capabilities_private.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2020 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "BLI_sys_types.h"
12
13namespace blender::gpu {
14
27 int max_textures = 0;
31 int max_samplers = 0;
32 int max_images = 0;
33 int max_work_group_count[3] = {0, 0, 0};
34 int max_work_group_size[3] = {0, 0, 0};
47 const char *(*extension_get)(int);
48
49 bool mem_stats_support = false;
53
55
56 /* OpenGL related workarounds. */
61
63
64 /* Metal related workarounds. */
65 /* Minimum per-vertex stride in bytes (For a vertex buffer). */
67};
68
70
71} // namespace blender::gpu
GPUCapabilities GCaps