|
Blender V5.3
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | Resources |
| struct | VertOut |
| struct | FragOut |
Functions | |
| void | vert (const PipelineResources &pipe, const Resources &srt, const draw::gsplat::ShapeResource &shape, const draw::Model &models, const draw::Infos &infos, const draw::View &views, const draw::Select &, const draw::Resource &res_id, const draw::ResourceCustomID &custom_id, 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 PipelineResources &pipe, const Resources &, draw::Select &select, const float2 &in_pointcoord, const float4 frag_coordinate, const VertOut &v_in, FragOut &f_out) |
| void overlay::wireframe::frag | ( | const PipelineResources & | pipe, |
| const Resources & | , | ||
| draw::Select & | select, | ||
| const float2 & | in_pointcoord, | ||
| const float4 | frag_coordinate, | ||
| const VertOut & | v_in, | ||
| FragOut & | f_out ) |
Definition at line 274 of file overlay_gsplat.bsl.hh.
References abs, condition, frag(), frag_coord, fragment, in, max, mix, out, point_coord, resource_table, saturate, select, sqrt, static_branch, float2::x, and float2::y.
Referenced by frag().
| void overlay::wireframe::vert | ( | const PipelineResources & | pipe, |
| const Resources & | srt, | ||
| const draw::gsplat::ShapeResource & | shape, | ||
| const draw::Model & | models, | ||
| const draw::Infos & | infos, | ||
| const draw::View & | views, | ||
| const draw::Select & | , | ||
| const draw::Resource & | res_id, | ||
| const draw::ResourceCustomID & | custom_id, | ||
| const int | vert_id, | ||
| const int | inst_index, | ||
| float4 & | out_position, | ||
| float & | out_pointsize, | ||
| const Clipping & | clip, | ||
| float(&) | clip_distances[6], | ||
| VertOut & | v_out ) |
Definition at line 207 of file overlay_gsplat.bsl.hh.
References clip_distance, condition, draw::gsplat::PointShape::hP, instance_index, draw::gsplat::PointShape::is_culled(), NAN_FLT, out, point_size, position, resource_table, static_branch, V3D_SHADING_OBJECT_COLOR, V3D_SHADING_RANDOM_COLOR, vert(), vertex, vertex_id, overlay::wireframe::detail::wire_color_get(), overlay::wireframe::detail::wire_object_color_get(), draw::gsplat::PointShape::wP, and float4::z.
Referenced by vert().