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;
112 template<
typename PassType>
void bind_resources(
PassType &pass)
void debug_draw(View &view, GPUFrameBuffer *view_fb)
HiZBuffer(Instance &inst, HiZData &data)
struct blender::eevee::HiZBuffer::@178 back
struct blender::eevee::HiZBuffer::@178 front
void set_source(GPUTexture **texture, int layer=-1)
A running instance of the engine.
TEX_TEMPLATE DataVec texture(T, FltCoord, float=0.0f) RET