34 std::array<gpu::Texture *, HIZ_MIP_COUNT> hiz_mip_ref_;
44 PassSimple hiz_update_layer_ps_ = {
"HizUpdate.Layer"};
47 PassSimple debug_draw_ps_ = {
"HizUpdate.Debug"};
49 bool is_dirty_ =
true;
59 atomic_tile_counter_.clear_to_zero();
85 back.ref_tx_ = hiz_tx_.previous();
86 front.ref_tx_ = hiz_tx_.current();
112 template<
typename PassType>
void bind_resources(
PassType &pass)
BMesh const char void * data
void debug_draw(View &view, gpu::FrameBuffer *view_fb)
HiZBuffer(Instance &inst, HiZData &data)
void set_source(gpu::Texture **texture, int layer=-1)
struct blender::eevee::HiZBuffer::@312272073133116306117315271010160007344264367302 back
struct blender::eevee::HiZBuffer::@312272073133116306117315271010160007344264367302 front
A running instance of the engine.
TEX_TEMPLATE DataVec texture(T, FltCoord, float=0.0f) RET
detail::Pass< command::DrawCommandBuf > PassSimple