Blender V5.3
builtin::polyline::Resources Struct Reference

#include <gpu_shader_polyline.bsl.hh>

Public Member Functions

VertIn pull_vertex_data (uint in_vertex_id) const
VertOut vertex_main (VertIn vert_in) const
float4 clip_line_point_homogeneous_space (float4 p, float4 q) const
void strip_emit_vertex (GeomOut &selected_vert, const uint strip_index, uint out_vertex_id, uint out_primitive_id, GeomOut geom_out) const
void do_line_vertex (GeomOut &selected_vert, const uint i, uint out_vertex_id, uint out_primitive_id, VertOut geom_in[2], float4 position, float2 ofs) const
void geometry_main (GeomOut &selected_vert, VertOut geom_in[2], uint out_vertex_id, uint out_primitive_id, uint) const

Public Attributes

Constants consts
float4x4 ModelViewProjectionMatrix
float2 viewportSize
float lineWidth
bool lineSmooth
float4x4 ModelMatrix
float4 ClipPlane
const int3 gpu_vert_stride_count_offset
const float(& pos )[]
const int2 gpu_attr_0
const int gpu_attr_0_len
const bool gpu_attr_0_fetch_int
const float(& color )[]
const int2 gpu_attr_1
const int gpu_attr_1_len
const bool gpu_attr_1_fetch_unorm8
UniformColor uniform_col
IndexLoad index_load

Detailed Description

Definition at line 45 of file gpu_shader_polyline.bsl.hh.

Member Function Documentation

◆ clip_line_point_homogeneous_space()

float4 builtin::polyline::Resources::clip_line_point_homogeneous_space ( float4 p,
float4 q ) const
inline

Definition at line 128 of file gpu_shader_polyline.bsl.hh.

References A, float4::w, and float4::z.

Referenced by geometry_main().

◆ do_line_vertex()

◆ geometry_main()

void builtin::polyline::Resources::geometry_main ( GeomOut & selected_vert,
VertOut geom_in[2],
uint out_vertex_id,
uint out_primitive_id,
uint  ) const
inline

◆ pull_vertex_data()

◆ strip_emit_vertex()

void builtin::polyline::Resources::strip_emit_vertex ( GeomOut & selected_vert,
const uint strip_index,
uint out_vertex_id,
uint out_primitive_id,
GeomOut geom_out ) const
inline

Definition at line 143 of file gpu_shader_polyline.bsl.hh.

Referenced by do_line_vertex().

◆ vertex_main()

Member Data Documentation

◆ ClipPlane

float4 builtin::polyline::Resources::ClipPlane

Definition at line 54 of file gpu_shader_polyline.bsl.hh.

Referenced by vertex_main().

◆ color

const float(& builtin::polyline::Resources::color)[]

Definition at line 66 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ consts

Constants builtin::polyline::Resources::consts

Definition at line 46 of file gpu_shader_polyline.bsl.hh.

Referenced by do_line_vertex(), and pull_vertex_data().

◆ gpu_attr_0

const int2 builtin::polyline::Resources::gpu_attr_0

Definition at line 59 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ gpu_attr_0_fetch_int

const bool builtin::polyline::Resources::gpu_attr_0_fetch_int

Definition at line 63 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ gpu_attr_0_len

const int builtin::polyline::Resources::gpu_attr_0_len

Definition at line 61 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ gpu_attr_1

const int2 builtin::polyline::Resources::gpu_attr_1

Definition at line 67 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ gpu_attr_1_fetch_unorm8

const bool builtin::polyline::Resources::gpu_attr_1_fetch_unorm8

Definition at line 69 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ gpu_attr_1_len

const int builtin::polyline::Resources::gpu_attr_1_len

Definition at line 68 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ gpu_vert_stride_count_offset

const int3 builtin::polyline::Resources::gpu_vert_stride_count_offset

Definition at line 56 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ index_load

IndexLoad builtin::polyline::Resources::index_load

Definition at line 73 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ lineSmooth

bool builtin::polyline::Resources::lineSmooth

Definition at line 51 of file gpu_shader_polyline.bsl.hh.

Referenced by do_line_vertex(), and geometry_main().

◆ lineWidth

float builtin::polyline::Resources::lineWidth

Definition at line 50 of file gpu_shader_polyline.bsl.hh.

Referenced by do_line_vertex(), and geometry_main().

◆ ModelMatrix

float4x4 builtin::polyline::Resources::ModelMatrix

Definition at line 53 of file gpu_shader_polyline.bsl.hh.

Referenced by vertex_main().

◆ ModelViewProjectionMatrix

float4x4 builtin::polyline::Resources::ModelViewProjectionMatrix

Definition at line 48 of file gpu_shader_polyline.bsl.hh.

Referenced by vertex_main().

◆ pos

const float(& builtin::polyline::Resources::pos)[]

Definition at line 58 of file gpu_shader_polyline.bsl.hh.

Referenced by pull_vertex_data().

◆ uniform_col

UniformColor builtin::polyline::Resources::uniform_col

Definition at line 71 of file gpu_shader_polyline.bsl.hh.

Referenced by do_line_vertex().

◆ viewportSize

float2 builtin::polyline::Resources::viewportSize

Definition at line 49 of file gpu_shader_polyline.bsl.hh.

Referenced by geometry_main().


The documentation for this struct was generated from the following file: