Blender V5.0
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_bounds) const
void add_object_bound (const VolumeObjectBounds &object_bounds)
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 436 of file eevee_pipeline.hh.

Constructor & Destructor Documentation

◆ VolumeLayer()

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

Definition at line 457 of file eevee_pipeline.hh.

References sync().

Member Function Documentation

◆ add_object_bound()

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

◆ bounds_overlaps()

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

◆ material_add()

◆ occupancy_add()

◆ render()

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

◆ sync()

Member Data Documentation

◆ finalized

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

Definition at line 440 of file eevee_pipeline.hh.

Referenced by render(), and sync().

◆ has_absorption

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

Definition at line 442 of file eevee_pipeline.hh.

Referenced by material_add(), and sync().

◆ has_scatter

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

Definition at line 441 of file eevee_pipeline.hh.

Referenced by material_add(), and sync().

◆ is_empty

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

Definition at line 439 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 438 of file eevee_pipeline.hh.

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


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