Blender  V3.3
Classes | Enumerations | Functions | Variables
blender::eevee Namespace Reference

Classes

class  Camera
 
class  Film
 
class  Instance
 A running instance of the engine. More...
 
struct  MaterialKey
 
struct  ShaderKey
 
class  DefaultSurfaceNodeTree
 
struct  MaterialPass
 
struct  Material
 
struct  MaterialArray
 
class  MaterialModule
 
class  WorldPipeline
 
class  ForwardPipeline
 
class  UtilityTexture
 
class  PipelineModule
 
class  RenderBuffers
 
class  Sampling
 
class  ShaderModule
 
struct  gpIterData
 
struct  ObjectKey
 
struct  ObjectHandle
 
struct  WorldHandle
 
class  SyncModule
 
class  VelocityModule
 
class  ShadingView
 
class  MainView
 
class  DefaultWorldNodeTree
 
class  World
 

Enumerations

enum  eShaderType { FILM_FRAG = 0 , FILM_COMP , MAX_SHADER_TYPE }
 

Functions

void cubeface_winmat_get (float4x4 &winmat, float near, float far)
 
CameraData operators
bool operator== (const CameraData &a, const CameraData &b)
 
bool operator!= (const CameraData &a, const CameraData &b)
 
FilmData
bool operator== (const FilmData &a, const FilmData &b)
 
bool operator!= (const FilmData &a, const FilmData &b)
 
GPU Materials
static void codegen_callback (void *thunk, GPUMaterial *mat, GPUCodegenOutput *codegen)
 
Draw Data
static void draw_data_init_cb (struct DrawData *dd)
 
Common
static void shgroup_geometry_call (DRWShadingGroup *grp, Object *ob, GPUBatch *geom, int v_first=-1, int v_count=-1, bool use_instancing=false)
 
GPencil
static void gpencil_drawcall_flush (gpIterData &iter)
 
static void gpencil_drawcall_add (gpIterData &iter, GPUBatch *geom, Material *material, int v_first, int v_count, bool instancing)
 
static void gpencil_stroke_sync (bGPDlayer *UNUSED(gpl), bGPDframe *UNUSED(gpf), bGPDstroke *gps, void *thunk)
 
Hair
static void shgroup_curves_call (MaterialPass &matpass, Object *ob, ParticleSystem *part_sys=nullptr, ModifierData *modifier_data=nullptr)
 
VelocityModule
static void step_object_sync_render (void *velocity, Object *ob, RenderEngine *UNUSED(engine), Depsgraph *UNUSED(depsgraph))
 

Variables

static const float cubeface_mat [6][4][4]
 

MaterialKey

enum  eMaterialPipeline {
  MAT_PIPE_DEFERRED = 0 , MAT_PIPE_FORWARD , MAT_PIPE_DEFERRED_PREPASS , MAT_PIPE_DEFERRED_PREPASS_VELOCITY ,
  MAT_PIPE_FORWARD_PREPASS , MAT_PIPE_FORWARD_PREPASS_VELOCITY , MAT_PIPE_VOLUME , MAT_PIPE_SHADOW
}
 
enum  eMaterialGeometry {
  MAT_GEOM_MESH = 0 , MAT_GEOM_CURVES , MAT_GEOM_GPENCIL , MAT_GEOM_VOLUME ,
  MAT_GEOM_WORLD
}
 
static void material_type_from_shader_uuid (uint64_t shader_uuid, eMaterialPipeline &pipeline_type, eMaterialGeometry &geometry_type)
 
static uint64_t shader_uuid_from_material_type (eMaterialPipeline pipeline_type, eMaterialGeometry geometry_type)
 
static eClosureBits shader_closure_bits_from_flag (const GPUMaterial *gpumat)
 
static eMaterialGeometry to_material_geometry (const Object *ob)
 

Enumeration Type Documentation

◆ eMaterialGeometry

Enumerator
MAT_GEOM_MESH 
MAT_GEOM_CURVES 
MAT_GEOM_GPENCIL 
MAT_GEOM_VOLUME 
MAT_GEOM_WORLD 

Definition at line 39 of file eevee_material.hh.

◆ eMaterialPipeline

