Blender V2.61 - r43446
Classes | Defines | Typedefs

DNA_lamp_types.h File Reference

#include "DNA_defs.h"
#include "DNA_ID.h"

Go to the source code of this file.

Classes

struct  Lamp

Defines

#define MAX_MTEX   18
#define LA_DS_EXPAND   1
#define LA_DS_SHOW_TEXS   4
#define LA_LOCAL   0
#define LA_SUN   1
#define LA_SPOT   2
#define LA_HEMI   3
#define LA_AREA   4
#define LA_YF_PHOTON   5
#define LA_SHAD_BUF   1
#define LA_HALO   2
#define LA_LAYER   4
#define LA_QUAD   8
#define LA_NEG   16
#define LA_ONLYSHADOW   32
#define LA_SPHERE   64
#define LA_SQUARE   128
#define LA_TEXTURE   256
#define LA_OSATEX   512
#define LA_NO_DIFF   2048
#define LA_NO_SPEC   4096
#define LA_SHAD_RAY   8192
#define LA_LAYER_SHADOW   32768
#define LA_SHAD_TEX   (1<<16)
#define LA_SHOW_CONE   (1<<17)
#define LA_LAYER_SHADOW_BOTH   0
#define LA_LAYER_SHADOW_CAST   1
#define LA_LAYER_SHADOW_RECEIVE   2
#define LA_SUN_EFFECT_SKY   1
#define LA_SUN_EFFECT_AP   2
#define LA_FALLOFF_CONSTANT   0
#define LA_FALLOFF_INVLINEAR   1
#define LA_FALLOFF_INVSQUARE   2
#define LA_FALLOFF_CURVE   3
#define LA_FALLOFF_SLIDERS   4
#define LA_SHADBUF_REGULAR   0
#define LA_SHADBUF_IRREGULAR   1
#define LA_SHADBUF_HALFWAY   2
#define LA_SHADBUF_DEEP   3
#define LA_SHADBUF_AUTO_START   1
#define LA_SHADBUF_AUTO_END   2
#define LA_SHADBUF_BOX   0
#define LA_SHADBUF_TENT   1
#define LA_SHADBUF_GAUSS   2
#define LA_AREA_SQUARE   0
#define LA_AREA_RECT   1
#define LA_AREA_CUBE   2
#define LA_AREA_BOX   3
#define LA_SAMP_CONSTANT   0
#define LA_SAMP_HALTON   1
#define LA_SAMP_HAMMERSLEY   2
#define LA_SAMP_ROUND   1
#define LA_SAMP_UMBRA   2
#define LA_SAMP_DITHER   4
#define LA_SAMP_JITTER   8
#define LAMAP_COL   1
#define LAMAP_SHAD   2

Typedefs

typedef struct Lamp Lamp

Detailed Description

Definition in file DNA_lamp_types.h.


Define Documentation

#define LA_AREA   4
#define LA_AREA_BOX   3

Definition at line 190 of file DNA_lamp_types.h.

Referenced by add_render_lamp().

#define LA_AREA_CUBE   2

Definition at line 189 of file DNA_lamp_types.h.

Referenced by add_render_lamp().

#define LA_AREA_RECT   1

Definition at line 188 of file DNA_lamp_types.h.

Referenced by add_render_lamp(), drawlamp(), and rna_def_area_lamp().

#define LA_AREA_SQUARE   0

Definition at line 187 of file DNA_lamp_types.h.

Referenced by add_render_lamp(), drawlamp(), and rna_def_area_lamp().

#define LA_DS_EXPAND   1

Definition at line 117 of file DNA_lamp_types.h.

Referenced by acf_dslam_setting_flag().

#define LA_DS_SHOW_TEXS   4

Definition at line 121 of file DNA_lamp_types.h.

#define LA_FALLOFF_CONSTANT   0

Definition at line 164 of file DNA_lamp_types.h.

Referenced by lamp_get_visibility(), and rna_def_lamp_falloff().

#define LA_FALLOFF_CURVE   3

Definition at line 167 of file DNA_lamp_types.h.

Referenced by lamp_get_visibility(), and rna_def_lamp_falloff().

#define LA_FALLOFF_INVLINEAR   1
#define LA_FALLOFF_INVSQUARE   2
#define LA_FALLOFF_SLIDERS   4

Definition at line 168 of file DNA_lamp_types.h.

Referenced by do_versions(), lamp_get_visibility(), and rna_def_lamp_falloff().

#define LA_HALO   2
#define LA_HEMI   3
#define LA_LAYER   4
#define LA_LAYER_SHADOW   32768
#define LA_LAYER_SHADOW_BOTH   0

Definition at line 155 of file DNA_lamp_types.h.

#define LA_LAYER_SHADOW_CAST   1

Definition at line 156 of file DNA_lamp_types.h.

#define LA_LAYER_SHADOW_RECEIVE   2

Definition at line 157 of file DNA_lamp_types.h.

#define LA_LOCAL   0
#define LA_NEG   16
#define LA_NO_DIFF   2048

Definition at line 144 of file DNA_lamp_types.h.

Referenced by gamelight_from_blamp(), rna_def_lamp(), and shade_one_light().

#define LA_NO_SPEC   4096
#define LA_ONLYSHADOW   32
#define LA_OSATEX   512

Definition at line 142 of file DNA_lamp_types.h.

Referenced by add_render_lamp(), and shade_one_light().

#define LA_QUAD   8

Definition at line 136 of file DNA_lamp_types.h.

