56 {0,
nullptr, 0,
nullptr,
nullptr},
100# define GPENCIL_ALPHA_OPACITY_THRESH 0.001f
106 Material *ma = id_cast<Material *>(ptr->owner_id);
114 Material *ma = id_cast<Material *>(ptr->owner_id);
121 Material *ma = id_cast<Material *>(ptr->owner_id);
122 rna_Material_update(bmain, scene, ptr);
125 for (
Object *ob = bmain->objects.first(); ob; ob =
static_cast<Object *
>(ob->id.next)) {
127 GreasePencil &grease_pencil = *id_cast<GreasePencil *>(ob->data);
137 Material *ma = id_cast<Material *>(ptr->owner_id);
143static std::optional<std::string> rna_MaterialLineArt_path(
const PointerRNA * )
150 Material *ma = id_cast<Material *>(ptr->owner_id);
161 static_cast<void *
>(ma->texpaintslot),
171 Material *ma = id_cast<Material *>(ptr->owner_id);
175 ma, ma->paint_active_slot);
181 if (ma->nodetree != found.first) {
187 if (ma->texpaintslot && (ma->tot_slots > ma->paint_active_slot)) {
188 TexPaintSlot *slot = &ma->texpaintslot[ma->paint_active_slot];
195 if (
const char *name = slot->attribute_name) {
198 Mesh *
mesh = id_cast<Mesh *>(ob->data);
199 if (
mesh->runtime->edit_mesh) {
222static int rna_Material_blend_method_get(
PointerRNA *ptr)
224 Material *material = id_cast<Material *>(ptr->owner_id);
225 switch (material->surface_render_method) {
234static void rna_Material_blend_method_set(
PointerRNA *ptr,
int new_blend_method)
236 Material *material = id_cast<Material *>(ptr->owner_id);
237 switch (new_blend_method) {
249static void rna_Material_render_method_set(
PointerRNA *ptr,
int new_render_method)
251 Material *material = id_cast<Material *>(ptr->owner_id);
255 switch (new_render_method) {
264static void rna_Material_transparent_shadow_set(
PointerRNA *ptr,
bool new_value)
266 Material *material = id_cast<Material *>(ptr->owner_id);
272static bool rna_Material_use_nodes_get(
PointerRNA * )
278static void rna_Material_use_nodes_set(
PointerRNA * ,
bool )
289 if (mtex ==
nullptr) {
304 if (index < 0 || index >=
MAX_MTEX) {
324 if (mtex_ar ==
nullptr) {
329 if (index < 0 || index >=
MAX_MTEX) {
334 if (mtex_ar[
index]) {
336 MEM_delete(mtex_ar[
index]);
337 mtex_ar[
index] =
nullptr;
345static void rna_TexPaintSlot_uv_layer_get(
PointerRNA *ptr,
char *value)
349 if (
data->uvname !=
nullptr) {
350 strcpy(value,
data->uvname);
357static int rna_TexPaintSlot_uv_layer_length(
PointerRNA *ptr)
360 return data->uvname ==
nullptr ? 0 : strlen(
data->uvname);
363static void rna_TexPaintSlot_uv_layer_set(
PointerRNA *ptr,
const char *value)
367 if (
data->uvname !=
nullptr) {
372static void rna_TexPaintSlot_name_get(
PointerRNA *ptr,
char *value)
376 if (
data->ima !=
nullptr) {
377 strcpy(value,
data->ima->id.name + 2);
381 if (
data->attribute_name !=
nullptr) {
382 strcpy(value,
data->attribute_name);
389static int rna_TexPaintSlot_name_length(
PointerRNA *ptr)
392 if (
data->ima !=
nullptr) {
393 return strlen(
data->ima->id.name) - 2;
395 if (
data->attribute_name !=
nullptr) {
396 return strlen(
data->attribute_name);
402static int rna_TexPaintSlot_icon_get(
PointerRNA *ptr)
405 if (
data->ima !=
nullptr) {
408 if (
data->attribute_name !=
nullptr) {
415static bool rna_is_grease_pencil_get(
PointerRNA *ptr)
418 if (ma->gp_style !=
nullptr) {
425static void rna_grease_pencil_fill_style_set(
PointerRNA *ptr,
int value)
439 if (pcolor->gradient ==
nullptr) {
446static std::optional<std::string> rna_GpencilColorData_path(
const PointerRNA * )
448 return "grease_pencil";
451static bool rna_GpencilColorData_is_stroke_visible_get(
PointerRNA *ptr)
454 return (pcolor->stroke_rgba[3] > GPENCIL_ALPHA_OPACITY_THRESH);
457static bool rna_GpencilColorData_is_fill_visible_get(
PointerRNA *ptr)
460 return ((pcolor->fill_rgba[3] > GPENCIL_ALPHA_OPACITY_THRESH) || (pcolor->fill_style > 0));
463static void rna_GpencilColorData_stroke_image_set(
PointerRNA *ptr,
468 ID *
id =
static_cast<ID *
>(value.data);
472 pcolor->sima = id_cast<Image *>(
id);
475static void rna_GpencilColorData_fill_image_set(
PointerRNA *ptr,
480 ID *
id =
static_cast<ID *
>(value.data);
484 pcolor->ima = id_cast<Image *>(
id);
504 static const float diffuse_color_default[4] = {0.8f, 0.8f, 0.8f, 1.0f};
547 prop,
"Line Priority",
"The line color of a higher priority is used at material boundaries");
561 {0,
nullptr, 0,
nullptr,
nullptr},
568 {0,
nullptr, 0,
nullptr,
nullptr},
578 "Fill area with gradient color"},
580 {0,
nullptr, 0,
nullptr,
nullptr},
586 {0,
nullptr, 0,
nullptr,
nullptr},
594 "Follow stroke drawing path and object rotation"},
600 "Do not follow drawing path or object rotation and keeps aligned with viewport"},
601 {0,
nullptr, 0,
nullptr,
nullptr},
609 "Place dots evenly along each segment of the stroke"},
614 "Place dots evenly with respect to radius"},
619 "Place dots evenly along the length of the stroke"},
620 {0,
nullptr, 0,
nullptr,
nullptr},
654 prop,
"Unused but kept for compatibility with older versions of Blender.", 503, 600);
660 prop,
"rna_grease_pencil_gradient_get",
nullptr,
nullptr,
nullptr);
719 prop,
"Locked",
"Protect color from further editing and/or frame changes");
726 prop,
"Show in Ghosts",
"Display strokes using this color when showing onion skins");
739 prop,
"Unused but kept for compatibility with older versions of Blender.", 503, 600);
744 prop,
"Self Overlap",
"Disable stencil and overlap self intersections with alpha materials");
750 prop,
"Holdout",
"Remove the color from underneath this stroke by using it as a mask");
756 prop,
"Holdout",
"Remove the color from underneath this stroke by using it as a mask");
764 prop,
"Unused but kept for compatibility with older versions of Blender.", 501, 600);
771 prop,
"Unused but kept for compatibility with older versions of Blender.", 501, 600);
778 prop,
"Alignment",
"Defines how align Dots and Boxes with drawing path and object rotation");
788 prop,
"Rotation",
"Additional rotation applied to dots and square texture of strokes");
797 prop,
"Placement",
"Defines how Dots or Squares are placed along strokes");
814 prop,
"Spacing",
"Spacing between dots as a percentage of the diameter");
893 "Identifier that can be used with some modifiers to restrict their "
894 "influence to only certain materials");
916 prop,
nullptr,
"rna_GpencilColorData_stroke_image_set",
nullptr,
nullptr);
942 prop,
nullptr,
"rna_GpencilColorData_fill_image_set",
nullptr,
nullptr);
953 prop,
"Is Stroke Visible",
"True when opacity of stroke is set high enough to be visible");
959 prop,
"Is Fill Visible",
"True when opacity of fill is set high enough to be visible");
975 prop,
"Use Material Mask",
"Use material masks to filter out occluded strokes");
989 "Faces with this material will behave as if it has set number of layers in occlusion");
995 "Intersection Priority",
996 "The intersection line will be included into the object with the "
997 "higher intersection priority value");
1004 "Use Intersection Priority",
1005 "Override object and collection intersection priority value");
1016 {
MA_FLAT,
"FLAT", ICON_MATPLANE,
"Flat",
"Flat XY plane"},
1017 {
MA_SPHERE,
"SPHERE", ICON_MATSPHERE,
"Sphere",
"Sphere"},
1018 {
MA_CUBE,
"CUBE", ICON_MATCUBE,
"Cube",
"Cube"},
1019 {
MA_HAIR,
"HAIR", ICON_CURVES,
"Hair",
"Hair strands"},
1020 {
MA_SHADERBALL,
"SHADERBALL", ICON_MATSHADERBALL,
"Shader Ball",
"Shader ball"},
1021 {
MA_CLOTH,
"CLOTH", ICON_MATCLOTH,
"Cloth",
"Cloth"},
1022 {
MA_FLUID,
"FLUID", ICON_MATFLUID,
"Fluid",
"Fluid"},
1023 {0,
nullptr, 0,
nullptr,
nullptr},
1031 "Each face is considered as a medium interface. Gives correct results for manifold "
1032 "geometry that contains no inner parts."},
1037 "Faces are considered as medium interface only when they have different consecutive "
1038 "facing. Gives correct results as long as the max ray depth is not exceeded. Have "
1039 "significant memory overhead compared to the fast method."},
1040 {0,
nullptr, 0,
nullptr,
nullptr},
1048 "Approximate the object as a sphere whose diameter is equal to the thickness defined by "
1054 "Approximate the object as an infinite slab of thickness defined by the node tree"},
1055 {0,
nullptr, 0,
nullptr,
nullptr},
1060 {
MA_BM_SOLID,
"OPAQUE", 0,
"Opaque",
"Render surface without transparency"},
1065 "Use the alpha threshold to clip the visibility (binary visibility)"},
1070 "Use noise to dither the binary visibility (works well with multi-samples)"},
1075 "Render polygon transparent, depending on alpha channel of the texture"},
1076 {0,
nullptr, 0,
nullptr,
nullptr},
1085 "Allows for grayscale hashed transparency, and compatible with render passes and "
1086 "raytracing. Also known as deferred rendering."},
1091 "Allows for colored transparency, but incompatible with render passes and raytracing. Also "
1092 "known as forward rendering."},
1093 {0,
nullptr, 0,
nullptr,
nullptr},
1101 "Bump mapping to simulate the appearance of displacement"},
1105 "Displacement Only",
1106 "Use true displacement of surface only, requires fine subdivision"},
1110 "Displacement and Bump",
1111 "Combination of true displacement and bump mapping for finer detail"},
1112 {0,
nullptr, 0,
nullptr,
nullptr},
1119 "Material data-block to define the appearance of geometric objects for rendering");
1125 "Surface Render Method",
1126 "Controls the blending and the compatibility with certain features");
1143 "Blend Mode for Transparent Faces (Deprecated: use 'surface_render_method')");
1145 prop,
"rna_Material_blend_method_get",
"rna_Material_blend_method_set",
nullptr);
1153 "A pixel is rendered only if its alpha value is above this threshold");
1160 "Use Transparency Overlap",
1161 "Render multiple transparent layers "
1162 "(may introduce transparency sorting problems)");
1171 "Render multiple transparent layers "
1172 "(may introduce transparency sorting problems) (Deprecated: use 'use_tranparency_overlap')");
1179 prop,
"Backface Culling",
"Use back face culling to hide the back side of faces");
1185 prop,
"Shadow Backface Culling",
"Use back face culling when casting shadows");
1193 "Light Probe Volume Backface Culling",
1194 "Consider material single sided for light probe volume capture. "
1195 "Additionally helps rejecting probes inside the object to avoid light leaks.");
1203 "Transparent Shadows",
1204 "Use transparent shadows for this material if it contains a Transparent BSDF, "
1205 "disabling will render faster but not give accurate shadows");
1212 "Raytrace Transmission",
1213 "Use raytracing to determine transmitted color instead of using only light probes. "
1214 "This prevents the surface from contributing to the lighting of surfaces not using this "
1223 "Raytrace Transmission",
1224 "Use raytracing to determine transmitted color instead of using only light probes. "
1225 "This prevents the surface from contributing to the lighting of surfaces not using this "
1226 "setting. Deprecated: use 'use_raytrace_refraction'.");
1232 prop,
"Subsurface Translucency",
"Add translucency effect to subsurface (Deprecated)");
1240 "Approximate the thickness of the object to compute two refraction "
1241 "events (0 is disabled) (Deprecated)");
1249 "Approximation used to model the light interactions inside the object");
1255 "Thickness From Shadow",
1256 "Use the shadow maps from shadow casting lights "
1257 "to refine the thickness defined by the material node tree");
1264 "Volume Intersection Method",
1265 "Determines which inner part of the mesh will produce volumetric effect");
1272 "Max Vertex Displacement",
1273 "The max distance a vertex can be displaced. "
1274 "Displacements over this threshold may cause visibility issues.");
1288 prop,
"Preview World",
"Use the current world background to light the preview render");
1294 prop,
"Pass Index",
"Index number for the \"Material Index\" render pass");
1310 "Unused but kept for compatibility reasons. Setting the property "
1311 "has no effect, and getting it always returns True.",
1325 prop,
"Grease Pencil Settings",
"Grease Pencil color settings for material");
1331 prop,
"Is Grease Pencil",
"True if this material has Grease Pencil data");
1346 const char *structname,
1347 const char *structname_slots)
1363 parm =
RNA_def_pointer(func,
"mtex", structname,
"",
"The newly initialized mtex");
1371 func,
"index", 0, 0,
INT_MAX,
"Index",
"Slot index to initialize", 0,
INT_MAX);
1373 parm =
RNA_def_pointer(func,
"mtex", structname,
"",
"The newly initialized mtex");
1387 const char *activeget,
1388 const char *activeset,
1389 const char *activeeditable,
1390 const char *structname,
1391 const char *structname_slots,
1393 const char *update_index)
1402 "rna_iterator_array_next",
1403 "rna_iterator_array_end",
1404 "rna_iterator_array_dereference_get",
1410 prop,
"Textures",
"Texture slots defining the mapping and influence of textures");
1416 if (activeeditable) {
1437 srna,
"Texture Paint Slot",
"Slot that contains information about texture painting");
1442 prop,
"rna_TexPaintSlot_name_get",
"rna_TexPaintSlot_name_length",
nullptr);
1456 "rna_TexPaintSlot_uv_layer_get",
1457 "rna_TexPaintSlot_uv_layer_length",
1458 "rna_TexPaintSlot_uv_layer_set");
1478 "rna_Material_texpaint_begin",
1479 "rna_iterator_array_next",
1480 "rna_iterator_array_end",
1481 "rna_iterator_array_dereference_get",
1488 prop,
"Texture Slot Images",
"Texture images used for texture painting");
1492 "rna_Material_texpaint_begin",
1493 "rna_iterator_array_next",
1494 "rna_iterator_array_end",
1495 "rna_iterator_array_get",
1502 prop,
"Texture Slots",
"Texture slots defining the mapping and influence of textures");
1507 prop,
"Active Paint Texture Index",
"Index of active texture paint slot");
Generic geometry attributes built on CustomData.
CustomData interface, see also DNA_customdata_types.h.
Low-level operations for grease pencil.
General operations, lookup, etc. for materials.
#define BLT_I18NCONTEXT_ID_GPENCIL
#define BLT_I18NCONTEXT_ID_MATERIAL
Object is a sort of wrapper for general info.
Read Blender memory allocation and freeing.
#define RNA_ENUM_ITEM_SEPR
#define ND_SHADING_PREVIEW
#define SET_FLAG_FROM_TEST(value, test, flag)
#define MAX_CUSTOMDATA_LAYER_NAME_NO_PREFIX
bool is_color_attribute(const AttributeMetaData &meta_data)
void node_set_active(bNodeTree &ntree, bNode &node)
static void rna_def_material_display(StructRNA *srna)
void WM_main_add_notifier(uint type, void *reference)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_editable_func(PropertyRNA *prop, const char *editable)
@ GP_MATERIAL_FOLLOW_PATH
@ GP_MATERIAL_FOLLOW_FIXED
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_deprecated(PropertyRNA *prop, const char *note, const short version, const short removal_version)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_boolean_bitset_array_sdna(PropertyRNA *prop, const char *structname, const char *propname, const int64_t booleanbit, const int length)
@ MA_VOLUME_ISECT_ACCURATE
void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
static void rna_def_tex_slot(BlenderRNA *brna)
void RNA_def_property_enum_default(PropertyRNA *prop, int value)
@ GP_MATERIAL_PLACEMENT_RADIUS
@ GP_MATERIAL_PLACEMENT_COUNT
@ GP_MATERIAL_PLACEMENT_DENSITY
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void ED_space_image_sync(Main *bmain, Image *image, bool ignore_render_viewer)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
const EnumPropertyItem rna_enum_ramp_blend_items[]
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
@ GP_MATERIAL_MODE_SQUARE
eMaterial_SurfaceRenderMethod
@ MA_SURFACE_METHOD_FORWARD
@ MA_SURFACE_METHOD_DEFERRED
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
struct MTex * BKE_texture_mtex_add_id(struct ID *id, int slot)
ColorBand * BKE_colorband_add(bool rangetype)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
@ MA_BL_THICKNESS_FROM_SHADOW
@ MA_BL_LIGHTPROBE_VOLUME_DOUBLE_SIDED
@ MA_BL_TRANSPARENT_SHADOW
@ MA_BL_CULL_BACKFACE_SHADOW
void rna_def_mtex_common(BlenderRNA *brna, StructRNA *srna, const char *begin, const char *activeget, const char *activeset, const char *activeeditable, const char *name, const char *name_slots, const char *update, const char *update_index)
MTex * rna_mtex_texture_slots_create(ID *self, bContext *C, ReportList *reports, int index)
void RNA_def_property_string_maxlength(PropertyRNA *prop, int maxlength)
@ GP_MATERIAL_STROKE_SHOW
@ GP_MATERIAL_DISABLE_STENCIL
@ GP_MATERIAL_USE_DOTS_RANDOMIZATION
@ GP_MATERIAL_IS_FILL_HOLDOUT
@ GP_MATERIAL_HIDE_ONIONSKIN
@ GP_MATERIAL_IS_STROKE_HOLDOUT
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_float_array_default(PropertyRNA *prop, const float *array)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
@ MA_DISPLACEMENT_DISPLACE
void RNA_def_property_float_default(PropertyRNA *prop, float value)
void rna_def_animdata_common(StructRNA *srna)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier_c_str, int type, int subtype)
void RNA_api_material(StructRNA *srna)
static void rna_def_texture_slots(BlenderRNA *brna, PropertyRNA *cprop, const char *structname, const char *structname_slots)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void rna_def_texpaint_slots(BlenderRNA *brna, StructRNA *srna)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_property_collection_funcs(PropertyRNA *prop, const char *begin, const char *next, const char *end, const char *get, const char *length, const char *lookupint, const char *lookupstring, const char *assignint)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void DEG_id_tag_update(ID *id, unsigned int flags)
void BKE_report(ReportList *reports, eReportType type, const char *message)
bool give_active_mtex(struct ID *id, struct MTex ***mtex_ar, short *act)
BMesh const char void * data
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
@ GP_MATERIAL_STROKE_STYLE_SOLID
@ GP_MATERIAL_STROKE_STYLE_TEXTURE
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
void rna_mtex_texture_slots_clear(ID *self, bContext *C, ReportList *reports, int index)
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
MTex * rna_mtex_texture_slots_add(ID *self, bContext *C, ReportList *reports)
BMDataLayerLookup BM_data_layer_lookup(const BMesh &bm, const StringRef name)
void RNA_def_property_enum_funcs(PropertyRNA *prop, const char *get, const char *set, const char *item)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier_c_str, const char *call)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_boolean_default(PropertyRNA *prop, bool value)
void RNA_def_property_translation_context(PropertyRNA *prop, const char *context)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_material(BlenderRNA *brna)
void RNA_def_function_flag(FunctionRNA *func, FunctionFlag flag)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, const int default_value, const int hardmin, const int hardmax, const char *ui_name, const char *ui_description, const int softmin, const int softmax)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
Main * CTX_data_main(const bContext *C)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void BKE_id_attributes_active_color_set(struct ID *id, std::optional< StringRef > name)
static void rna_def_material_lineart(BlenderRNA *brna)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
Scene * CTX_data_scene(const bContext *C)
std::pair< bNodeTree *, bNode * > BKE_texpaint_slot_material_find_node(Material *ma, short texpaint_slot)
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
@ GP_MATERIAL_GRADIENT_RADIAL
@ GP_MATERIAL_GRADIENT_LINEAR
void RNA_def_struct_name_property(StructRNA *srna, PropertyRNA *prop, const bool allow_replace)
static void rna_def_material_greasepencil(BlenderRNA *brna)
Object * CTX_data_active_object(const bContext *C)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive)
void rna_iterator_array_begin(CollectionPropertyIterator *iter, PointerRNA *ptr, void *data, size_t itemsize, int64_t length, bool free_ptr, IteratorSkipFunc skip)
@ LRT_MATERIAL_CUSTOM_INTERSECTION_PRIORITY
@ LRT_MATERIAL_MASK_ENABLED
eMaterialGPencilStyle_FillStyle
@ GP_MATERIAL_FILL_STYLE_TEXTURE
@ GP_MATERIAL_FILL_STYLE_SOLID
@ GP_MATERIAL_FILL_STYLE_GRADIENT
eMaterialGPencilStyle_FillStyle fill_style