Blender V5.0
blender::eevee::VolumePipeline Class Reference

#include <eevee_pipeline.hh>

Public Member Functions

 VolumePipeline (Instance &inst)
bool has_scatter () const
bool has_absorption () const
Volume Pipeline
void sync ()
void render (View &view, Texture &occupancy_tx)
VolumeLayerregister_and_get_layer (Object *ob)
std::optional< Bounds< float > > object_integration_range () const
bool use_hit_list () const

Detailed Description

Definition at line 478 of file eevee_pipeline.hh.

Constructor & Destructor Documentation

◆ VolumePipeline()

blender::eevee::VolumePipeline::VolumePipeline ( Instance & inst)
inline

Definition at line 491 of file eevee_pipeline.hh.

Member Function Documentation

◆ has_absorption()

bool blender::eevee::VolumePipeline::has_absorption ( ) const
inline

Definition at line 513 of file eevee_pipeline.hh.

◆ has_scatter()

bool blender::eevee::VolumePipeline::has_scatter ( ) const
inline

Definition at line 504 of file eevee_pipeline.hh.

◆ object_integration_range()

std::optional< Bounds< float > > blender::eevee::VolumePipeline::object_integration_range ( ) const

Definition at line 1255 of file eevee_pipeline.cc.

◆ register_and_get_layer()

VolumeLayer * blender::eevee::VolumePipeline::register_and_get_layer ( Object * ob)

Returns correct volume layer for a given object and add the object to the layer. Returns nullptr if the object is not visible at all.

Definition at line 1230 of file eevee_pipeline.cc.

References e, blender::bounds::merge(), blender::math::reduce_max(), blender::eevee::VolumeObjectBounds::screen_bounds, and blender::eevee::VolumeObjectBounds::z_range.

◆ render()

void blender::eevee::VolumePipeline::render ( View & view,
Texture & occupancy_tx )

Definition at line 1189 of file eevee_pipeline.cc.

References view.

◆ sync()

void blender::eevee::VolumePipeline::sync ( )

Definition at line 1179 of file eevee_pipeline.cc.

◆ use_hit_list()

bool blender::eevee::VolumePipeline::use_hit_list ( ) const

Definition at line 1260 of file eevee_pipeline.cc.


The documentation for this class was generated from the following files: