Blender V5.3
workbench_defines.hh File Reference

Go to the source code of this file.

Macros

#define WB_RESOLVE_GROUP_SIZE   8
#define WB_MATCAP_SLOT   2
#define WB_TEXTURE_SLOT   3
#define WB_TILE_ARRAY_SLOT   4
#define WB_TILE_DATA_SLOT   5
#define WB_CURVES_UV_SLOT   6
#define WB_CURVES_COLOR_SLOT   7
#define WB_MATERIAL_SLOT   0
#define WB_WORLD_SLOT   1

Variables

static constexpr int WORKBENCH_LIGHTING_STUDIO = 0
static constexpr int WORKBENCH_LIGHTING_MATCAP = 1
static constexpr int WORKBENCH_LIGHTING_FLAT = 2

Macro Definition Documentation

◆ WB_CURVES_COLOR_SLOT

#define WB_CURVES_COLOR_SLOT   7

Definition at line 22 of file workbench_defines.hh.

◆ WB_CURVES_UV_SLOT

#define WB_CURVES_UV_SLOT   6

Definition at line 21 of file workbench_defines.hh.

◆ WB_MATCAP_SLOT

#define WB_MATCAP_SLOT   2

◆ WB_MATERIAL_SLOT

#define WB_MATERIAL_SLOT   0

Definition at line 25 of file workbench_defines.hh.

Referenced by blender::workbench::MeshPass::init_pass().

◆ WB_RESOLVE_GROUP_SIZE

#define WB_RESOLVE_GROUP_SIZE   8

Definition at line 11 of file workbench_defines.hh.

◆ WB_TEXTURE_SLOT

#define WB_TEXTURE_SLOT   3

◆ WB_TILE_ARRAY_SLOT

#define WB_TILE_ARRAY_SLOT   4

◆ WB_TILE_DATA_SLOT

#define WB_TILE_DATA_SLOT   5

◆ WB_WORLD_SLOT

Variable Documentation

◆ WORKBENCH_LIGHTING_FLAT

int WORKBENCH_LIGHTING_FLAT = 2
staticconstexpr

Definition at line 30 of file workbench_defines.hh.

◆ WORKBENCH_LIGHTING_MATCAP

int WORKBENCH_LIGHTING_MATCAP = 1
staticconstexpr

Definition at line 29 of file workbench_defines.hh.

◆ WORKBENCH_LIGHTING_STUDIO

int WORKBENCH_LIGHTING_STUDIO = 0
staticconstexpr

Definition at line 28 of file workbench_defines.hh.