Blender V4.3
overlay_viewer_attribute_info.hh File Reference

Go to the source code of this file.

Functions

GPU_SHADER_INTERFACE_INFO(overlay_viewer_attribute_iface, "").smooth(Type GPU_SHADER_CREATE_INFO(overlay_viewer_attribute_common).push_constant(Type do_static_compilation (true) .vertex_source("overlay_viewer_attribute_mesh_vert.glsl") .fragment_source("overlay_viewer_attribute_frag.glsl") .fragment_out(0
 
GPU_SHADER_INTERFACE_INFO(overlay_viewer_attribute_iface, "").smooth(Type GPU_SHADER_CREATE_INFO(overlay_viewer_attribute_common).push_constant(Type out_color fragment_out (1, Type::VEC4, "lineOutput") .vertex_in(0
 
GPU_SHADER_INTERFACE_INFO(overlay_viewer_attribute_iface, "").smooth(Type GPU_SHADER_CREATE_INFO(overlay_viewer_attribute_common).push_constant(Type out_color pos vertex_in (1, Type::VEC4, "attribute_value") .vertex_out(overlay_viewer_attribute_iface) .additional_info("overlay_viewer_attribute_common"
 
out_color attribute_tx vertex_out (overlay_viewer_attribute_iface) .additional_info("overlay_viewer_attribute_common"
 
out_color color_tx push_constant (Type::BOOL, "is_point_domain") .vertex_out(overlay_viewer_attribute_iface) .additional_info("overlay_viewer_attribute_common"
 

Variables

GPU_SHADER_INTERFACE_INFO(overlay_viewer_attribute_iface, "").smooth(Type GPU_SHADER_CREATE_INFO(overlay_viewer_attribute_common).push_constant(Type out_color pos draw_mesh
 
 drw_clipped
 
out_color attribute_tx draw_pointcloud
 
out_color pos draw_modelmat
 
out_color pos draw_resource_id
 
out_color color_tx draw_hair
 

Function Documentation

◆ do_static_compilation()

GPU_SHADER_INTERFACE_INFO(overlay_viewer_attribute_iface, "").smooth(Type GPU_SHADER_CREATE_INFO(overlay_viewer_attribute_common).push_constant(Type do_static_compilation ( true )

Colors, weights, and Circle of confusion radii for the 4 pixels to scatter. Scaling factor for the bokeh distance. Sprite pixel position with origin at sprite center. In pixels.

◆ fragment_out()

GPU_SHADER_INTERFACE_INFO(overlay_viewer_attribute_iface, "").smooth(Type GPU_SHADER_CREATE_INFO(overlay_viewer_attribute_common).push_constant(Type out_color fragment_out ( 1 ,
Type::VEC4 ,
"lineOutput"  )

◆ push_constant()

out_color color_tx push_constant ( Type::BOOL ,
"is_point_domain"  )

◆ vertex_in()

out_color pos vertex_in ( 1 ,
Type::VEC4 ,
"attribute_value"  )

◆ vertex_out()

out_color attribute_tx vertex_out ( overlay_viewer_attribute_iface )

Variable Documentation

◆ draw_hair

out_color color_tx draw_hair

Definition at line 64 of file overlay_viewer_attribute_info.hh.

◆ draw_mesh

GPU_SHADER_INTERFACE_INFO(overlay_viewer_attribute_iface, "").smooth(Type GPU_SHADER_CREATE_INFO(overlay_viewer_attribute_common).push_constant(Type out_color pos draw_mesh

Definition at line 20 of file overlay_viewer_attribute_info.hh.

◆ draw_modelmat

out_color pos draw_modelmat

Definition at line 49 of file overlay_viewer_attribute_info.hh.

◆ draw_pointcloud

out_color attribute_tx draw_pointcloud

Definition at line 34 of file overlay_viewer_attribute_info.hh.

◆ draw_resource_id

out_color pos draw_resource_id

Definition at line 49 of file overlay_viewer_attribute_info.hh.

◆ drw_clipped

drw_clipped

Definition at line 24 of file overlay_viewer_attribute_info.hh.