Blender  V3.3
Classes | Namespaces
eevee_sync.cc File Reference
#include "eevee_engine.h"
#include "BKE_gpencil.h"
#include "BKE_object.h"
#include "DEG_depsgraph_query.h"
#include "DNA_curves_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_modifier_types.h"
#include "DNA_particle_types.h"
#include "eevee_instance.hh"

Go to the source code of this file.

Classes

struct  blender::eevee::gpIterData
 

Namespaces

 blender
 
 blender::eevee
 

Functions

Draw Data
static void blender::eevee::draw_data_init_cb (struct DrawData *dd)
 
Common
static void blender::eevee::shgroup_geometry_call (DRWShadingGroup *grp, Object *ob, GPUBatch *geom, int v_first=-1, int v_count=-1, bool use_instancing=false)
 
Hair
static void blender::eevee::shgroup_curves_call (MaterialPass &matpass, Object *ob, ParticleSystem *part_sys=nullptr, ModifierData *modifier_data=nullptr)
 

GPencil

#define DO_BATCHING   true
 
static void blender::eevee::gpencil_drawcall_flush (gpIterData &iter)
 
static void blender::eevee::gpencil_drawcall_add (gpIterData &iter, GPUBatch *geom, Material *material, int v_first, int v_count, bool instancing)
 
static void blender::eevee::gpencil_stroke_sync (bGPDlayer *UNUSED(gpl), bGPDframe *UNUSED(gpf), bGPDstroke *gps, void *thunk)
 

Detailed Description

Converts the different renderable object types to drawcalls.

Definition in file eevee_sync.cc.

Macro Definition Documentation

◆ DO_BATCHING

#define DO_BATCHING   true

Definition at line 143 of file eevee_sync.cc.