Blender  V2.93
Functions
eevee_data.c File Reference
#include "DRW_render.h"
#include "BLI_ghash.h"
#include "BLI_memblock.h"
#include "BKE_duplilist.h"
#include "BKE_modifier.h"
#include "BKE_object.h"
#include "DEG_depsgraph_query.h"
#include "GPU_vertex_buffer.h"
#include "eevee_lightcache.h"
#include "eevee_private.h"

Go to the source code of this file.

Functions

static void eevee_motion_blur_mesh_data_free (void *val)
 
static uint eevee_object_key_hash (const void *key)
 
static bool eevee_object_key_cmp (const void *a, const void *b)
 
void EEVEE_motion_blur_data_init (EEVEE_MotionBlurData *mb)
 
void EEVEE_motion_blur_data_free (EEVEE_MotionBlurData *mb)
 
EEVEE_ObjectMotionDataEEVEE_motion_blur_object_data_get (EEVEE_MotionBlurData *mb, Object *ob, bool hair)
 
static void * motion_blur_deform_data_get (EEVEE_MotionBlurData *mb, Object *ob, bool hair)
 
EEVEE_GeometryMotionDataEEVEE_motion_blur_geometry_data_get (EEVEE_MotionBlurData *mb, Object *ob)
 
EEVEE_HairMotionDataEEVEE_motion_blur_hair_data_get (EEVEE_MotionBlurData *mb, Object *ob)
 
void EEVEE_view_layer_data_free (void *storage)
 
EEVEE_ViewLayerDataEEVEE_view_layer_data_get (void)
 
static void eevee_view_layer_init (EEVEE_ViewLayerData *sldata)
 
EEVEE_ViewLayerDataEEVEE_view_layer_data_ensure_ex (struct ViewLayer *view_layer)
 
EEVEE_ViewLayerDataEEVEE_view_layer_data_ensure (void)
 
static void eevee_object_data_init (DrawData *dd)
 
EEVEE_ObjectEngineDataEEVEE_object_data_get (Object *ob)
 
EEVEE_ObjectEngineDataEEVEE_object_data_ensure (Object *ob)
 
static void eevee_lightprobe_data_init (DrawData *dd)
 
EEVEE_LightProbeEngineDataEEVEE_lightprobe_data_get (Object *ob)
 
EEVEE_LightProbeEngineDataEEVEE_lightprobe_data_ensure (Object *ob)
 
static void eevee_light_data_init (DrawData *dd)
 
EEVEE_LightEngineDataEEVEE_light_data_get (Object *ob)
 
EEVEE_LightEngineDataEEVEE_light_data_ensure (Object *ob)
 
static void eevee_world_data_init (DrawData *dd)
 
EEVEE_WorldEngineDataEEVEE_world_data_get (World *wo)
 
EEVEE_WorldEngineDataEEVEE_world_data_ensure (World *wo)
 

Detailed Description

All specific data handler for Objects, Lights, ViewLayers, ...

Definition in file eevee_data.c.

Function Documentation

◆ EEVEE_light_data_ensure()

EEVEE_LightEngineData* EEVEE_light_data_ensure ( Object ob)

◆ EEVEE_light_data_get()

EEVEE_LightEngineData* EEVEE_light_data_get ( Object ob)

◆ eevee_light_data_init()

static void eevee_light_data_init ( DrawData dd)
static

Definition at line 345 of file eevee_data.c.

References EEVEE_LightEngineData::need_update.

Referenced by EEVEE_light_data_ensure().

◆ EEVEE_lightprobe_data_ensure()

EEVEE_LightProbeEngineData* EEVEE_lightprobe_data_ensure ( Object ob)

◆ EEVEE_lightprobe_data_get()

EEVEE_LightProbeEngineData* EEVEE_lightprobe_data_get ( Object ob)

◆ eevee_lightprobe_data_init()

static void eevee_lightprobe_data_init ( DrawData dd)
static

Definition at line 319 of file eevee_data.c.

References EEVEE_LightProbeEngineData::need_update.

Referenced by EEVEE_lightprobe_data_ensure().

◆ EEVEE_motion_blur_data_free()

void EEVEE_motion_blur_data_free ( EEVEE_MotionBlurData mb)

◆ EEVEE_motion_blur_data_init()

void EEVEE_motion_blur_data_init ( EEVEE_MotionBlurData mb)

◆ EEVEE_motion_blur_geometry_data_get()

EEVEE_GeometryMotionData* EEVEE_motion_blur_geometry_data_get ( EEVEE_MotionBlurData mb,
Object ob 
)

Definition at line 196 of file eevee_data.c.

References motion_blur_deform_data_get().

Referenced by EEVEE_motion_blur_cache_populate().

◆ EEVEE_motion_blur_hair_data_get()

EEVEE_HairMotionData* EEVEE_motion_blur_hair_data_get ( EEVEE_MotionBlurData mb,
Object ob 
)

Definition at line 201 of file eevee_data.c.

References motion_blur_deform_data_get().

Referenced by EEVEE_motion_blur_hair_cache_populate().

◆ eevee_motion_blur_mesh_data_free()

static void eevee_motion_blur_mesh_data_free ( void *  val)
static

◆ EEVEE_motion_blur_object_data_get()

EEVEE_ObjectMotionData* EEVEE_motion_blur_object_data_get ( EEVEE_MotionBlurData mb,
Object ob,
bool  hair 
)

◆ EEVEE_object_data_ensure()

EEVEE_ObjectEngineData* EEVEE_object_data_ensure ( Object ob)

◆ EEVEE_object_data_get()

EEVEE_ObjectEngineData* EEVEE_object_data_get ( Object ob)

◆ eevee_object_data_init()

static void eevee_object_data_init ( DrawData dd)
static

◆ eevee_object_key_cmp()

static bool eevee_object_key_cmp ( const void *  a,
const void *  b 
)
static

◆ eevee_object_key_hash()

static uint eevee_object_key_hash ( const void *  key)
static

◆ EEVEE_view_layer_data_ensure()

EEVEE_ViewLayerData* EEVEE_view_layer_data_ensure ( void  )

◆ EEVEE_view_layer_data_ensure_ex()

EEVEE_ViewLayerData* EEVEE_view_layer_data_ensure_ex ( struct ViewLayer view_layer)

◆ EEVEE_view_layer_data_free()

void EEVEE_view_layer_data_free ( void *  storage)

◆ EEVEE_view_layer_data_get()

EEVEE_ViewLayerData* EEVEE_view_layer_data_get ( void  )

Definition at line 253 of file eevee_data.c.

References draw_engine_eevee_type, and DRW_view_layer_engine_data_get().

◆ eevee_view_layer_init()

static void eevee_view_layer_init ( EEVEE_ViewLayerData sldata)
static

◆ EEVEE_world_data_ensure()

EEVEE_WorldEngineData* EEVEE_world_data_ensure ( World wo)

◆ EEVEE_world_data_get()

EEVEE_WorldEngineData* EEVEE_world_data_get ( World wo)

Definition at line 377 of file eevee_data.c.

References draw_engine_eevee_type, DRW_drawdata_get(), and World::id.

◆ eevee_world_data_init()

static void eevee_world_data_init ( DrawData dd)
static

Definition at line 371 of file eevee_data.c.

References EEVEE_WorldEngineData::dd, and DrawData::recalc.

Referenced by EEVEE_world_data_ensure().

◆ motion_blur_deform_data_get()

static void* motion_blur_deform_data_get ( EEVEE_MotionBlurData mb,
Object ob,
bool  hair 
)
static