Blender V4.3
workbench_defines.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#define WB_RESOLVE_GROUP_SIZE 8
6
7/* Resources bind slots. */
8
9/* Textures. */
10/* Slot 0 is reserved by draw_hair_new. */
11#define WB_MATCAP_SLOT 1
12#define WB_TEXTURE_SLOT 2
13#define WB_TILE_ARRAY_SLOT 3
14#define WB_TILE_DATA_SLOT 4
15#define WB_CURVES_UV_SLOT 5
16#define WB_CURVES_COLOR_SLOT 6
17
18/* UBOs (Storage buffers in Workbench Next). */
19#define WB_MATERIAL_SLOT 0
20#define WB_WORLD_SLOT 1