|
Blender V5.0
|
#include <eevee_pipeline.hh>
Public Member Functions | |
| DeferredProbePipeline (Instance &inst) | |
| int | header_layer_count () const |
| int | closure_layer_count () const |
| int | normal_layer_count () const |
Deferred Probe Pipeline | |
Closure data are written to intermediate buffer allowing screen space processing. | |
| void | begin_sync () |
| void | end_sync () |
| PassMain::Sub * | prepass_add (::Material *blender_mat, GPUMaterial *gpumat) |
| PassMain::Sub * | material_add (::Material *blender_mat, GPUMaterial *gpumat) |
| void | render (View &view, Framebuffer &prepass_fb, Framebuffer &combined_fb, Framebuffer &gbuffer_fb, int2 extent) |
Definition at line 533 of file eevee_pipeline.hh.
|
inline |
Definition at line 542 of file eevee_pipeline.hh.
| void blender::eevee::DeferredProbePipeline::begin_sync | ( | ) |
Definition at line 1278 of file eevee_pipeline.cc.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_resources(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), DRW_STATE_CLIP_CONTROL_UNIT_RANGE, DRW_STATE_CULL_BACK, DRW_STATE_WRITE_DEPTH, blender::draw::detail::Pass< DrawCommandBufType >::init(), RBUFS_UTILITY_TEX_SLOT, and blender::draw::detail::PassBase< DrawCommandBufType >::sub().
|
inline |
Definition at line 563 of file eevee_pipeline.hh.
| void blender::eevee::DeferredProbePipeline::end_sync | ( | ) |
Definition at line 1304 of file eevee_pipeline.cc.
References blender::draw::detail::PassBase< DrawCommandBufType >::barrier(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_image(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_resources(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::eevee::DEFERRED_CAPTURE_EVAL, blender::draw::detail::PassBase< DrawCommandBufType >::draw_procedural(), DRW_STATE_BLEND_ADD_FULL, DRW_STATE_DEPTH_GREATER, DRW_STATE_WRITE_COLOR, GPU_BARRIER_SHADER_IMAGE_ACCESS, GPU_BARRIER_TEXTURE_FETCH, GPU_PRIM_TRIS, blender::draw::detail::Pass< DrawCommandBufType >::init(), RBUFS_COLOR_SLOT, RBUFS_UTILITY_TEX_SLOT, RBUFS_VALUE_SLOT, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), and blender::draw::detail::PassBase< DrawCommandBufType >::state_set().
|
inline |
Definition at line 557 of file eevee_pipeline.hh.
| PassMain::Sub * blender::eevee::DeferredProbePipeline::material_add | ( | ::Material * | blender_mat, |
| GPUMaterial * | gpumat ) |
Definition at line 1336 of file eevee_pipeline.cc.
References Material::blend_flag, blender::eevee::CLOSURE_EMISSION, blender::eevee::CLOSURE_SHADER_TO_RGBA, count_bits_i(), GPU_material_get_name(), MA_BL_CULL_BACKFACE, max_ii(), blender::eevee::shader_closure_bits_from_flag(), and blender::draw::detail::PassBase< DrawCommandBufType >::sub().
|
inline |
Definition at line 569 of file eevee_pipeline.hh.
| PassMain::Sub * blender::eevee::DeferredProbePipeline::prepass_add | ( | ::Material * | blender_mat, |
| GPUMaterial * | gpumat ) |
Definition at line 1327 of file eevee_pipeline.cc.
References Material::blend_flag, GPU_material_get_name(), MA_BL_CULL_BACKFACE, and blender::draw::detail::PassBase< DrawCommandBufType >::sub().
| void blender::eevee::DeferredProbePipeline::render | ( | View & | view, |
| Framebuffer & | prepass_fb, | ||
| Framebuffer & | combined_fb, | ||
| Framebuffer & | gbuffer_fb, | ||
| int2 | extent ) |
Definition at line 1360 of file eevee_pipeline.cc.
References GPU_debug_group_begin(), GPU_debug_group_end(), GPU_framebuffer_bind(), and view.