Blender V4.3
blender::eevee::VolumeLayer Class Reference

#include <eevee_pipeline.hh>

Public Member Functions

 VolumeLayer (Instance &inst)
 
Volume Layer
PassMain::Suboccupancy_add (const Object *ob, const ::Material *blender_mat, GPUMaterial *gpumat)
 
PassMain::Submaterial_add (const Object *ob, const ::Material *blender_mat, GPUMaterial *gpumat)
 
bool bounds_overlaps (const VolumeObjectBounds &object_aabb) const
 
void add_object_bound (const VolumeObjectBounds &object_aabb)
 
void sync ()
 
void render (View &view, Texture &occupancy_tx)
 

Public Attributes

bool use_hit_list = false
 
bool is_empty = true
 
bool finalized = false
 
bool has_scatter = false
 
bool has_absorption = false
 

Detailed Description

A volume layer contains a list of non-overlapping volume objects.

Definition at line 407 of file eevee_pipeline.hh.

Constructor & Destructor Documentation

◆ VolumeLayer()

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

Definition at line 428 of file eevee_pipeline.hh.

References sync().

Member Function Documentation

◆ add_object_bound()

void blender::eevee::VolumeLayer::add_object_bound ( const VolumeObjectBounds & object_aabb)

◆ bounds_overlaps()

bool blender::eevee::VolumeLayer::bounds_overlaps ( const VolumeObjectBounds & object_aabb) const

◆ material_add()

◆ occupancy_add()

◆ render()

◆ sync()

Member Data Documentation

◆ finalized

bool blender::eevee::VolumeLayer::finalized = false

Definition at line 411 of file eevee_pipeline.hh.

Referenced by render(), and sync().

◆ has_absorption

bool blender::eevee::VolumeLayer::has_absorption = false

Definition at line 413 of file eevee_pipeline.hh.

Referenced by material_add(), and sync().

◆ has_scatter

bool blender::eevee::VolumeLayer::has_scatter = false

Definition at line 412 of file eevee_pipeline.hh.

Referenced by material_add(), and sync().

◆ is_empty

bool blender::eevee::VolumeLayer::is_empty = true

Definition at line 410 of file eevee_pipeline.hh.

Referenced by occupancy_add(), render(), and sync().

◆ use_hit_list

bool blender::eevee::VolumeLayer::use_hit_list = false

Definition at line 409 of file eevee_pipeline.hh.

Referenced by occupancy_add(), render(), and sync().


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