53 friend VolumePipeline;
54 friend WorldVolumePipeline;
60 bool viewport_sampling_is_reset_ =
false;
61 bool use_reprojection_;
75 Texture occupancy_tx_ = {
"occupancy_tx"};
81 Texture hit_count_tx_ = {
"hit_count_tx"};
82 Texture hit_depth_tx_ = {
"hit_depth_tx"};
83 Texture front_depth_tx_ = {
"front_depth_tx"};
99 PassSimple integration_ps_ = {
"Volumes.Integration"};
100 Texture integrated_scatter_tx_;
101 Texture integrated_transmit_tx_;
110 View volume_view = {
"Volume View"};
115 int history_frame_count_ = 0;
117 bool history_camera_is_perspective_ =
false;
119 bool valid_history_ =
false;
126 dummy_scatter_tx_.ensure_3d(
128 dummy_transmit_tx_.ensure_3d(
139 return enabled_ && use_lights_;
153 return data_.tex_size;
186 template<
typename PassType>
void bind_resources(
PassType &pass)
203 template<
typename PassType>
void bind_resources(
PassType &pass)
221 template<
typename PassType>
void bind_resources(
PassType &pass)
#define GPU_BATCH_DISCARD_SAFE(batch)
A running instance of the engine.
gpu::Batch * unit_cube_batch_get()
void object_sync(const ObjectHandle &ob_handle)
void set_view(View &main_view, int2 render_extent)
bool needs_shadow_tagging() const
void world_sync(const WorldHandle &world_handle)
struct blender::eevee::VolumeModule::@105155100155224106113172003277040034221247060352 properties
void draw_resolve(View &view)
VolumeModule(Instance &inst, VolumesInfoData &data)
void draw_compute(View &main_view, int2 extent)
void draw_prepass(View &main_view)
#define VOLUME_PROP_SCATTERING_IMG_SLOT
#define VOLUME_HIT_DEPTH_SLOT
#define VOLUME_PROP_PHASE_WEIGHT_IMG_SLOT
#define VOLUME_HIT_COUNT_SLOT
#define VOLUME_OCCUPANCY_SLOT
#define VOLUME_TRANSMITTANCE_TEX_SLOT
#define VOLUME_PROP_EXTINCTION_IMG_SLOT
#define VOLUME_PROP_PHASE_IMG_SLOT
#define VOLUME_SCATTERING_TEX_SLOT
#define VOLUME_PROP_EMISSION_IMG_SLOT
detail::Pass< command::DrawCommandBuf > PassSimple
gpu::Batch * GPU_batch_unit_cube() ATTR_WARN_UNUSED_RESULT
MatBase< float, 4, 4 > float4x4
VecBase< float, 4 > float4
VecBase< int32_t, 2 > int2
VecBase< int32_t, 3 > int3
@ GPU_TEXTURE_USAGE_SHADER_READ
BMesh const char void * data
gpu::Texture * occupancy_tx_
gpu::Texture * hit_depth_tx_
gpu::Texture * hit_count_tx_
gpu::Texture * extinction_tx_
gpu::Texture * phase_weight_tx_
gpu::Texture * emission_tx_
gpu::Texture * scattering_tx_
gpu::Texture * occupancy_tx_
gpu::Texture * scattering_tx_
gpu::Texture * transmittance_tx_