Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/modes/shaders/common_globals_lib.glsl
| Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | layout(std140) uniform globalsBlock { | ||||
| float sizeLightCenter; | float sizeLightCenter; | ||||
| float sizeLightCircle; | float sizeLightCircle; | ||||
| float sizeLightCircleShadow; | float sizeLightCircleShadow; | ||||
| float sizeVertex; | float sizeVertex; | ||||
| float sizeEdge; | float sizeEdge; | ||||
| float sizeEdgeFix; | float sizeEdgeFix; | ||||
| float sizeFaceDot; | float sizeFaceDot; | ||||
| float gridDistance; | |||||
| float gridResolution; | |||||
| float gridSubdivisions; | |||||
| float gridScale; | |||||
| float pad_globalsBlock; | float pad_globalsBlock; | ||||
| }; | }; | ||||
| /* data[0] (1nd byte flags) */ | /* data[0] (1nd byte flags) */ | ||||
| #define FACE_ACTIVE (1 << 0) | #define FACE_ACTIVE (1 << 0) | ||||
| #define FACE_SELECTED (1 << 1) | #define FACE_SELECTED (1 << 1) | ||||
| #define FACE_FREESTYLE (1 << 2) | #define FACE_FREESTYLE (1 << 2) | ||||
| #define VERT_UV_SELECT (1 << 3) | #define VERT_UV_SELECT (1 << 3) | ||||
| Show All 12 Lines | |||||