Referenced by do_versions(), gamelight_from_blamp(), and render_lighting_halo().

#define LA_SAMP_CONSTANT   0

Definition at line 193 of file DNA_lamp_types.h.

Referenced by add_render_lamp(), do_versions(), and rna_def_lamp_shadow().

#define LA_SAMP_DITHER   4

Definition at line 201 of file DNA_lamp_types.h.

Referenced by give_jitter_plane(), and rna_def_area_lamp().

#define LA_SAMP_HALTON   1
#define LA_SAMP_HAMMERSLEY   2

Definition at line 195 of file DNA_lamp_types.h.

Referenced by ray_shadow(), ray_shadow_qmc(), and rna_def_lamp_shadow().

#define LA_SAMP_JITTER   8

Definition at line 202 of file DNA_lamp_types.h.

Referenced by give_jitter_plane(), and rna_def_area_lamp().

#define LA_SAMP_ROUND   1

Definition at line 199 of file DNA_lamp_types.h.

#define LA_SAMP_UMBRA   2

Definition at line 200 of file DNA_lamp_types.h.

Referenced by ray_shadow_jitter(), and rna_def_area_lamp().

#define LA_SHAD_BUF   1
#define LA_SHAD_RAY   8192
#define LA_SHAD_TEX   (1<<16)

Definition at line 151 of file DNA_lamp_types.h.

Referenced by add_render_lamp(), do_lamp_tex(), and shade_one_light().

#define LA_SHADBUF_AUTO_END   2

Definition at line 179 of file DNA_lamp_types.h.

Referenced by makeshadowbuf(), rna_def_spot_lamp(), and shadowbuf_autoclip().

#define LA_SHADBUF_AUTO_START   1

Definition at line 178 of file DNA_lamp_types.h.

Referenced by makeshadowbuf(), rna_def_spot_lamp(), and shadowbuf_autoclip().

#define LA_SHADBUF_BOX   0

Definition at line 182 of file DNA_lamp_types.h.

Referenced by rna_def_spot_lamp().

#define LA_SHADBUF_DEEP   3
#define LA_SHADBUF_GAUSS   2

Definition at line 184 of file DNA_lamp_types.h.

Referenced by make_jitter_weight_tab(), and rna_def_spot_lamp().

#define LA_SHADBUF_HALFWAY   2
#define LA_SHADBUF_IRREGULAR   1
#define LA_SHADBUF_REGULAR   0

Definition at line 172 of file DNA_lamp_types.h.

Referenced by add_render_lamp(), makeshadowbuf(), and rna_def_spot_lamp().

#define LA_SHADBUF_TENT   1

Definition at line 183 of file DNA_lamp_types.h.

Referenced by make_jitter_weight_tab(), and rna_def_spot_lamp().

#define LA_SHOW_CONE   (1<<17)

Definition at line 152 of file DNA_lamp_types.h.

Referenced by drawlamp(), and rna_def_spot_lamp().

#define LA_SPHERE   64
#define LA_SPOT   2
#define LA_SQUARE   128
#define LA_SUN   1
#define LA_SUN_EFFECT_AP   2

Definition at line 161 of file DNA_lamp_types.h.

Referenced by add_render_lamp(), atm_tile(), and rna_def_lamp_sky_settings().

#define LA_SUN_EFFECT_SKY   1
#define LA_TEXTURE   256
#define LA_YF_PHOTON   5

Definition at line 130 of file DNA_lamp_types.h.

Referenced by drawlamp(), shade_lamp_loop(), and shade_lamp_loop_only_shadow().

#define LAMAP_COL   1
#define LAMAP_SHAD   2
#define MAX_MTEX   18

Definition at line 39 of file DNA_lamp_types.h.

Referenced by add_mtex_id(), add_render_lamp(), alphasort_version_246(), animdata_filter_ds_textures(), buttons_texture_users_from_context(), check_material_mapto(), copy_lamp(), copy_matcopybuf(), copy_material(), copy_object_set_idnew(), copy_world(), dag_id_flush_update(), direct_link_lamp(), direct_link_material(), direct_link_particlesettings(), direct_link_world(), do_init_render_material(), do_lamp_tex(), do_material_tex(), do_sky_tex(), do_version_mtex_factor_2_50(), do_versions(), do_volume_tex(), expand_lamp(), expand_local_particlesettings(), expand_material(), expand_particlesettings(), expand_world(), extern_local_material(), free_lamp(), free_matcopybuf(), free_material(), free_world(), get_cpa_texture(), getImageFromMaterial(), image_aspect(), init_render_mesh(), init_render_world(), lib_link_lamp(), lib_link_material(), lib_link_particlesettings(), lib_link_world(), localize_lamp(), localize_material(), localize_world(), make_local_exec(), make_local_makelocalmaterial(), make_local_texture(), nodes_use_tex(), object_select_linked_exec(), ImagesExporter::operator()(), EffectsExporter::operator()(), outliner_add_id_contents(), paste_matcopybuf(), psys_copy_settings(), psys_free_settings(), psys_get_texture(), RE_free_sample_material(), RE_init_sample_material(), RE_inithalo_particle(), requiredDataMask(), set_active_mtex(), shader_preview_free(), single_mat_users(), single_mat_users_expand(), single_obdata_users(), single_tex_users_expand(), texture_changed(), texture_slot_move(), unlink_object(), unlink_texture_cb(), write_lamps(), write_materials(), write_particlesettings(), and write_worlds().


Typedef Documentation

typedef struct Lamp Lamp