64 #define U (*((const UserDef *)&U))
76 const char *workspace_name)
121 if (
STREQ(workspace_name,
"UV Editing")) {
206 const bool hide_image_tool_header =
STREQ(workspace_name,
"Rendering");
209 ListBase *regionbase = (sl ==
area->spacedata.first) ? &
area->regionbase : &sl->regionbase;
213 if (((sl->spacetype ==
SPACE_IMAGE) && hide_image_tool_header) ||
247 if (layout->screen) {
266 bScreen *screen = layout->screen;
328 &gp_falloff_curve->
clipr,
337 &gp_primitive_curve->
clipr,
349 const float uv_values[24][2] = {
350 {0.625, 0.50}, {0.875, 0.50}, {0.875, 0.75}, {0.625, 0.75}, {0.375, 0.75}, {0.625, 0.75},
351 {0.625, 1.00}, {0.375, 1.00}, {0.375, 0.00}, {0.625, 0.00}, {0.625, 0.25}, {0.375, 0.25},
352 {0.125, 0.50}, {0.375, 0.50}, {0.375, 0.75}, {0.125, 0.75}, {0.375, 0.50}, {0.625, 0.50},
353 {0.625, 0.75}, {0.375, 0.75}, {0.375, 0.25}, {0.625, 0.25}, {0.625, 0.50}, {0.375, 0.50},
355 for (
int i = 0; i <
ARRAY_SIZE(uv_values); i++) {
503 win->workspace_hook, workspace);
508 if (!
STREQ(screen->
id.
name + 2, workspace->id.name + 2)) {
518 if (layout != layout_iter) {
585 camera->dof.focus_distance = 10.0f;
586 camera->dof.aperture_fstop = 2.8f;
591 light->clipsta = 0.05f;
592 light->att_dist = 40.0f;
598 ma->roughness = 0.5f;
605 roughness_data->
value = 0.5f;
621 const char *brush_name =
"Grab";
629 brush->blur_kernel_radius = 2;
644 const char *brush_name;
647 brush_name =
"Smear";
653 brush_name =
"Draw Sharp";
661 brush_name =
"Elastic Deform";
677 brush_name =
"Multi-plane Scrape";
685 brush_name =
"Clay Thumb";
693 brush_name =
"Cloth";
701 brush_name =
"Slide Relax";
709 brush_name =
"Paint";
717 brush_name =
"Smear";
725 brush_name =
"Boundary";
733 brush_name =
"Simplify";
741 brush_name =
"Draw Face Sets";
749 brush_name =
"Multires Displacement Eraser";
757 brush_name =
"Multires Displacement Smear";
const char * BKE_appdir_folder_default(void) ATTR_WARN_UNUSED_RESULT
struct Brush * BKE_brush_add(struct Main *bmain, const char *name, eObjectMode ob_mode)
void BKE_brush_gpencil_paint_presets(struct Main *bmain, struct ToolSettings *ts, bool reset)
void BKE_brush_sculpt_reset(struct Brush *brush)
void BKE_brush_gpencil_weight_presets(struct Main *bmain, struct ToolSettings *ts, bool reset)
void BKE_brush_gpencil_sculpt_presets(struct Main *bmain, struct ToolSettings *ts, bool reset)
void BKE_brush_gpencil_vertex_presets(struct Main *bmain, struct ToolSettings *ts, bool reset)
struct CurveProfile * BKE_curveprofile_add(eCurveProfilePresets preset)
CustomData interface, see also DNA_customdata_types.h.
void CustomData_free_layers(struct CustomData *data, int type, int totelem)
void BKE_gpencil_palette_ensure(struct Main *bmain, struct Scene *scene)
struct IDProperty * IDP_GetProperties(struct ID *id, bool create_if_needed) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
void IDP_ClearProperty(struct IDProperty *prop)
void BKE_view_layer_rename(struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, const char *name)
void id_us_min(struct ID *id)
void BKE_id_delete(struct Main *bmain, void *idv) ATTR_NONNULL()
void BLI_libblock_ensure_unique_name(struct Main *bmain, const char *name) ATTR_NONNULL()
void BKE_main_namemap_remove_name(struct Main *bmain, struct ID *id, const char *name) ATTR_NONNULL()
General operations, lookup, etc. for materials.
struct Material * BKE_gpencil_material_add(struct Main *bmain, const char *name)
void BKE_mesh_smooth_flag_set(struct Mesh *me, bool use_smooth)
#define SH_NODE_BSDF_PRINCIPLED
#define SH_NODE_SUBSURFACE_SCATTERING
void ntreeFreeEmbeddedTree(struct bNodeTree *ntree)
struct bNodeSocket * nodeFindSocket(const struct bNode *node, eNodeSocketInOut in_out, const char *identifier)
void BKE_ntree_update_tag_node_property(struct bNodeTree *ntree, struct bNode *node)
bool BKE_paint_ensure_from_paintmode(struct Scene *sce, ePaintMode mode)
@ PAINT_MODE_VERTEX_GPENCIL
@ PAINT_MODE_WEIGHT_GPENCIL
@ PAINT_MODE_SCULPT_GPENCIL
void BKE_area_region_panels_free(struct ListBase *panels)
void BKE_workspace_layout_remove(struct Main *bmain, struct WorkSpace *workspace, struct WorkSpaceLayout *layout) ATTR_NONNULL()
void BKE_workspace_tool_remove(struct WorkSpace *workspace, struct bToolRef *tref) ATTR_NONNULL(1
struct WorkSpaceLayout * BKE_workspace_active_layout_for_workspace_get(const struct WorkSpaceInstanceHook *hook, const struct WorkSpace *workspace) GETTER_ATTRS
BLI_INLINE bool BLI_listbase_is_empty(const struct ListBase *lb)
#define LISTBASE_FOREACH(type, var, list)
#define LISTBASE_FOREACH_MUTABLE(type, var, list)
void void BLI_freelistN(struct ListBase *listbase) ATTR_NONNULL(1)
void * BLI_findstring(const struct ListBase *listbase, const char *id, int offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
MINLINE void copy_v2_fl2(float v[2], float x, float y)
MINLINE void copy_v2_v2(float r[2], const float a[2])
MINLINE void copy_v3_v3(float r[3], const float a[3])
MINLINE void copy_v3_fl(float r[3], float f)
#define STRNCPY(dst, src)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
external readfile function prototypes.
@ ADS_FLAG_SUMMARY_COLLAPSED
@ BRUSH_PAINT_ANTIALIASING
@ SCULPT_TOOL_DRAW_FACE_SETS
@ SCULPT_TOOL_DISPLACEMENT_ERASER
@ SCULPT_TOOL_SLIDE_RELAX
@ SCULPT_TOOL_DISPLACEMENT_SMEAR
@ SCULPT_TOOL_MULTIPLANE_SCRAPE
@ SCULPT_TOOL_ELASTIC_DEFORM
@ GP_DATA_STROKE_PAINTMODE
#define MASK_DRAWFLAG_SPLINE
@ GP_MATERIAL_STROKE_SHOW
@ GP_MATERIAL_MODE_SQUARE
@ ME_REMESH_REPROJECT_VOLUME
@ ME_REMESH_REPROJECT_VERTEX_COLORS
@ ME_REMESH_REPROJECT_SCULPT_FACE_SETS
@ ME_REMESH_REPROJECT_PAINT_MASK
@ SHD_SUBSURFACE_RANDOM_WALK
Object is a sort of wrapper for general info.
@ RGN_FLAG_HIDDEN_BY_USER
@ SEQ_RENDER_SIZE_PROXY_100
@ SEQ_TIMELINE_SHOW_STRIP_DURATION
@ SEQ_TIMELINE_SHOW_STRIP_SOURCE
@ SEQ_TIMELINE_SHOW_STRIP_NAME
@ SEQ_TIMELINE_SHOW_STRIP_COLOR_TAG
@ SEQ_PREVIEW_SHOW_OUTLINE_SELECTED
@ V3D_SHADING_BACKGROUND_VIEWPORT
@ V3D_SHADING_MATERIAL_COLOR
@ V3D_AROUND_CENTER_MEDIAN
#define V3D_SHOW_ANNOTATION
@ V3D_SHADING_SPECULAR_HIGHLIGHT
@ V3D_OVERLAY_EDIT_CU_NORMALS
@ V3D_SHADING_CAVITY_CURVATURE
#define V3D_GP_SHOW_EDIT_LINES
Read Guarded memory(de)allocation.
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Sky Generate a procedural sky texture Noise Generate fractal Perlin noise Wave Generate procedural bands or rings with noise Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a or normal between camera
bNodeSocketValueFloat * roughness_socket
void(* MEM_freeN)(void *vmemh)
static void area(int d1, int d2, int e1, int e2, float weights[2])
const char * RE_engine_id_BLENDER_EEVEE
struct BrushGpencilSettings * gpencil_settings
struct CurveMapping * cur_primitive
struct CurveMapping * cur_falloff
struct MaterialGPencilStyle * gp_style
float motion_blur_shutter
struct bNodeTree * nodetree
struct SceneDisplay display
struct ToolSettings * toolsettings
ColorManagedViewSettings view_settings
struct DisplaySafeAreas safe_areas
FileSelectParams * params
struct SequencerTimelineOverlay timeline_overlay
struct SequencerPreviewOverlay preview_overlay
float normals_constant_screen_size
float texture_paint_mode_opacity
float vertex_paint_mode_opacity
float weight_paint_mode_opacity
float background_color[3]
ID * do_versions_rename_id(Main *bmain, const short id_type, const char *name_src, const char *name_dst)
void BLO_update_defaults_workspace(WorkSpace *workspace, const char *app_template)
static void blo_update_defaults_screen(bScreen *screen, const char *app_template, const char *workspace_name)
static void blo_update_defaults_scene(Main *bmain, Scene *scene)
void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
static bool blo_is_builtin_template(const char *app_template)