|
Blender V5.3
|
#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 (blender::Material *blender_mat, GPUMaterial *gpumat, bool hide_from_raycast) |
| PassMain::Sub * | material_add (blender::Material *blender_mat, GPUMaterial *gpumat) |
| void | render (View &view, Framebuffer &prepass_fb, Framebuffer &combined_fb, Framebuffer &gbuffer_fb, int2 extent) |
Definition at line 634 of file eevee_pipeline.hh.
|
inline |
Definition at line 646 of file eevee_pipeline.hh.
References blender::data, and blender::GPU_TEXTURE_USAGE_SHADER_READ.
| void blender::eevee::DeferredProbePipeline::begin_sync | ( | ) |
Definition at line 1514 of file eevee_pipeline.cc.
Referenced by blender::eevee::PipelineModule::begin_sync().
|
inline |
Definition at line 675 of file eevee_pipeline.hh.
| void blender::eevee::DeferredProbePipeline::end_sync | ( | ) |
Definition at line 1521 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(), blender::DRW_STATE_BLEND_ADD_FULL, blender::DRW_STATE_DEPTH_LESS, blender::DRW_STATE_WRITE_COLOR, blender::GPU_BARRIER_SHADER_IMAGE_ACCESS, blender::GPU_BARRIER_TEXTURE_FETCH, blender::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().
Referenced by blender::eevee::PipelineModule::end_sync().
|
inline |
Definition at line 669 of file eevee_pipeline.hh.
| PassMain::Sub * blender::eevee::DeferredProbePipeline::material_add | ( | blender::Material * | blender_mat, |
| GPUMaterial * | gpumat ) |
Definition at line 1552 of file eevee_pipeline.cc.
References blender::eevee::CLOSURE_EMISSION, blender::count_bits_i(), blender::GPU_material_get_name(), blender::max_ii(), and blender::draw::detail::PassBase< DrawCommandBufType >::sub().
Referenced by blender::eevee::PipelineModule::material_add().
|
inline |
Definition at line 681 of file eevee_pipeline.hh.
| PassMain::Sub * blender::eevee::DeferredProbePipeline::prepass_add | ( | blender::Material * | blender_mat, |
| GPUMaterial * | gpumat, | ||
| bool | hide_from_raycast ) |
Definition at line 1545 of file eevee_pipeline.cc.
Referenced by blender::eevee::PipelineModule::material_add().
| void blender::eevee::DeferredProbePipeline::render | ( | View & | view, |
| Framebuffer & | prepass_fb, | ||
| Framebuffer & | combined_fb, | ||
| Framebuffer & | gbuffer_fb, | ||
| int2 | extent ) |
Definition at line 1569 of file eevee_pipeline.cc.
References blender::draw::Framebuffer::bind(), blender::draw::Framebuffer::clear_color(), blender::draw::Framebuffer::clear_depth(), blender::GPU_debug_group_begin(), and blender::GPU_debug_group_end().