Blender V5.3
builtin::annotation Namespace Reference

Classes

struct  VertOut
struct  GeomOut
struct  Resources
struct  VertInterp
struct  FragOut

Functions

float get_Z_depth (float4 point)
bool is_equal (float4 p1, float4 p2)
void vert_main (const Resources &srt, const int vert_id, float4 &out_pos, VertInterp &v_out)
void frag_main (const VertInterp &v_out, FragOut &frag_out)

Function Documentation

◆ frag_main()

void builtin::annotation::frag_main ( const VertInterp & v_out,
FragOut & frag_out )

Definition at line 359 of file gpu_shader_annotation.bsl.hh.

References frag_main(), fragment, gpu_discard_fragment(), in, length(), and out.

Referenced by frag_main().

◆ get_Z_depth()

float builtin::annotation::get_Z_depth ( float4 point)

◆ is_equal()

bool builtin::annotation::is_equal ( float4 p1,
float4 p2 )

◆ vert_main()

void builtin::annotation::vert_main ( const Resources & srt,
const int vert_id,
float4 & out_pos,
VertInterp & v_out )