Blender V5.3
eevee::subsurface::Convolve Struct Reference

#include <eevee_subsurface.bsl.hh>

Public Member Functions

void cache_populate (float2 local_uv, uint2 texel)
bool cache_sample (uint2 texel, uint3 group_id, SubSurfaceSample &samp) const
SubSurfaceSample sample_neighborhood (float2 sample_uv, uint3 group_id) const

Public Attributes

const bool use_split_radiance
sampler2DArray radiance_tx
sampler2DDepth depth_tx
usampler2D object_id_tx
uimage2DArray out_direct_light_img
image2D out_indirect_light_img
const SubsurfaceData & subsurface_buf
const uint(& tiles_coord_buf )[]
float3 cached_radiance [SUBSURFACE_GROUP_SIZE][SUBSURFACE_GROUP_SIZE]
uint cached_sss_id [SUBSURFACE_GROUP_SIZE][SUBSURFACE_GROUP_SIZE]
float cached_depth [SUBSURFACE_GROUP_SIZE][SUBSURFACE_GROUP_SIZE]

Detailed Description

Definition at line 142 of file eevee_subsurface.bsl.hh.

Member Function Documentation

◆ cache_populate()

void eevee::subsurface::Convolve::cache_populate ( float2 local_uv,
uint2 texel )
inline

◆ cache_sample()

◆ sample_neighborhood()

Member Data Documentation

◆ cached_depth

float eevee::subsurface::Convolve::cached_depth[SUBSURFACE_GROUP_SIZE][SUBSURFACE_GROUP_SIZE]

Definition at line 158 of file eevee_subsurface.bsl.hh.

Referenced by cache_populate(), and cache_sample().

◆ cached_radiance

float3 eevee::subsurface::Convolve::cached_radiance[SUBSURFACE_GROUP_SIZE][SUBSURFACE_GROUP_SIZE]

Definition at line 156 of file eevee_subsurface.bsl.hh.

Referenced by cache_populate(), and cache_sample().

◆ cached_sss_id

uint eevee::subsurface::Convolve::cached_sss_id[SUBSURFACE_GROUP_SIZE][SUBSURFACE_GROUP_SIZE]

Definition at line 157 of file eevee_subsurface.bsl.hh.

Referenced by cache_populate(), and cache_sample().

◆ depth_tx

sampler2DDepth eevee::subsurface::Convolve::depth_tx

Definition at line 146 of file eevee_subsurface.bsl.hh.

Referenced by cache_populate(), and sample_neighborhood().

◆ object_id_tx

usampler2D eevee::subsurface::Convolve::object_id_tx

Definition at line 147 of file eevee_subsurface.bsl.hh.

Referenced by cache_populate(), and sample_neighborhood().

◆ out_direct_light_img

uimage2DArray eevee::subsurface::Convolve::out_direct_light_img

Definition at line 149 of file eevee_subsurface.bsl.hh.

◆ out_indirect_light_img

image2D eevee::subsurface::Convolve::out_indirect_light_img

Definition at line 150 of file eevee_subsurface.bsl.hh.

◆ radiance_tx

sampler2DArray eevee::subsurface::Convolve::radiance_tx

Definition at line 145 of file eevee_subsurface.bsl.hh.

Referenced by cache_populate(), and sample_neighborhood().

◆ subsurface_buf

const SubsurfaceData& eevee::subsurface::Convolve::subsurface_buf

Definition at line 152 of file eevee_subsurface.bsl.hh.

◆ tiles_coord_buf

const uint(& eevee::subsurface::Convolve::tiles_coord_buf)[]

Definition at line 154 of file eevee_subsurface.bsl.hh.

Referenced by cache_sample().

◆ use_split_radiance

const bool eevee::subsurface::Convolve::use_split_radiance

Definition at line 143 of file eevee_subsurface.bsl.hh.


The documentation for this struct was generated from the following file: