|
Blender V5.3
|
Classes | |
| struct | Resources |
| struct | VertOut |
| struct | FragOut |
Functions | |
| void | main_vert (const Resources &srt, VertOut &v_out, const int inst_index, const int vert_id, float4 &out_pos) |
| void | main_frag (const Resources &srt, const VertOut &v_out, FragOut &frag_out) |
| void builtin::window_borders::main_frag | ( | const Resources & | srt, |
| const VertOut & | v_out, | ||
| FragOut & | frag_out ) |
Definition at line 139 of file gpu_shader_area_borders.bsl.hh.
References clamp(), fragment, in, length(), main_frag(), out, and resource_table.
Referenced by main_frag().
| void builtin::window_borders::main_vert | ( | const Resources & | srt, |
| VertOut & | v_out, | ||
| const int | inst_index, | ||
| const int | vert_id, | ||
| float4 & | out_pos ) |
Draws the anti-aliased area that a rounded corner cuts away from each corner of a rectangle. Uses one instance per corner.
Definition at line 113 of file gpu_shader_area_borders.bsl.hh.
References instance_index, main_vert(), out, position, resource_table, vertex, vertex_id, float2::x, and float2::y.
Referenced by main_vert().