Blender V2.61 - r43446
|
Go to the source code of this file.
Classes | |
struct | VolumeSettings |
struct | GameSettings |
struct | Material |
Defines | |
#define | MAX_MTEX 18 |
#define | GEMAT_SOLID 0 |
#define | GEMAT_ADD 1 |
#define | GEMAT_ALPHA 2 |
#define | GEMAT_CLIP 4 |
#define | GEMAT_ALPHA_SORT 8 |
#define | GEMAT_BACKCULL 16 |
#define | GEMAT_SHADED 32 |
#define | GEMAT_TEXT 64 |
#define | GEMAT_NOPHYSICS 128 |
#define | GEMAT_INVISIBLE 256 |
#define | GEMAT_NORMAL 0 |
#define | GEMAT_HALO 512 |
#define | GEMAT_BILLBOARD 1024 |
#define | GEMAT_SHADOW 2048 |
#define | GEMAT_TEX 4096 |
#define | MAXMAT (32767-1) |
#define | MA_TYPE_SURFACE 0 |
#define | MA_TYPE_HALO 1 |
#define | MA_TYPE_VOLUME 2 |
#define | MA_TYPE_WIRE 3 |
#define | MA_IS_USED 1 |
#define | MA_DS_EXPAND 2 |
#define | MA_DS_SHOW_TEXS 4 |
#define | MA_TRACEBLE 1 |
#define | MA_SHADOW 2 |
#define | MA_SHLESS 4 |
#define | MA_WIRE 8 |
#define | MA_VERTEXCOL 16 |
#define | MA_HALO_SOFT 16 |
#define | MA_HALO 32 |
#define | MA_ZTRANSP 64 |
#define | MA_VERTEXCOLP 128 |
#define | MA_ZINV 256 |
#define | MA_HALO_RINGS 256 |
#define | MA_ENV 512 |
#define | MA_HALO_LINES 512 |
#define | MA_ONLYSHADOW 1024 |
#define | MA_HALO_XALPHA 1024 |
#define | MA_STAR 0x800 |
#define | MA_FACETEXTURE 0x800 |
#define | MA_HALOTEX 0x1000 |
#define | MA_HALOPUNO 0x2000 |
#define | MA_ONLYCAST 0x2000 |
#define | MA_NOMIST 0x4000 |
#define | MA_HALO_SHADE 0x4000 |
#define | MA_HALO_FLARE 0x8000 |
#define | MA_TRANSP 0x10000 |
#define | MA_RAYTRANSP 0x20000 |
#define | MA_RAYMIRROR 0x40000 |
#define | MA_SHADOW_TRA 0x80000 |
#define | MA_RAMP_COL 0x100000 |
#define | MA_RAMP_SPEC 0x200000 |
#define | MA_RAYBIAS 0x400000 |
#define | MA_FULL_OSA 0x800000 |
#define | MA_TANGENT_STR 0x1000000 |
#define | MA_SHADBUF 0x2000000 |
#define | MA_TANGENT_V 0x4000000 |
#define | MA_NORMAP_TANG 0x8000000 |
#define | MA_GROUP_NOLAY 0x10000000 |
#define | MA_FACETEXTURE_ALPHA 0x20000000 |
#define | MA_STR_B_UNITS 0x40000000 |
#define | MA_STR_SURFDIFF 0x80000000 |
#define | MA_MODE_MASK 0x6fffffff |
#define | MA_RAYMIR_FADETOSKY 0 |
#define | MA_RAYMIR_FADETOMAT 1 |
#define | MA_SO_OLD 0 |
#define | MA_SO_SHADOW 1 |
#define | MA_SO_SHADED 2 |
#define | MA_CUBIC 1 |
#define | MA_OBCOLOR 2 |
#define | MA_APPROX_OCCLUSION 4 |
#define | MA_DIFF_LAMBERT 0 |
#define | MA_DIFF_ORENNAYAR 1 |
#define | MA_DIFF_TOON 2 |
#define | MA_DIFF_MINNAERT 3 |
#define | MA_DIFF_FRESNEL 4 |
#define | MA_SPEC_COOKTORR 0 |
#define | MA_SPEC_PHONG 1 |
#define | MA_SPEC_BLINN 2 |
#define | MA_SPEC_TOON 3 |
#define | MA_SPEC_WARDISO 4 |
#define | MA_DRAW_DYNABUTS 1 |
#define | MA_FH_NOR 2 |
#define | MA_RAMP_IN_SHADER 0 |
#define | MA_RAMP_IN_ENERGY 1 |
#define | MA_RAMP_IN_NOR 2 |
#define | MA_RAMP_IN_RESULT 3 |
#define | MA_RAMP_BLEND 0 |
#define | MA_RAMP_ADD 1 |
#define | MA_RAMP_MULT 2 |
#define | MA_RAMP_SUB 3 |
#define | MA_RAMP_SCREEN 4 |
#define | MA_RAMP_DIV 5 |
#define | MA_RAMP_DIFF 6 |
#define | MA_RAMP_DARK 7 |
#define | MA_RAMP_LIGHT 8 |
#define | MA_RAMP_OVERLAY 9 |
#define | MA_RAMP_DODGE 10 |
#define | MA_RAMP_BURN 11 |
#define | MA_RAMP_HUE 12 |
#define | MA_RAMP_SAT 13 |
#define | MA_RAMP_VAL 14 |
#define | MA_RAMP_COLOR 15 |
#define | MA_RAMP_SOFT 16 |
#define | MA_RAMP_LINEAR 17 |
#define | TEXCO_ORCO 1 |
#define | TEXCO_REFL 2 |
#define | TEXCO_NORM 4 |
#define | TEXCO_GLOB 8 |
#define | TEXCO_UV 16 |
#define | TEXCO_OBJECT 32 |
#define | TEXCO_LAVECTOR 64 |
#define | TEXCO_VIEW 128 |
#define | TEXCO_STICKY 256 |
#define | TEXCO_OSA 512 |
#define | TEXCO_WINDOW 1024 |
#define | NEED_UV 2048 |
#define | TEXCO_TANGENT 4096 |
#define | TEXCO_STRAND 8192 |
#define | TEXCO_PARTICLE 8192 |
#define | TEXCO_STRESS 16384 |
#define | TEXCO_SPEED 32768 |
#define | MAP_COL 1 |
#define | MAP_NORM 2 |
#define | MAP_COLSPEC 4 |
#define | MAP_COLMIR 8 |
#define | MAP_VARS (0xFFF0) |
#define | MAP_REF 16 |
#define | MAP_SPEC 32 |
#define | MAP_EMIT 64 |
#define | MAP_ALPHA 128 |
#define | MAP_HAR 256 |
#define | MAP_RAYMIRR 512 |
#define | MAP_TRANSLU 1024 |
#define | MAP_AMB 2048 |
#define | MAP_DISPLACE 4096 |
#define | MAP_WARP 8192 |
#define | MAP_LAYER 16384 |
#define | MAP_DENSITY 128 |
#define | MAP_EMISSION 64 |
#define | MAP_EMISSION_COL 1 |
#define | MAP_SCATTERING 16 |
#define | MAP_TRANSMISSION_COL 8 |
#define | MAP_REFLECTION_COL 4 |
#define | MAP_REFLECTION 32 |
#define | MAP_PA_INIT 31 |
#define | MAP_PA_TIME 1 |
#define | MAP_PA_LIFE 2 |
#define | MAP_PA_DENS 4 |
#define | MAP_PA_SIZE 8 |
#define | MAP_PA_LENGTH 16 |
#define | MAP_PA_IVEL 32 |
#define | MAP_PA_PVEL 64 |
#define | MAP_PA_CACHE 912 |
#define | MAP_PA_CLUMP 128 |
#define | MAP_PA_KINK 256 |
#define | MAP_PA_ROUGH 512 |
#define | MA_FLAT 0 |
#define | MA_SPHERE 1 |
#define | MA_CUBE 2 |
#define | MA_MONKEY 3 |
#define | MA_SPHERE_A 4 |
#define | MA_TEXTURE 5 |
#define | MA_LAMP 6 |
#define | MA_SKY 7 |
#define | MA_HAIR 10 |
#define | MA_ATMOS 11 |
#define | MA_DARK 1 |
#define | MA_DIFF_SSS 1 |
#define | MA_VOL_STEP_RANDOMIZED 0 |
#define | MA_VOL_STEP_CONSTANT 1 |
#define | MA_VOL_STEP_ADAPTIVE 2 |
#define | MA_VOL_RECV_EXT_SHADOW 1 |
#define | MA_VOL_PRECACHESHADING 8 |
#define | MA_VOL_SHADE_SHADELESS 0 |
#define | MA_VOL_SHADE_SHADOWED 2 |
#define | MA_VOL_SHADE_SHADED 1 |
#define | MA_VOL_SHADE_MULTIPLE 3 |
#define | MA_VOL_SHADE_SHADEDPLUSMULTIPLE 4 |
Typedefs | |
typedef struct VolumeSettings | VolumeSettings |
typedef struct GameSettings | GameSettings |
typedef struct Material | Material |
Definition in file DNA_material_types.h.
#define GEMAT_ADD 1 |
Definition at line 182 of file DNA_material_types.h.
Referenced by BL_ConvertMesh(), ConvertMaterial(), decode_tfaceflag(), and rna_def_material_gamesettings().
#define GEMAT_ALPHA 2 |
Definition at line 183 of file DNA_material_types.h.
Referenced by KX_BlenderMaterial::ActivateMeshSlot(), BL_ConvertMesh(), ConvertMaterial(), decode_tfaceflag(), and rna_def_material_gamesettings().
#define GEMAT_ALPHA_SORT 8 |
Definition at line 185 of file DNA_material_types.h.
Referenced by KX_BlenderMaterial::ActivateMeshSlot(), BL_ConvertMesh(), ConvertMaterial(), decode_tfaceflag(), and rna_def_material_gamesettings().
#define GEMAT_BACKCULL 16 |
Definition at line 188 of file DNA_material_types.h.
Referenced by BL_ConvertMesh(), RAS_IPolyMaterial::ConvertFaceMode(), ConvertMaterial(), decode_tfaceflag(), do_version_tface(), init_material(), rna_def_material_gamesettings(), and set_draw_settings_cached().
#define GEMAT_BILLBOARD 1024 |
Definition at line 197 of file DNA_material_types.h.
Referenced by decode_tfaceflag(), and rna_def_material_gamesettings().
#define GEMAT_CLIP 4 |
Definition at line 184 of file DNA_material_types.h.
Referenced by ConvertMaterial(), decode_tfaceflag(), and rna_def_material_gamesettings().
#define GEMAT_HALO 512 |
Definition at line 196 of file DNA_material_types.h.
Referenced by decode_tfaceflag(), and rna_def_material_gamesettings().
#define GEMAT_INVISIBLE 256 |
Definition at line 192 of file DNA_material_types.h.
Referenced by add_tface_color_layer(), BL_ConvertMesh(), decode_tfaceflag(), draw_mesh_text(), draw_tface__set_draw(), draw_tface__set_draw_legacy(), rna_def_material_gamesettings(), and wpaint__setSolidDrawOptions_material().
#define GEMAT_NOPHYSICS 128 |
Definition at line 191 of file DNA_material_types.h.
Referenced by BL_ConvertMesh(), decode_tfaceflag(), and rna_def_material_gamesettings().
#define GEMAT_NORMAL 0 |
Definition at line 195 of file DNA_material_types.h.
Referenced by rna_def_material_gamesettings().
#define GEMAT_SHADED 32 |
Definition at line 189 of file DNA_material_types.h.
#define GEMAT_SHADOW 2048 |
Definition at line 198 of file DNA_material_types.h.
Referenced by decode_tfaceflag(), and rna_def_material_gamesettings().
#define GEMAT_SOLID 0 |
Definition at line 181 of file DNA_material_types.h.
Referenced by KX_BlenderMaterial::ActivateMeshSlot(), BL_ConvertMesh(), ConvertMaterial(), and rna_def_material_gamesettings().
#define GEMAT_TEX 4096 |
Definition at line 201 of file DNA_material_types.h.
Referenced by RAS_IPolyMaterial::ConvertFaceMode().
#define GEMAT_TEXT 64 |
Definition at line 190 of file DNA_material_types.h.
Referenced by RAS_IPolyMaterial::ConvertFaceMode(), ConvertMaterial(), decode_tfaceflag(), draw_mesh_text(), GPU_render_text(), and rna_def_material_gamesettings().
#define MA_APPROX_OCCLUSION 4 |
Definition at line 286 of file DNA_material_types.h.
Referenced by do_versions(), init_material(), occ_tree_build(), and RNA_def_material().
#define MA_ATMOS 11 |
Definition at line 414 of file DNA_material_types.h.
Referenced by preview_prepare_scene().
#define MA_CUBE 2 |
Definition at line 407 of file DNA_material_types.h.
Referenced by RNA_def_material().
#define MA_CUBIC 1 |
Definition at line 284 of file DNA_material_types.h.
Referenced by RNA_def_material(), and shade_one_light().
#define MA_DARK 1 |
Definition at line 417 of file DNA_material_types.h.
#define MA_DIFF_FRESNEL 4 |
Definition at line 293 of file DNA_material_types.h.
Referenced by rna_def_material_diffuse(), and shade_one_light().
#define MA_DIFF_LAMBERT 0 |
Definition at line 289 of file DNA_material_types.h.
Referenced by EffectsExporter::operator()(), rna_def_material_diffuse(), and DocumentImporter::write_profile_COMMON().
#define MA_DIFF_MINNAERT 3 |
Definition at line 292 of file DNA_material_types.h.
Referenced by rna_def_material_diffuse(), and shade_one_light().
#define MA_DIFF_ORENNAYAR 1 |
Definition at line 290 of file DNA_material_types.h.
Referenced by rna_def_material_diffuse(), and shade_one_light().
#define MA_DIFF_SSS 1 |
Definition at line 420 of file DNA_material_types.h.
Referenced by make_sss_tree(), preview_mat_has_sss(), rna_def_material_sss(), and shade_lamp_loop().
#define MA_DIFF_TOON 2 |
Definition at line 291 of file DNA_material_types.h.
Referenced by rna_def_material_diffuse(), and shade_one_light().
#define MA_DRAW_DYNABUTS 1 |
Definition at line 303 of file DNA_material_types.h.
#define MA_DS_EXPAND 2 |
Definition at line 222 of file DNA_material_types.h.
Referenced by acf_dsmat_setting_flag().
#define MA_DS_SHOW_TEXS 4 |
Definition at line 227 of file DNA_material_types.h.
#define MA_ENV 512 |
Definition at line 241 of file DNA_material_types.h.
Referenced by RNA_def_material(), zbuffer_solid(), and zbuffer_sss().
#define MA_FACETEXTURE 0x800 |
Definition at line 246 of file DNA_material_types.h.
Referenced by ConvertMaterial(), do_init_render_material(), RNA_def_material(), set_facetexture_flags(), shade_color(), shade_input_set_shade_texco(), shade_input_set_strand_texco(), and shade_lamp_loop().
#define MA_FACETEXTURE_ALPHA 0x20000000 |
Definition at line 268 of file DNA_material_types.h.
Referenced by RNA_def_material(), set_facetexture_flags(), shade_color(), and shade_lamp_loop().
#define MA_FH_NOR 2 |
Definition at line 304 of file DNA_material_types.h.
Referenced by CreateMaterialFromBlenderObject(), and rna_def_material_physics().
#define MA_FLAT 0 |
Definition at line 405 of file DNA_material_types.h.
Referenced by preview_prepare_scene(), and RNA_def_material().
#define MA_FULL_OSA 0x800000 |
Definition at line 260 of file DNA_material_types.h.
Referenced by RNA_def_material(), and set_fullsample_trace_flag().
#define MA_GROUP_NOLAY 0x10000000 |
Definition at line 267 of file DNA_material_types.h.
Referenced by RNA_def_material(), and set_material_lightgroups().
#define MA_HAIR 10 |
Definition at line 413 of file DNA_material_types.h.
Referenced by RNA_def_material().
#define MA_HALO 32 |
Definition at line 236 of file DNA_material_types.h.
Referenced by do_versions().
#define MA_HALO_FLARE 0x8000 |
Definition at line 252 of file DNA_material_types.h.
Referenced by RE_inithalo(), RE_inithalo_particle(), and rna_def_material_halo().
#define MA_HALO_LINES 512 |
Definition at line 242 of file DNA_material_types.h.
Referenced by RE_inithalo(), RE_inithalo_particle(), and rna_def_material_halo().
#define MA_HALO_RINGS 256 |
Definition at line 240 of file DNA_material_types.h.
Referenced by RE_inithalo(), RE_inithalo_particle(), and rna_def_material_halo().
#define MA_HALO_SHADE 0x4000 |
Definition at line 251 of file DNA_material_types.h.
Referenced by rna_def_material_halo(), and shadeHaloFloat().
#define MA_HALO_SOFT 16 |
Definition at line 235 of file DNA_material_types.h.
Referenced by halo_pixelstruct(), halo_tile(), rna_def_material_halo(), and shadeHaloFloat().
#define MA_HALO_XALPHA 1024 |
Definition at line 244 of file DNA_material_types.h.
Referenced by RE_inithalo(), RE_inithalo_particle(), and rna_def_material_halo().
#define MA_HALOPUNO 0x2000 |
Definition at line 248 of file DNA_material_types.h.
Referenced by make_render_halos(), and rna_def_material_halo().
#define MA_HALOTEX 0x1000 |
Definition at line 247 of file DNA_material_types.h.
Referenced by RE_inithalo(), RE_inithalo_particle(), and rna_def_material_halo().
#define MA_IS_USED 1 |
Definition at line 220 of file DNA_material_types.h.
Referenced by flag_render_node_material(), give_render_material(), init_render_materials(), and make_sss_tree().
#define MA_LAMP 6 |
Definition at line 411 of file DNA_material_types.h.
Referenced by preview_prepare_scene().
#define MA_MODE_MASK 0x6fffffff |
Definition at line 272 of file DNA_material_types.h.
#define MA_MONKEY 3 |
Definition at line 408 of file DNA_material_types.h.
Referenced by RNA_def_material().
#define MA_NOMIST 0x4000 |
Definition at line 250 of file DNA_material_types.h.
Referenced by GPU_shaderesult_set(), RNA_def_material(), and shade_input_do_shade().
#define MA_NORMAP_TANG 0x8000000 |
Definition at line 266 of file DNA_material_types.h.
Referenced by do_init_render_material(), do_versions(), init_render_mesh(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
#define MA_OBCOLOR 2 |
Definition at line 285 of file DNA_material_types.h.
Referenced by decode_tfaceflag(), draw_tface__set_draw_legacy(), gpu_material_to_fixed(), GPU_shaderesult_set(), preview_prepare_scene(), RNA_def_material(), and shade_lamp_loop().
#define MA_ONLYCAST 0x2000 |
Definition at line 249 of file DNA_material_types.h.
Referenced by RNA_def_material(), vlr_check_intersect(), zbuffer_abuf(), zbuffer_solid(), zbuffer_sss(), and zbuffer_strands_abuf().
#define MA_ONLYSHADOW 1024 |
Definition at line 243 of file DNA_material_types.h.
Referenced by cache_occ_samples(), ray_ao_qmc(), ray_ao_spheresamp(), RNA_def_material(), sample_occ(), and shade_lamp_loop().
#define MA_RAMP_ADD 1 |
Definition at line 313 of file DNA_material_types.h.
Referenced by add_lamp(), do_versions(), and ramp_blend().
#define MA_RAMP_BLEND 0 |
Definition at line 312 of file DNA_material_types.h.
Referenced by colorfn(), default_color_mapping(), do_proc(), and ramp_blend().
#define MA_RAMP_BURN 11 |
Definition at line 323 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_COL 0x100000 |
Definition at line 257 of file DNA_material_types.h.
Referenced by add_to_diffuse(), GPU_shaderesult_set(), rna_def_material_colors(), and shade_lamp_loop().
#define MA_RAMP_COLOR 15 |
Definition at line 327 of file DNA_material_types.h.
Referenced by ramp_blend(), and texture_rgb_blend().
#define MA_RAMP_DARK 7 |
Definition at line 319 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_DIFF 6 |
Definition at line 318 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_DIV 5 |
Definition at line 317 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_DODGE 10 |
Definition at line 322 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_HUE 12 |
Definition at line 324 of file DNA_material_types.h.
Referenced by ramp_blend(), and texture_rgb_blend().
#define MA_RAMP_IN_ENERGY 1 |
Definition at line 308 of file DNA_material_types.h.
Referenced by add_to_diffuse(), do_specular_ramp(), and rna_def_material_colors().
#define MA_RAMP_IN_NOR 2 |
Definition at line 309 of file DNA_material_types.h.
Referenced by add_to_diffuse(), do_specular_ramp(), and rna_def_material_colors().
#define MA_RAMP_IN_RESULT 3 |
Definition at line 310 of file DNA_material_types.h.
Referenced by add_to_diffuse(), do_specular_ramp(), ramp_diffuse_result(), ramp_spec_result(), and rna_def_material_colors().
#define MA_RAMP_IN_SHADER 0 |
Definition at line 307 of file DNA_material_types.h.
Referenced by add_to_diffuse(), do_specular_ramp(), and rna_def_material_colors().
#define MA_RAMP_LIGHT 8 |
Definition at line 320 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_LINEAR 17 |
Definition at line 329 of file DNA_material_types.h.
Referenced by ramp_blend(), and texture_rgb_blend().
#define MA_RAMP_MULT 2 |
Definition at line 314 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_OVERLAY 9 |
Definition at line 321 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_SAT 13 |
Definition at line 325 of file DNA_material_types.h.
Referenced by ramp_blend(), and texture_rgb_blend().
#define MA_RAMP_SCREEN 4 |
Definition at line 316 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_SOFT 16 |
Definition at line 328 of file DNA_material_types.h.
Referenced by ramp_blend(), and texture_rgb_blend().
#define MA_RAMP_SPEC 0x200000 |
Definition at line 258 of file DNA_material_types.h.
Referenced by GPU_shaderesult_set(), rna_def_material_colors(), shade_lamp_loop(), and shade_one_light().
#define MA_RAMP_SUB 3 |
Definition at line 315 of file DNA_material_types.h.
Referenced by ramp_blend().
#define MA_RAMP_VAL 14 |
Definition at line 326 of file DNA_material_types.h.
Referenced by ramp_blend(), and texture_rgb_blend().
#define MA_RAYBIAS 0x400000 |
Definition at line 259 of file DNA_material_types.h.
Referenced by init_material(), RNA_def_material(), and shade_one_light().
#define MA_RAYMIR_FADETOMAT 1 |
Definition at line 276 of file DNA_material_types.h.
Referenced by ray_fadeout_endcolor(), and rna_def_material_raymirror().
#define MA_RAYMIR_FADETOSKY 0 |
Definition at line 275 of file DNA_material_types.h.
Referenced by do_versions(), init_material(), ray_fadeout_endcolor(), and rna_def_material_raymirror().
#define MA_RAYMIRROR 0x40000 |
Definition at line 255 of file DNA_material_types.h.
Referenced by do_init_render_material(), init_render_mesh(), EffectsExporter::operator()(), preview_prepare_scene(), ray_trace(), rna_def_material_raymirror(), set_fullsample_trace_flag(), and traceray().
#define MA_RAYTRANSP 0x20000 |
Definition at line 254 of file DNA_material_types.h.
Referenced by do_init_render_material(), do_versions(), init_render_nodetree(), EffectsExporter::operator()(), preview_prepare_scene(), ray_trace(), RNA_def_material(), set_fullsample_trace_flag(), shade_lamp_loop(), shade_material_loop(), and traceray().
#define MA_SHADBUF 0x2000000 |
Definition at line 262 of file DNA_material_types.h.
Referenced by ConvertMaterial(), do_versions(), draw_mesh_object(), give_render_material(), init_material(), isb_bsp_fillfaces(), preview_prepare_scene(), RNA_def_material(), shadowbuf_autoclip(), zbuffer_abuf(), zbuffer_shadow(), and zbuffer_strands_abuf().
#define MA_SHADOW 2 |
Definition at line 231 of file DNA_material_types.h.
Referenced by init_material(), RNA_def_material(), and shade_one_light().
#define MA_SHADOW_TRA 0x80000 |
Definition at line 256 of file DNA_material_types.h.
Referenced by do_init_render_material(), ray_shadow(), RNA_def_material(), and shade_one_light().
#define MA_SHLESS 4 |
Definition at line 232 of file DNA_material_types.h.
Referenced by automatname(), BL_ConvertMesh(), ConvertMaterial(), do_init_render_material(), gpu_material_to_fixed(), GPU_shaderesult_set(), RNA_def_material(), set_draw_settings_cached(), set_fullsample_trace_flag(), shade_lamp_loop(), and shade_samples_do_AO().
#define MA_SKY 7 |
Definition at line 412 of file DNA_material_types.h.
Referenced by preview_prepare_scene().
#define MA_SO_OLD 0 |
Definition at line 279 of file DNA_material_types.h.
Referenced by RNA_def_material(), and shade_lamp_loop_only_shadow().
#define MA_SO_SHADED 2 |
Definition at line 281 of file DNA_material_types.h.
Referenced by RNA_def_material(), and shade_lamp_loop_only_shadow().
#define MA_SO_SHADOW 1 |
Definition at line 280 of file DNA_material_types.h.
Referenced by RNA_def_material(), and shade_lamp_loop_only_shadow().
#define MA_SPEC_BLINN 2 |
Definition at line 298 of file DNA_material_types.h.
Referenced by EffectsExporter::operator()(), rna_def_material_specularity(), shade_one_light(), and DocumentImporter::write_profile_COMMON().
#define MA_SPEC_COOKTORR 0 |
Definition at line 296 of file DNA_material_types.h.
Referenced by rna_def_material_specularity(), and shade_one_light().
#define MA_SPEC_PHONG 1 |
Definition at line 297 of file DNA_material_types.h.
Referenced by rna_def_material_specularity(), shade_one_light(), and DocumentImporter::write_profile_COMMON().
#define MA_SPEC_TOON 3 |
Definition at line 299 of file DNA_material_types.h.
Referenced by rna_def_material_specularity().
#define MA_SPEC_WARDISO 4 |
Definition at line 300 of file DNA_material_types.h.
Referenced by rna_def_material_specularity(), and shade_one_light().
#define MA_SPHERE 1 |
Definition at line 406 of file DNA_material_types.h.
Referenced by init_material(), and RNA_def_material().
#define MA_SPHERE_A 4 |
Definition at line 409 of file DNA_material_types.h.
Referenced by preview_prepare_scene(), and RNA_def_material().
#define MA_STAR 0x800 |
Definition at line 245 of file DNA_material_types.h.
Referenced by RE_inithalo(), RE_inithalo_particle(), and rna_def_material_halo().
#define MA_STR_B_UNITS 0x40000000 |
Definition at line 269 of file DNA_material_types.h.
Referenced by render_new_particle_system(), rna_def_material_strand(), and static_particle_strand().
#define MA_STR_SURFDIFF 0x80000000 |
Definition at line 270 of file DNA_material_types.h.
Referenced by do_init_render_material(), get_strand_normal(), render_new_particle_system(), rna_def_material_strand(), shade_input_set_shade_texco(), shade_input_set_strand_texco(), and shade_one_light().
#define MA_TANGENT_STR 0x1000000 |
Definition at line 261 of file DNA_material_types.h.
Referenced by do_versions(), init_material(), render_new_particle_system(), rna_def_material_strand(), shade_input_set_strand(), static_particle_strand(), and strand_shade_point().
#define MA_TANGENT_V 0x4000000 |
Definition at line 264 of file DNA_material_types.h.
Referenced by do_material_tex(), init_render_mesh(), RNA_def_material(), shade_input_set_shade_texco(), shade_input_set_strand_texco(), shade_one_light(), and trace_reflect().
#define MA_TEXTURE 5 |
Definition at line 410 of file DNA_material_types.h.
Referenced by preview_prepare_scene().
#define MA_TRACEBLE 1 |
Definition at line 230 of file DNA_material_types.h.
Referenced by do_versions(), init_material(), RNA_def_material(), and set_fullsample_trace_flag().
#define MA_TRANSP 0x10000 |
Definition at line 253 of file DNA_material_types.h.
Referenced by ConvertMaterial(), do_init_render_material(), do_versions(), flag_render_node_material(), give_render_material(), GPU_shaderesult_set(), init_render_mesh(), init_render_nodetree(), EffectsExporter::operator()(), preview_prepare_scene(), ray_trace(), RNA_def_material(), set_fullsample_trace_flag(), shade_by_transmission(), shade_color(), shade_lamp_loop(), shade_material_loop(), traceray(), volume_trace(), DocumentImporter::write_profile_COMMON(), zbuffer_abuf(), and zbuffer_solid().
#define MA_TYPE_HALO 1 |
Definition at line 214 of file DNA_material_types.h.
Referenced by allow_render_dupli_instance(), do_versions(), draw_mesh_fancy(), icon_preview_startjob(), init_render_mesh(), particle_curve(), preview_prepare_scene(), render_new_particle_system(), and RNA_def_material().
#define MA_TYPE_SURFACE 0 |
Definition at line 213 of file DNA_material_types.h.
Referenced by occ_tree_build(), ray_trace_shadow_tra(), RE_init_sample_material(), RE_sample_material_color(), RNA_def_material(), vlr_check_intersect_solid(), and vol_shade_one_lamp().
#define MA_TYPE_VOLUME 2 |
Definition at line 215 of file DNA_material_types.h.
Referenced by add_render_object(), do_versions(), give_render_material(), is_raytraceable_vlr(), preview_prepare_scene(), ray_trace_shadow_tra(), RE_init_sample_material(), RE_sample_material_color(), RNA_def_material(), set_fullsample_trace_flag(), shade_input_do_shade(), and shade_ray().
#define MA_TYPE_WIRE 3 |
Definition at line 216 of file DNA_material_types.h.
Referenced by check_non_flat_quads(), ConvertMaterial(), do_versions(), init_render_mesh(), is_raytraceable_vlr(), isb_bsp_fillfaces(), particle_curve(), render_new_particle_system(), RNA_def_material(), shade_input_calc_viewco(), split_quads(), zbuffer_abuf(), zbuffer_shadow(), zbuffer_solid(), and zbuffer_sss().
#define MA_VERTEXCOL 16 |
Definition at line 234 of file DNA_material_types.h.
Referenced by do_init_render_material(), GPU_shaderesult_set(), ntreeShaderGetTexcoMode(), RNA_def_material(), shade_input_set_shade_texco(), shade_input_set_strand_texco(), and shade_lamp_loop().
#define MA_VERTEXCOLP 128 |
Definition at line 238 of file DNA_material_types.h.
Referenced by ConvertMaterial(), do_init_render_material(), GPU_shaderesult_set(), RNA_def_material(), shade_color(), shade_input_set_shade_texco(), shade_input_set_strand_texco(), and shade_lamp_loop().
#define MA_VOL_PRECACHESHADING 8 |
Definition at line 429 of file DNA_material_types.h.
Referenced by do_versions(), init_material(), rna_def_material_volume(), and using_lightcache().
#define MA_VOL_RECV_EXT_SHADOW 1 |
Definition at line 428 of file DNA_material_types.h.
Referenced by rna_def_material_volume(), and vol_shade_one_lamp().
#define MA_VOL_SHADE_MULTIPLE 3 |
Definition at line 435 of file DNA_material_types.h.
Referenced by rna_def_material_volume(), using_lightcache(), vol_precache_objectinstance_threads(), and vol_shade_one_lamp().
#define MA_VOL_SHADE_SHADED 1 |
Definition at line 434 of file DNA_material_types.h.
Referenced by do_versions(), init_material(), rna_def_material_volume(), using_lightcache(), and vol_shade_one_lamp().
#define MA_VOL_SHADE_SHADEDPLUSMULTIPLE 4 |
Definition at line 436 of file DNA_material_types.h.
Referenced by multiple_scattering_diffusion(), rna_def_material_volume(), using_lightcache(), vol_precache_objectinstance_threads(), and vol_shade_one_lamp().
#define MA_VOL_SHADE_SHADELESS 0 |
Definition at line 432 of file DNA_material_types.h.
Referenced by rna_def_material_volume().
#define MA_VOL_SHADE_SHADOWED 2 |
Definition at line 433 of file DNA_material_types.h.
Referenced by rna_def_material_volume(), and vol_shade_one_lamp().
#define MA_VOL_STEP_ADAPTIVE 2 |
Definition at line 425 of file DNA_material_types.h.
#define MA_VOL_STEP_CONSTANT 1 |
Definition at line 424 of file DNA_material_types.h.
Referenced by rna_def_material_volume(), vol_get_transmittance(), and volumeintegrate().
#define MA_VOL_STEP_RANDOMIZED 0 |
Definition at line 423 of file DNA_material_types.h.
Referenced by do_versions(), init_material(), and rna_def_material_volume().
#define MA_WIRE 8 |
Definition at line 233 of file DNA_material_types.h.
Referenced by do_versions().
#define MA_ZINV 256 |
Definition at line 239 of file DNA_material_types.h.
Referenced by RNA_def_material(), and zbuffer_solid().
#define MA_ZTRANSP 64 |
Definition at line 237 of file DNA_material_types.h.
Referenced by alphasort_version_246(), ConvertMaterial(), do_versions(), flag_render_node_material(), give_render_material(), GPU_shaderesult_set(), init_material(), init_render_nodetree(), RNA_def_material(), shade_lamp_loop(), traceray(), volume_trace(), DocumentImporter::write_profile_COMMON(), zbuffer_abuf(), and zbuffer_solid().
#define MAP_ALPHA 128 |
Definition at line 360 of file DNA_material_types.h.
Referenced by alphasort_version_246(), ConvertMaterial(), do_halo_tex(), do_lamp_tex(), do_material_tex(), do_version_mtex_factor_2_50(), do_versions(), init_render_mesh(), EffectsExporter::operator()(), preview_prepare_scene(), RE_init_sample_material(), RE_inithalo(), RE_inithalo_particle(), rna_def_material_mtex(), and DocumentImporter::write_profile_COMMON().
#define MAP_AMB 2048 |
Definition at line 364 of file DNA_material_types.h.
Referenced by do_material_tex(), do_version_mtex_factor_2_50(), EffectsExporter::operator()(), rna_def_material_mtex(), and DocumentImporter::write_profile_COMMON().
#define MAP_COL 1 |
Definition at line 352 of file DNA_material_types.h.
Referenced by MeshImporter::assign_textures_to_uvlayer(), default_mtex(), do_halo_tex(), do_material_tex(), do_version_mtex_factor_2_50(), do_versions(), multitex_nodes(), EffectsExporter::operator()(), RE_init_sample_material(), RE_inithalo(), RE_inithalo_particle(), rna_def_material_mtex(), and DocumentImporter::write_profile_COMMON().
#define MAP_COLMIR 8 |
Definition at line 355 of file DNA_material_types.h.
Referenced by do_material_tex(), do_version_mtex_factor_2_50(), multitex_nodes(), and rna_def_material_mtex().
#define MAP_COLSPEC 4 |
Definition at line 354 of file DNA_material_types.h.
Referenced by do_material_tex(), do_version_mtex_factor_2_50(), multitex_nodes(), EffectsExporter::operator()(), and rna_def_material_mtex().
#define MAP_DENSITY 128 |
Definition at line 370 of file DNA_material_types.h.
Referenced by check_material_mapto(), do_version_mtex_factor_2_50(), do_volume_tex(), RE_init_sample_material(), RE_sample_material_color(), rna_def_material_mtex(), and vol_get_density().
#define MAP_DISPLACE 4096 |
Definition at line 365 of file DNA_material_types.h.
Referenced by do_material_tex(), rna_def_material_mtex(), and test_for_displace().
#define MAP_EMISSION 64 |
Definition at line 371 of file DNA_material_types.h.
Referenced by check_material_mapto(), do_volume_tex(), rna_def_material_mtex(), and vol_get_emission().
#define MAP_EMISSION_COL 1 |
Definition at line 372 of file DNA_material_types.h.
Referenced by check_material_mapto(), do_version_mtex_factor_2_50(), do_volume_tex(), rna_def_material_mtex(), and vol_get_emission().
#define MAP_EMIT 64 |
Definition at line 359 of file DNA_material_types.h.
Referenced by do_material_tex(), do_version_mtex_factor_2_50(), EffectsExporter::operator()(), rna_def_material_mtex(), and DocumentImporter::write_profile_COMMON().
#define MAP_HAR 256 |
Definition at line 361 of file DNA_material_types.h.
Referenced by do_material_tex(), do_version_mtex_factor_2_50(), RE_inithalo_particle(), and rna_def_material_mtex().
#define MAP_LAYER 16384 |
Definition at line 367 of file DNA_material_types.h.
#define MAP_NORM 2 |
Definition at line 353 of file DNA_material_types.h.
Referenced by compatible_bump_uv_derivs(), do_init_render_material(), do_material_tex(), do_version_mtex_factor_2_50(), EffectsExporter::operator()(), and rna_def_material_mtex().
#define MAP_PA_CACHE 912 |
Definition at line 399 of file DNA_material_types.h.
#define MAP_PA_CLUMP 128 |
Definition at line 400 of file DNA_material_types.h.
Referenced by do_version_mtex_factor_2_50().
#define MAP_PA_DENS 4 |
Definition at line 391 of file DNA_material_types.h.
Referenced by do_version_mtex_factor_2_50().
#define MAP_PA_INIT 31 |
Definition at line 388 of file DNA_material_types.h.
#define MAP_PA_IVEL 32 |
Definition at line 395 of file DNA_material_types.h.
Referenced by do_version_mtex_factor_2_50().
#define MAP_PA_KINK 256 |
Definition at line 401 of file DNA_material_types.h.
Referenced by do_version_mtex_factor_2_50().
#define MAP_PA_LENGTH 16 |
Definition at line 393 of file DNA_material_types.h.
Referenced by do_version_mtex_factor_2_50().
#define MAP_PA_LIFE 2 |
Definition at line 390 of file DNA_material_types.h.
Referenced by do_version_mtex_factor_2_50().
#define MAP_PA_PVEL 64 |
Definition at line 397 of file DNA_material_types.h.
#define MAP_PA_ROUGH 512 |
Definition at line 402 of file DNA_material_types.h.
Referenced by do_version_mtex_factor_2_50().
#define MAP_PA_SIZE 8 |
Definition at line 392 of file DNA_material_types.h.
Referenced by do_version_mtex_factor_2_50().
#define MAP_PA_TIME 1 |
Definition at line 389 of file DNA_material_types.h.
Referenced by do_version_mtex_factor_2_50(), and psys_get_texture().
#define MAP_RAYMIRR 512 |
Definition at line 362 of file DNA_material_types.h.
Referenced by do_material_tex(), do_version_mtex_factor_2_50(), RE_inithalo_particle(), and rna_def_material_mtex().
#define MAP_REF 16 |
Definition at line 357 of file DNA_material_types.h.
Referenced by do_material_tex(), do_version_mtex_factor_2_50(), do_versions(), EffectsExporter::operator()(), rna_def_material_mtex(), and DocumentImporter::write_profile_COMMON().
#define MAP_REFLECTION 32 |
Definition at line 376 of file DNA_material_types.h.
Referenced by check_material_mapto(), do_version_mtex_factor_2_50(), do_volume_tex(), rna_def_material_mtex(), and vol_get_reflection_color().
#define MAP_REFLECTION_COL 4 |
Definition at line 375 of file DNA_material_types.h.
Referenced by check_material_mapto(), do_version_mtex_factor_2_50(), do_volume_tex(), RE_init_sample_material(), RE_sample_material_color(), rna_def_material_mtex(), and vol_get_reflection_color().
#define MAP_SCATTERING 16 |
Definition at line 373 of file DNA_material_types.h.
Referenced by check_material_mapto(), do_version_mtex_factor_2_50(), do_volume_tex(), rna_def_material_mtex(), vol_get_reflection_color(), and vol_get_sigma_t().
#define MAP_SPEC 32 |
Definition at line 358 of file DNA_material_types.h.
Referenced by do_material_tex(), do_version_mtex_factor_2_50(), do_versions(), EffectsExporter::operator()(), rna_def_material_mtex(), and DocumentImporter::write_profile_COMMON().
#define MAP_TRANSLU 1024 |
Definition at line 363 of file DNA_material_types.h.
Referenced by do_material_tex(), do_version_mtex_factor_2_50(), RE_inithalo_particle(), and rna_def_material_mtex().
#define MAP_TRANSMISSION_COL 8 |
Definition at line 374 of file DNA_material_types.h.
Referenced by check_material_mapto(), do_version_mtex_factor_2_50(), do_volume_tex(), RE_init_sample_material(), RE_sample_material_color(), rna_def_material_mtex(), and vol_get_sigma_t().
#define MAP_VARS (0xFFF0) |
Definition at line 356 of file DNA_material_types.h.
Referenced by do_material_tex(), and do_volume_tex().
#define MAP_WARP 8192 |
Definition at line 366 of file DNA_material_types.h.
Referenced by compatible_bump_uv_derivs(), do_material_tex(), do_version_mtex_factor_2_50(), and rna_def_material_mtex().
#define MAX_MTEX 18 |
Definition at line 40 of file DNA_material_types.h.
#define MAXMAT (32767-1) |
Definition at line 210 of file DNA_material_types.h.
Referenced by assign_material(), assign_material_id(), join_mesh_exec(), object_add_material_slot(), and rna_def_ID_materials().
#define NEED_UV 2048 |
Definition at line 343 of file DNA_material_types.h.
Referenced by do_init_render_material(), give_render_material(), ntreeShaderGetTexcoMode(), shade_input_set_shade_texco(), shade_input_set_strand_texco(), and shade_input_set_uv().
#define TEXCO_GLOB 8 |
Definition at line 335 of file DNA_material_types.h.
Referenced by compatible_bump_compute(), ConvertMaterial(), displace_render_vert(), do_2d_mapping(), do_init_render_material(), do_lamp_tex(), do_material_tex(), do_sky_tex(), do_volume_tex(), get_cpa_texture(), ntreeShaderGetTexcoMode(), psys_get_texture(), RE_init_sample_material(), RE_inithalo_particle(), rna_def_lamp_mtex(), rna_def_particle_settings_mtex(), rna_def_world_mtex(), set_current_lamp_texture(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
#define TEXCO_LAVECTOR 64 |
Definition at line 338 of file DNA_material_types.h.
Referenced by do_init_render_material().
#define TEXCO_NORM 4 |
Definition at line 334 of file DNA_material_types.h.
Referenced by ConvertMaterial(), displace_render_vert(), do_init_render_material(), do_material_tex(), ntreeShaderGetTexcoMode(), RE_inithalo(), RE_inithalo_particle(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
#define TEXCO_OBJECT 32 |
Definition at line 337 of file DNA_material_types.h.
Referenced by compatible_bump_compute(), ConvertMaterial(), do_2d_mapping(), do_init_render_material(), do_lamp_tex(), do_material_tex(), do_sky_tex(), do_volume_tex(), get_cpa_texture(), psys_get_texture(), RE_init_sample_material(), RE_inithalo(), RE_inithalo_particle(), rna_def_lamp_mtex(), rna_def_particle_settings_mtex(), rna_def_world_mtex(), and set_dupli_tex_mat().
#define TEXCO_ORCO 1 |
Definition at line 332 of file DNA_material_types.h.
Referenced by compatible_bump_compute(), ConvertMaterial(), default_mtex(), displace_render_vert(), do_init_render_material(), do_material_tex(), do_volume_tex(), get_cpa_texture(), init_render_curve(), init_render_mball(), init_render_mesh(), init_render_surf(), multitex_nodes(), ntreeShaderGetTexcoMode(), psys_get_texture(), RE_init_sample_material(), rna_def_particle_settings_mtex(), set_current_particle_texture(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
#define TEXCO_OSA 512 |
Definition at line 341 of file DNA_material_types.h.
Referenced by do_halo_tex(), do_init_render_material(), ntreeShaderGetTexcoMode(), shade_input_set_strand(), and shade_input_set_triangle_i().
#define TEXCO_PARTICLE 8192 |
Definition at line 347 of file DNA_material_types.h.
Referenced by get_cpa_texture(), psys_get_texture(), and RE_inithalo_particle().
#define TEXCO_REFL 2 |
Definition at line 333 of file DNA_material_types.h.
Referenced by ConvertMaterial(), displace_render_vert(), do_init_render_material(), do_material_tex(), shade_input_set_shade_texco(), shade_input_set_strand_texco(), and shade_input_set_viewco().
#define TEXCO_SPEED 32768 |
Definition at line 349 of file DNA_material_types.h.
Referenced by do_init_render_material().
#define TEXCO_STICKY 256 |
Definition at line 340 of file DNA_material_types.h.
Referenced by displace_render_vert(), do_init_render_material(), do_material_tex(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
#define TEXCO_STRAND 8192 |
Definition at line 346 of file DNA_material_types.h.
Referenced by do_init_render_material(), do_material_tex(), rna_def_particle_settings_mtex(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
#define TEXCO_STRESS 16384 |
Definition at line 348 of file DNA_material_types.h.
Referenced by displace_render_vert(), do_init_render_material(), do_material_tex(), init_render_mesh(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
#define TEXCO_TANGENT 4096 |
Definition at line 344 of file DNA_material_types.h.
Referenced by ConvertMaterial(), do_material_tex(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
#define TEXCO_UV 16 |
Definition at line 336 of file DNA_material_types.h.
Referenced by compatible_bump_compute(), ConvertMaterial(), DocumentImporter::create_texture(), displace_render_vert(), do_init_render_material(), do_material_tex(), get_cpa_texture(), ntap_bump_compute(), ntreeShaderGetTexcoMode(), psys_get_texture(), RE_init_sample_material(), RE_inithalo(), RE_inithalo_particle(), render_new_particle_system(), requiredDataMask(), rna_def_particle_settings_mtex(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
#define TEXCO_VIEW 128 |
Definition at line 339 of file DNA_material_types.h.
Referenced by do_init_render_material(), do_lamp_tex(), ntreeShaderGetTexcoMode(), rna_def_lamp_mtex(), rna_def_world_mtex(), and set_current_world_texture().
#define TEXCO_WINDOW 1024 |
Definition at line 342 of file DNA_material_types.h.
Referenced by do_material_tex(), shade_input_set_shade_texco(), and shade_input_set_strand_texco().
typedef struct GameSettings GameSettings |
typedef struct VolumeSettings VolumeSettings |