Blender V4.3
select_id_info.hh File Reference

Go to the source code of this file.

Functions

 additional_info ("draw_fullscreen") .fragment_source("select_debug_frag.glsl") .sampler(0
 
image fragment_out (0, Type::VEC4, "fragColor") .do_static_compilation(true)
 

Select ID for Edit Mesh Selection

 SelectInfoData
 
select_info_buf uint
 
select_info_buf out_select_buf []
 
GPU_SHADER_INTERFACE_INFO(select_id_iface, "").flat(Type push_constant(Type::FLOAT, "sizeVertex") .push_constant(Type define("UNIFORM_ID") .push_constant(Type additional_info ("select_id_flat") .additional_info("drw_clipped") .do_static_compilation(true)
 
 additional_info ("select_id_uniform") .additional_info("drw_clipped") .do_static_compilation(true)
 
 typedef_source ("select_shader_shared.hh") .vertex_out(select_id_iface) .early_fragment_test(true) .uniform_buf(SELECT_DATA
 
select_info_buf storage_buf (SELECT_ID_IN, Qualifier::READ, "int", "in_select_buf[]") .storage_buf(SELECT_ID_OUT
 

Function Documentation

◆ additional_info() [1/3]

additional_info ( "draw_fullscreen" )

◆ additional_info() [2/3]

GPU_SHADER_INTERFACE_INFO(select_id_iface, "").flat(Type push_constant(Type::FLOAT, "sizeVertex") .push_constant(Type define("UNIFORM_ID") .push_constant(Type additional_info ( "select_id_flat" )

◆ additional_info() [3/3]

additional_info ( "select_id_uniform" )

◆ fragment_out()

image fragment_out ( 0 ,
Type::VEC4 ,
"fragColor"  )

◆ storage_buf()

select_info_buf storage_buf ( SELECT_ID_IN ,
Qualifier::READ ,
"int" ,
"in_select_buf" [] )

◆ typedef_source()

typedef_source ( "select_shader_shared.hh" )

Variable Documentation

◆ out_select_buf

select_info_buf out_select_buf[]

Definition at line 59 of file select_id_info.hh.

◆ SelectInfoData

SelectInfoData

Definition at line 55 of file select_id_info.hh.

◆ uint

select_info_buf uint

Definition at line 59 of file select_id_info.hh.