34 std::array<GPUTexture *, 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;
51 GPUTexture *src_tx_ =
nullptr;
52 GPUTexture **src_tx_ptr_ =
nullptr;
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, GPUFrameBuffer *view_fb)
struct blender::eevee::HiZBuffer::@336245154160076161174305170032206277354015323124 back
struct blender::eevee::HiZBuffer::@336245154160076161174305170032206277354015323124 front
HiZBuffer(Instance &inst, HiZData &data)
void set_source(GPUTexture **texture, int layer=-1)
A running instance of the engine.
TEX_TEMPLATE DataVec texture(T, FltCoord, float=0.0f) RET
detail::Pass< command::DrawCommandBuf > PassSimple