Blender V4.3
overlay_grid_info.hh File Reference

Go to the source code of this file.

Functions

GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type do_static_compilation (true) .typedef_source("overlay_shader_shared.h") .vertex_in(0
 
GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos vertex_out (overlay_grid_iface) .fragment_out(0
 
GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos out_color sampler (0, ImageType::DEPTH_2D, "depth_tx") .uniform_buf(3
 
GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos out_color grid_buf push_constant(Type::VEC3, "plane_axes") .push_constant(Type pos sampler(0, ImageType::DEPTH_2D, "depthBuffer") .push_constant(Type pos push_constant (Type::VEC4, "ucolor") .fragment_out(0
 
GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos out_color grid_buf push_constant(Type::VEC3, "plane_axes") .push_constant(Type pos sampler(0, ImageType::DEPTH_2D, "depthBuffer") .push_constant(Type pos fragColor vertex_source ("overlay_edit_uv_tiled_image_borders_vert.glsl") .fragment_source("overlay_uniform_color_frag.glsl") .additional_info("draw_modelmat")
 

Variables

GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos out_color OVERLAY_GridData
 

Function Documentation

◆ do_static_compilation()

GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(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.

◆ push_constant()

GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos out_color grid_buf push_constant(Type::VEC3, "plane_axes") .push_constant(Type pos sampler(0, ImageType::DEPTH_2D, "depthBuffer") .push_constant(Type pos push_constant ( Type::VEC4 ,
"ucolor"  )

◆ sampler()

GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos out_color sampler ( 0 ,
ImageType::DEPTH_2D ,
"depth_tx"  )

◆ vertex_out()

GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos vertex_out ( overlay_grid_iface )

◆ vertex_source()

GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos out_color grid_buf push_constant(Type::VEC3, "plane_axes") .push_constant(Type pos sampler(0, ImageType::DEPTH_2D, "depthBuffer") .push_constant(Type pos fragColor vertex_source ( "overlay_edit_uv_tiled_image_borders_vert.glsl" )

Variable Documentation

◆ OVERLAY_GridData

GPU_SHADER_INTERFACE_INFO(overlay_grid_iface, "").smooth(Type pos out_color OVERLAY_GridData

Definition at line 17 of file overlay_grid_info.hh.