Blender V5.3
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.hh"
12
13namespace blender::gpu {
14
27 int max_textures = 0;
28 int max_images = 0;
29 int max_work_group_count[3] = {0, 0, 0};
30 int max_work_group_size[3] = {0, 0, 0};
43 const char *(*extension_get)(int);
44
45 bool mem_stats_support = false;
50 bool ray_query_support = false;
52
55 /* Can an sRGB texture be bound as writable with a non-sRGB (UNORM) view? */
57
59
60 /* OpenGL related workarounds. */
68
70
71 /* Metal related workarounds. */
72 /* Minimum per-vertex stride in bytes (For a vertex buffer). */
74};
75
77
78} // namespace blender::gpu
GPUCapabilities GCaps
unsigned int uint32_t
Definition BKE_text.h:81