Blender V5.3
sequencer::strip Namespace Reference

Classes

struct  Resources
struct  VertOut

Functions

float3 color_shade (float3 rgb, float shade)
float4 blend_color (float4 cur, float4 color)
void main_vert (const int vert_id, const int inst_id, Resources &srt, VertOut &v_out, float4 &out_pos)
void main_frag (const Resources &srt, const float4 frag_co, const VertOut &v_out, FragOut &frag_out)

Function Documentation

◆ blend_color()

float4 sequencer::strip::blend_color ( float4 cur,
float4 color )

◆ color_shade()

float3 sequencer::strip::color_shade ( float3 rgb,
float shade )

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

References clamp(), and color_shade().

Referenced by color_shade(), and main_frag().

◆ main_frag()

◆ main_vert()

void sequencer::strip::main_vert ( const int vert_id,
const int inst_id,
Resources & srt,
VertOut & v_out,
float4 & out_pos )

Definition at line 94 of file gpu_shader_sequencer_widget.bsl.hh.

References instance_id, main_vert(), out, position, resource_table, vertex, and vertex_id.

Referenced by main_vert().