Blender V5.3
overlay::xray_fade::Resources Struct Reference

#include <overlay_xray_fade.bsl.hh>

Public Member Functions

TexelData sample_texel (float2 uv)
TexelData sample_texel_in_front (float2 uv)

Public Attributes

const sampler2DDepth depth_tx
const sampler2DDepth depth_in_front_tx
const sampler2DDepth xray_depth_tx
const sampler2DDepth xray_depth_in_front_tx
const float opacity

Detailed Description

Definition at line 26 of file overlay_xray_fade.bsl.hh.

Member Function Documentation

◆ sample_texel()

TexelData overlay::xray_fade::Resources::sample_texel ( float2 uv)
inline

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

References depth_tx, textureLod(), and xray_depth_tx.

◆ sample_texel_in_front()

TexelData overlay::xray_fade::Resources::sample_texel_in_front ( float2 uv)
inline

Definition at line 42 of file overlay_xray_fade.bsl.hh.

References depth_in_front_tx, textureLod(), and xray_depth_in_front_tx.

Member Data Documentation

◆ depth_in_front_tx

const sampler2DDepth overlay::xray_fade::Resources::depth_in_front_tx

Definition at line 28 of file overlay_xray_fade.bsl.hh.

Referenced by sample_texel_in_front().

◆ depth_tx

const sampler2DDepth overlay::xray_fade::Resources::depth_tx

Definition at line 27 of file overlay_xray_fade.bsl.hh.

Referenced by sample_texel().

◆ opacity

const float overlay::xray_fade::Resources::opacity

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

◆ xray_depth_in_front_tx

const sampler2DDepth overlay::xray_fade::Resources::xray_depth_in_front_tx

Definition at line 30 of file overlay_xray_fade.bsl.hh.

Referenced by sample_texel_in_front().

◆ xray_depth_tx

const sampler2DDepth overlay::xray_fade::Resources::xray_depth_tx

Definition at line 29 of file overlay_xray_fade.bsl.hh.

Referenced by sample_texel().


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