Blender V5.3
workbench::depth Namespace Reference

Classes

struct  Merge

Functions

void vert (const int vert_id, float4 &position)
void merge (const Merge &srt, const float4 frag_co, float &out_depth)
void overlay (float &out_depth)

Function Documentation

◆ merge()

void workbench::depth::merge ( const Merge & srt,
const float4 frag_co,
float & out_depth )

Definition at line 22 of file workbench_depth.bsl.hh.

References any(), frag_coord, frag_depth, fragment, merge(), resource_table, texture(), and textureSize().

Referenced by merge().

◆ overlay()

void workbench::depth::overlay ( float & out_depth)

Definition at line 33 of file workbench_depth.bsl.hh.

References any(), frag_depth, and fragment.

◆ vert()

void workbench::depth::vert ( const int vert_id,
float4 & position )

Definition at line 12 of file workbench_depth.bsl.hh.

References fullscreen_vertex(), position, vert(), and vertex_id.

Referenced by vert().