Blender V5.3
overlay::edit_vert Namespace Reference

Classes

struct  Resources
struct  VertOut
struct  FragOut

Functions

void vert (const PipelineResources &pipe, const Resources &srt, const draw::gsplat::ShapeResource &shape, const draw::Resource &res_id, const draw::Model &models, const draw::View &views, const int vert_id, const int inst_index, float4 &out_position, float &out_pointsize, const Clipping &clip, float(&clip_distances)[6], VertOut &v_out)
void frag (const float2 &in_pointcoord, const VertOut &v_in, FragOut &f_out)

Function Documentation

◆ frag()

void overlay::edit_vert::frag ( const float2 & in_pointcoord,
const VertOut & v_in,
FragOut & f_out )

Definition at line 366 of file overlay_gsplat.bsl.hh.

References distance_squared(), frag(), fragment, gpu_discard_fragment(), in, out, and point_coord.

Referenced by frag().

◆ vert()

void overlay::edit_vert::vert ( const PipelineResources & pipe,
const Resources & srt,
const draw::gsplat::ShapeResource & shape,
const draw::Resource & res_id,
const draw::Model & models,
const draw::View & views,
const int vert_id,
const int inst_index,
float4 & out_position,
float & out_pointsize,
const Clipping & clip,
float(&) clip_distances[6],
VertOut & v_out )