Blender V5.3
overlay::armature::shape::wire Namespace Reference

Classes

struct  VertIn
struct  VertOut
struct  GeomOut
struct  Constants
struct  Resources

Functions

void vert (const Resources &srt, const Constants &consts, const Armature &armature, const Clipping &clip, const draw::View &views, const draw::Select &sel, draw::SelectOut &sel_out, const int vert_id, const int inst_index, float(&clip_distances)[6], GeomOut &v_out, float4 &out_pos)
float edge_step (bool do_smooth_wire, float dist)
void frag (const Resources &srt, draw::Select &sel, const float4 frag_co, const GeomOut &v_out, const draw::SelectOut &sel_out, FragOut &frag_out)

Function Documentation

◆ edge_step()

float overlay::armature::shape::wire::edge_step ( bool do_smooth_wire,
float dist )

Definition at line 1068 of file overlay_armature.bsl.hh.

References edge_step(), LINE_SMOOTH_END, LINE_SMOOTH_START, smoothstep(), and step.

Referenced by edge_step(), and frag().

◆ frag()

void overlay::armature::shape::wire::frag ( const Resources & srt,
draw::Select & sel,
const float4 frag_co,
const GeomOut & v_out,
const draw::SelectOut & sel_out,
FragOut & frag_out )

Definition at line 1077 of file overlay_armature.bsl.hh.

References abs, condition, edge_step(), frag(), frag_coord, in, mix, out, resource_table, saturate, and static_branch.

Referenced by frag().

◆ vert()

void overlay::armature::shape::wire::vert ( const Resources & srt,
const Constants & consts,
const Armature & armature,
const Clipping & clip,
const draw::View & views,
const draw::Select & sel,
draw::SelectOut & sel_out,
const int vert_id,
const int inst_index,
float(&) clip_distances[6],
GeomOut & v_out,
float4 & out_pos )