|
Blender V4.5
|
#include <eevee_subsurface.hh>
Public Member Functions | |
| SubsurfaceModule (Instance &inst, SubsurfaceData &data) | |
| ~SubsurfaceModule () | |
Subsurface | |
| void | end_sync () |
| void | render (GPUTexture *direct_diffuse_light_tx, GPUTexture *indirect_diffuse_light_tx, eClosureBits active_closures, View &view) |
Definition at line 33 of file eevee_subsurface.hh.
|
inline |
Definition at line 54 of file eevee_subsurface.hh.
References data.
|
inline |
Definition at line 60 of file eevee_subsurface.hh.
| void blender::eevee::SubsurfaceModule::end_sync | ( | ) |
Definition at line 20 of file eevee_subsurface.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_ssbo(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::eevee::CLOSURE_SSS, blender::draw::detail::PassBase< DrawCommandBufType >::dispatch(), DRW_STATE_NO_DRAW, GPU_BARRIER_SHADER_IMAGE_ACCESS, GPU_BARRIER_SHADER_STORAGE, GPU_BARRIER_TEXTURE_FETCH, GPU_SAMPLER_CUSTOM_COMPARE, GPU_SAMPLER_EXTEND_MODE_CLAMP_TO_BORDER, GPU_SAMPLER_FILTERING_DEFAULT, GPU_SAMPLER_STATE_TYPE_PARAMETERS, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), blender::eevee::SUBSURFACE_CONVOLVE, and blender::eevee::SUBSURFACE_SETUP.
| void blender::eevee::SubsurfaceModule::render | ( | GPUTexture * | direct_diffuse_light_tx, |
| GPUTexture * | indirect_diffuse_light_tx, | ||
| eClosureBits | active_closures, | ||
| View & | view ) |
Definition at line 71 of file eevee_subsurface.cc.
References ceil_to_multiple_u(), blender::eevee::CLOSURE_SSS, blender::math::divide_ceil(), GPU_TEXTURE_USAGE_SHADER_READ, GPU_TEXTURE_USAGE_SHADER_WRITE, SUBSURFACE_GROUP_SIZE, SUBSURFACE_OBJECT_ID_FORMAT, SUBSURFACE_RADIANCE_FORMAT, and view.