Blender V4.3
gpencil_defines.h File Reference

Go to the source code of this file.

Macros

#define GPENCIL_MATERIAL_BUFFER_LEN   256
 
#define GPENCIL_LIGHT_BUFFER_LEN   128
 
#define GPENCIl_MATID_SHIFT   16u
 
#define GPENCIL_SCENE_DEPTH_TEX_SLOT   2
 
#define GPENCIL_MASK_TEX_SLOT   3
 
#define GPENCIL_FILL_TEX_SLOT   4
 
#define GPENCIL_STROKE_TEX_SLOT   5
 
#define GPENCIL_OBJECT_SLOT   0
 
#define GPENCIL_LAYER_SLOT   1
 
#define GPENCIL_MATERIAL_SLOT   2
 
#define GPENCIL_LIGHT_SLOT   3
 
#define GPENCIL_SCENE_SLOT   2
 

Macro Definition Documentation

◆ GPENCIL_FILL_TEX_SLOT

#define GPENCIL_FILL_TEX_SLOT   4

Definition at line 15 of file gpencil_defines.h.

◆ GPENCIL_LAYER_SLOT

#define GPENCIL_LAYER_SLOT   1

Definition at line 19 of file gpencil_defines.h.

◆ GPENCIL_LIGHT_BUFFER_LEN

#define GPENCIL_LIGHT_BUFFER_LEN   128

Definition at line 7 of file gpencil_defines.h.

Referenced by gpencil_light_ambient_add(), and gpencil_light_pool_populate().

◆ GPENCIL_LIGHT_SLOT

#define GPENCIL_LIGHT_SLOT   3

Definition at line 21 of file gpencil_defines.h.

◆ GPENCIL_MASK_TEX_SLOT

#define GPENCIL_MASK_TEX_SLOT   3

Definition at line 14 of file gpencil_defines.h.

◆ GPENCIL_MATERIAL_BUFFER_LEN

#define GPENCIL_MATERIAL_BUFFER_LEN   256

◆ GPENCIL_MATERIAL_SLOT

#define GPENCIL_MATERIAL_SLOT   2

Definition at line 20 of file gpencil_defines.h.

◆ GPENCIl_MATID_SHIFT

#define GPENCIl_MATID_SHIFT   16u

Definition at line 10 of file gpencil_defines.h.

◆ GPENCIL_OBJECT_SLOT

#define GPENCIL_OBJECT_SLOT   0

Definition at line 18 of file gpencil_defines.h.

◆ GPENCIL_SCENE_DEPTH_TEX_SLOT

#define GPENCIL_SCENE_DEPTH_TEX_SLOT   2

Definition at line 13 of file gpencil_defines.h.

◆ GPENCIL_SCENE_SLOT

#define GPENCIL_SCENE_SLOT   2

Definition at line 23 of file gpencil_defines.h.

◆ GPENCIL_STROKE_TEX_SLOT

#define GPENCIL_STROKE_TEX_SLOT   5

Definition at line 16 of file gpencil_defines.h.