Enumerator
MAT_PIPE_DEFERRED 
MAT_PIPE_FORWARD 
MAT_PIPE_DEFERRED_PREPASS 
MAT_PIPE_DEFERRED_PREPASS_VELOCITY 
MAT_PIPE_FORWARD_PREPASS 
MAT_PIPE_FORWARD_PREPASS_VELOCITY 
MAT_PIPE_VOLUME 
MAT_PIPE_SHADOW 

Definition at line 28 of file eevee_material.hh.

◆ eShaderType

Enumerator
FILM_FRAG 
FILM_COMP 
MAX_SHADER_TYPE 

Definition at line 28 of file eevee_shader.hh.

Function Documentation

◆ codegen_callback()

static void blender::eevee::codegen_callback ( void thunk,
GPUMaterial mat,
GPUCodegenOutput codegen 
)
static

◆ cubeface_winmat_get()

void blender::eevee::cubeface_winmat_get ( float4x4 winmat,
float  near,
float  far 
)
inline

Definition at line 49 of file eevee_camera.hh.

References perspective_m4(), and blender::float4x4::ptr().

◆ draw_data_init_cb()

static void blender::eevee::draw_data_init_cb ( struct DrawData dd)
static

◆ gpencil_drawcall_add()

static void blender::eevee::gpencil_drawcall_add ( gpIterData iter,
GPUBatch geom,
Material material,
int  v_first,
int  v_count,
bool  instancing 
)
static

◆ gpencil_drawcall_flush()

static void blender::eevee::gpencil_drawcall_flush ( gpIterData iter)
static

◆ gpencil_stroke_sync()

static void blender::eevee::gpencil_stroke_sync ( bGPDlayer UNUSEDgpl,
bGPDframe UNUSEDgpf,
bGPDstroke gps,
void thunk 
)
static

◆ material_type_from_shader_uuid()

static void blender::eevee::material_type_from_shader_uuid ( uint64_t  shader_uuid,
eMaterialPipeline pipeline_type,
eMaterialGeometry geometry_type 
)
inlinestatic

◆ operator!=() [1/2]

bool blender::eevee::operator!= ( const CameraData a,
const CameraData b 
)
inline

Definition at line 67 of file eevee_camera.hh.

References Freestyle::a, and usdtokens::b().

◆ operator!=() [2/2]

bool blender::eevee::operator!= ( const FilmData &  a,
const FilmData &  b 
)
inline

Definition at line 154 of file eevee_film.cc.

References Freestyle::a, and usdtokens::b().

◆ operator==() [1/2]

bool blender::eevee::operator== ( const CameraData a,
const CameraData b 
)
inline

Definition at line 59 of file eevee_camera.hh.

References Freestyle::a, usdtokens::b(), and compare_m4m4().

◆ operator==() [2/2]

bool blender::eevee::operator== ( const FilmData &  a,
const FilmData &  b 
)
inline

Definition at line 147 of file eevee_film.cc.

References Freestyle::a, and usdtokens::b().

◆ shader_closure_bits_from_flag()

static eClosureBits blender::eevee::shader_closure_bits_from_flag ( const GPUMaterial gpumat)
inlinestatic

◆ shader_uuid_from_material_type()

static uint64_t blender::eevee::shader_uuid_from_material_type ( eMaterialPipeline  pipeline_type,
eMaterialGeometry  geometry_type 
)
inlinestatic

◆ shgroup_curves_call()

static void blender::eevee::shgroup_curves_call ( MaterialPass matpass,
Object ob,
ParticleSystem part_sys = nullptr,
ModifierData modifier_data = nullptr 
)
static

◆ shgroup_geometry_call()

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 
)
inlinestatic

◆ step_object_sync_render()

static void blender::eevee::step_object_sync_render ( void velocity,
Object ob,
RenderEngine UNUSEDengine,
Depsgraph UNUSEDdepsgraph 
)
static

Definition at line 45 of file eevee_velocity.cc.

Referenced by blender::eevee::VelocityModule::step_sync().

◆ to_material_geometry()

static eMaterialGeometry blender::eevee::to_material_geometry ( const Object ob)
inlinestatic

Variable Documentation

◆ cubeface_mat

const float blender::eevee::cubeface_mat[6][4][4]
static

Definition at line 16 of file eevee_camera.hh.