|
Blender V5.3
|
Classes | |
| struct | Constants |
| struct | Resources |
| struct | FragOut |
Functions | |
| void | vert (const int &vert_id, float4 &out_pos) |
| void | frag (const float4 &frag_coord, Resources &srt, draw::View &views, FragOut &frag_out) |
Variables | |
| PipelineGraphic | opaque_studio_cavity_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=true,.use_shadow=true }) |
| PipelineGraphic | opaque_studio_cavity_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=true,.use_shadow=false}) |
| PipelineGraphic | opaque_studio_cavity_no_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=false,.use_shadow=true }) |
| PipelineGraphic | opaque_studio_cavity_no_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=false,.use_shadow=false}) |
| PipelineGraphic | opaque_studio_no_cavity_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=true,.use_shadow=true }) |
| PipelineGraphic | opaque_studio_no_cavity_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=true,.use_shadow=false}) |
| PipelineGraphic | opaque_studio_no_cavity_no_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=false,.use_shadow=true }) |
| PipelineGraphic | opaque_studio_no_cavity_no_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=false,.use_shadow=false}) |
| PipelineGraphic | opaque_matcap_cavity_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=true,.use_shadow=true }) |
| PipelineGraphic | opaque_matcap_cavity_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=true,.use_shadow=false}) |
| PipelineGraphic | opaque_matcap_cavity_no_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=false,.use_shadow=true }) |
| PipelineGraphic | opaque_matcap_cavity_no_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=false,.use_shadow=false}) |
| PipelineGraphic | opaque_matcap_no_cavity_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=true,.use_shadow=true }) |
| PipelineGraphic | opaque_matcap_no_cavity_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=true,.use_shadow=false}) |
| PipelineGraphic | opaque_matcap_no_cavity_no_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=false,.use_shadow=true }) |
| PipelineGraphic | opaque_matcap_no_cavity_no_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=false,.use_shadow=false}) |
| PipelineGraphic | opaque_flat_cavity_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=true,.use_shadow=true }) |
| PipelineGraphic | opaque_flat_cavity_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=true,.use_shadow=false}) |
| PipelineGraphic | opaque_flat_cavity_no_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=false,.use_shadow=true }) |
| PipelineGraphic | opaque_flat_cavity_no_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=false,.use_shadow=false}) |
| PipelineGraphic | opaque_flat_no_cavity_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=true,.use_shadow=true }) |
| PipelineGraphic | opaque_flat_no_cavity_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=true,.use_shadow=false}) |
| PipelineGraphic | opaque_flat_no_cavity_no_curvature_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=false,.use_shadow=true }) |
| PipelineGraphic | opaque_flat_no_cavity_no_curvature_no_shadow (vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=false,.use_shadow=false}) |
Deferred pipeline resolve pass.
| void workbench::resolve::frag | ( | const float4 & | frag_coord, |
| Resources & | srt, | ||
| draw::View & | views, | ||
| FragOut & | frag_out ) |
Definition at line 56 of file workbench_composite.bsl.hh.
References workbench::cavity_compute(), clamp(), workbench::curvature_compute(), workbench::float_pair_decode(), frag(), frag_coord, fragment, workbench::get_matcap_lighting(), workbench::get_shadow(), workbench::get_world_lighting(), gpu_discard_fragment(), N, workbench::normal_decode(), out, P, ViewMatrices::point_screen_to_view(), resource_table, static_branch, texture(), textureSize(), V, and ViewMatrices::view_incident_vector().
Referenced by frag().
| void workbench::resolve::vert | ( | const int & | vert_id, |
| float4 & | out_pos ) |
Definition at line 47 of file workbench_composite.bsl.hh.
References fullscreen_vertex(), position, vert(), vertex, and vertex_id.
Referenced by vert().
| PipelineGraphic workbench::resolve::opaque_flat_cavity_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=true,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=true,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_flat_cavity_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=true,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=true,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_flat_cavity_no_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=false,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=false,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_flat_cavity_no_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=false,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=true,.use_curvature=false,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_flat_no_cavity_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=true,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=true,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_flat_no_cavity_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=true,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=true,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_flat_no_cavity_no_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=false,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=false,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_flat_no_cavity_no_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=false,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_FLAT,.use_cavity=false,.use_curvature=false,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_matcap_cavity_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=true,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=true,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_matcap_cavity_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=true,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=true,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_matcap_cavity_no_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=false,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=false,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_matcap_cavity_no_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=false,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=true,.use_curvature=false,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_matcap_no_cavity_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=true,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=true,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_matcap_no_cavity_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=true,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=true,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_matcap_no_cavity_no_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=false,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=false,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_matcap_no_cavity_no_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=false,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_MATCAP,.use_cavity=false,.use_curvature=false,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_studio_cavity_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=true,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=true,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_studio_cavity_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=true,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=true,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_studio_cavity_no_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=false,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=false,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_studio_cavity_no_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=false,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=true,.use_curvature=false,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_studio_no_cavity_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=true,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=true,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_studio_no_cavity_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=true,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=true,.use_shadow=true } | ) |
| PipelineGraphic workbench::resolve::opaque_studio_no_cavity_no_curvature_no_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=false,.use_shadow=false}) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=false,.use_shadow=false} | ) |
| PipelineGraphic workbench::resolve::opaque_studio_no_cavity_no_curvature_shadow(vert, frag, Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=false,.use_shadow=true }) | ( | vert | , |
| frag | , | ||
| Constants{.lighting_mode=WORKBENCH_LIGHTING_STUDIO,.use_cavity=false,.use_curvature=false,.use_shadow=true } | ) |