|
Blender V5.3
|
Namespaces | |
| namespace | annotation |
| namespace | area_borders |
| namespace | display_fallback |
| namespace | icon |
| namespace | image |
| namespace | keyframe |
| namespace | mipmaps |
| namespace | nodelink |
| namespace | polyline |
| namespace | socket |
| namespace | text |
| namespace | widget |
| namespace | window_borders |
Classes | |
| struct | Checker |
| struct | ClipPlanes |
| struct | ColorSpace |
| struct | Dashed |
| struct | DiagStripes |
| struct | FragOut |
| struct | Simple |
| struct | SimpleClip |
| struct | SimpleLit |
| struct | SimplePoint |
| struct | VertIn |
| struct | VertInPoint |
| struct | VertOutDashed |
| struct | VertOutFlat |
| struct | VertOutLit |
| struct | VertOutPoint |
| struct | VertOutSmooth |
Enumerations | |
| enum | PointStyle : int { POINT_SQUARE = 1 , POINT_CIRCLE = 2 , POINT_CIRCLE_AA = 3 , POINT_CIRCLE_AA_OUTLINE = 4 } |
Functions | |
| void | simple_vert (const Simple &srt, const ClipPlanes &clip, const VertIn &v_in, float4 &out_pos, VertOutFlat &flat_out, VertOutSmooth &smooth_out, VertOutDashed &dashed_out, VertOutLit &lit_out, float(&clip_distance)[6]) |
| void | simple_point_vert (const SimplePoint &srt, const ClipPlanes &clip, const VertInPoint &v_in, float4 &out_pos, VertOutPoint &v_out, float &out_point_size, float(&clip_distance)[6]) |
| void | simple_point_frag (const SimplePoint &srt, const ColorSpace &colorspace, const float2 pt_coord, const VertOutPoint &v_out, FragOut &frag_out) |
| void | simple_frag (const Simple &srt, const ColorSpace &colorspace, const VertOutFlat &flat_out, const VertOutSmooth &smooth_out, FragOut &frag_out) |
| void | simple_clip (const Simple &srt, const SimpleClip &clip, const VertIn &v_in, float4 &out_pos, VertOutFlat &flat_out, float(&clip_distance)[1]) |
| void | checker_frag (const Checker &srt, const float4 frag_co, FragOut &frag_out) |
| void | diag_stripes_frag (const DiagStripes &srt, const float4 frag_co, FragOut &frag_out) |
| void | dashed_line_frag (const Dashed &srt, const VertOutDashed &v_out, FragOut &frag_out) |
| void | simple_lit_frag (const SimpleLit &srt, const VertOutLit &v_out, FragOut &frag_out) |
| enum builtin::PointStyle : int |
| Enumerator | |
|---|---|
| POINT_SQUARE | |
| POINT_CIRCLE | |
| POINT_CIRCLE_AA | |
| POINT_CIRCLE_AA_OUTLINE | |
Definition at line 106 of file gpu_shader_simple.bsl.hh.
Definition at line 273 of file gpu_shader_simple.bsl.hh.
References checker_frag(), float, frag_coord, fragment, mod, out, resource_table, float2::x, and float2::y.
Referenced by checker_frag().
| void builtin::dashed_line_frag | ( | const Dashed & | srt, |
| const VertOutDashed & | v_out, | ||
| FragOut & | frag_out ) |
Definition at line 305 of file gpu_shader_simple.bsl.hh.
References dashed_line_frag(), distance(), fract(), fragment, gpu_discard_fragment(), in, out, and resource_table.
Referenced by dashed_line_frag().
| void builtin::diag_stripes_frag | ( | const DiagStripes & | srt, |
| const float4 | frag_co, | ||
| FragOut & | frag_out ) |
Definition at line 288 of file gpu_shader_simple.bsl.hh.
References diag_stripes_frag(), float, frag_coord, fragment, mod, out, and resource_table.
Referenced by diag_stripes_frag().
| void builtin::simple_clip | ( | const Simple & | srt, |
| const SimpleClip & | clip, | ||
| const VertIn & | v_in, | ||
| float4 & | out_pos, | ||
| VertOutFlat & | flat_out, | ||
| float(&) | clip_distance[1] ) |
Definition at line 253 of file gpu_shader_simple.bsl.hh.
References clip_distance, dot(), in, out, position, resource_table, simple_clip(), static_branch, and vertex.
Referenced by simple_clip().
| void builtin::simple_frag | ( | const Simple & | srt, |
| const ColorSpace & | colorspace, | ||
| const VertOutFlat & | flat_out, | ||
| const VertOutSmooth & | smooth_out, | ||
| FragOut & | frag_out ) |
Definition at line 231 of file gpu_shader_simple.bsl.hh.
References condition, fragment, in, out, resource_table, simple_frag(), and static_branch.
Referenced by simple_frag().
| void builtin::simple_lit_frag | ( | const SimpleLit & | srt, |
| const VertOutLit & | v_out, | ||
| FragOut & | frag_out ) |
Definition at line 333 of file gpu_shader_simple.bsl.hh.
References clamp(), dot(), fragment, in, normalize, out, resource_table, and simple_lit_frag().
Referenced by simple_lit_frag().
| void builtin::simple_point_frag | ( | const SimplePoint & | srt, |
| const ColorSpace & | colorspace, | ||
| const float2 | pt_coord, | ||
| const VertOutPoint & | v_out, | ||
| FragOut & | frag_out ) |
Definition at line 184 of file gpu_shader_simple.bsl.hh.
References fragment, gpu_discard_fragment(), in, length(), mix, out, POINT_CIRCLE_AA_OUTLINE, point_coord, resource_table, simple_point_frag(), smoothstep(), and static_branch.
Referenced by simple_point_frag().
| void builtin::simple_point_vert | ( | const SimplePoint & | srt, |
| const ClipPlanes & | clip, | ||
| const VertInPoint & | v_in, | ||
| float4 & | out_pos, | ||
| VertOutPoint & | v_out, | ||
| float & | out_point_size, | ||
| float(&) | clip_distance[6] ) |
Definition at line 138 of file gpu_shader_simple.bsl.hh.
References clip_distance, condition, dot(), in, out, POINT_CIRCLE_AA_OUTLINE, point_size, position, resource_table, simple_point_vert(), static_branch, and vertex.
Referenced by simple_point_vert().
| void builtin::simple_vert | ( | const Simple & | srt, |
| const ClipPlanes & | clip, | ||
| const VertIn & | v_in, | ||
| float4 & | out_pos, | ||
| VertOutFlat & | flat_out, | ||
| VertOutSmooth & | smooth_out, | ||
| VertOutDashed & | dashed_out, | ||
| VertOutLit & | lit_out, | ||
| float(&) | clip_distance[6] ) |
Definition at line 61 of file gpu_shader_simple.bsl.hh.
References clip_distance, condition, dot(), in, normalize, out, position, resource_table, simple_vert(), static_branch, and vertex.
Referenced by simple_vert().