Blender V5.3
eevee::shadow::usage::TagUsageTransparent Struct Reference

#include <eevee_shadow_tag_usage_transparent.bsl.hh>

Public Member Functions

float ray_aabb (float3 ray_origin, float3 ray_direction, float3 aabb_min, float3 aabb_max)
float pixel_size_at (const ViewMatrices view, float linear_depth)
void step_bounding_sphere (const ViewMatrices view, float3 vs_near_plane, float3 vs_view_direction, float near_t, float far_t, float3 &sphere_center, float &sphere_radius)
void inflate_bounds (const ViewMatrices view, const ObjectMatrices obj, float3 ls_center, float3 &P, float3 &lP)

Public Attributes

Uniform uniforms
const ObjectBounds(& bounds_buf )[]
const int2 fb_resolution
const int fb_lod

Detailed Description

Definition at line 31 of file eevee_shadow_tag_usage_transparent.bsl.hh.

Member Function Documentation

◆ inflate_bounds()

◆ pixel_size_at()

float eevee::shadow::usage::TagUsageTransparent::pixel_size_at ( const ViewMatrices view,
float linear_depth )
inline

◆ ray_aabb()

float eevee::shadow::usage::TagUsageTransparent::ray_aabb ( float3 ray_origin,
float3 ray_direction,
float3 aabb_min,
float3 aabb_max )
inline

Definition at line 39 of file eevee_shadow_tag_usage_transparent.bsl.hh.

References max, min, reduce_max(), and reduce_min().

◆ step_bounding_sphere()

void eevee::shadow::usage::TagUsageTransparent::step_bounding_sphere ( const ViewMatrices view,
float3 vs_near_plane,
float3 vs_view_direction,
float near_t,
float far_t,
float3 & sphere_center,
float & sphere_radius )
inline

Member Data Documentation

◆ bounds_buf

const ObjectBounds(& eevee::shadow::usage::TagUsageTransparent::bounds_buf)[]

Definition at line 34 of file eevee_shadow_tag_usage_transparent.bsl.hh.

◆ fb_lod

const int eevee::shadow::usage::TagUsageTransparent::fb_lod

Definition at line 37 of file eevee_shadow_tag_usage_transparent.bsl.hh.

Referenced by inflate_bounds(), and pixel_size_at().

◆ fb_resolution

const int2 eevee::shadow::usage::TagUsageTransparent::fb_resolution

Definition at line 36 of file eevee_shadow_tag_usage_transparent.bsl.hh.

◆ uniforms

Uniform eevee::shadow::usage::TagUsageTransparent::uniforms

Definition at line 32 of file eevee_shadow_tag_usage_transparent.bsl.hh.

Referenced by inflate_bounds(), and pixel_size_at().


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