Blender V4.3
overlay_outline_info.hh File Reference

Go to the source code of this file.

Outline Pre-pass

pos draw_resource_handle
 
 drw_clipped
 
 draw_object_infos
 
 draw_mesh
 
draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn draw_view
 
draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn draw_mesh_new
 
draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn draw_object_infos_new
 
draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn draw_resource_handle_new
 
GPU_SHADER_INTERFACE_INFO(overlay_outline_prepass_iface, "interp").flat(Type push_constant (Type::BOOL, "isTransform") .vertex_out(overlay_outline_prepass_iface) .fragment_out(0
 
GPU_SHADER_INTERFACE_INFO(overlay_outline_prepass_iface, "interp").flat(Type out_object_id fragment_source ("overlay_outline_prepass_frag.glsl") .additional_info("draw_globals")
 
 do_static_compilation (true) .vertex_in(0
 
pos vertex_source ("overlay_outline_prepass_vert.glsl") .additional_info("draw_mesh"
 
pos overlay_outline_prepass additional_info ("draw_object_infos")
 
draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn gpu_index_load storage_buf(0, Qualifier::READ, "float", "pos[]", Frequency::GEOMETRY) .push_constant(Type metal_backend_only (true) .do_static_compilation(true) .vertex_in(0
 
draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn gpu_index_load storage_buf(0, Qualifier::READ, "float", "pos[]", Frequency::GEOMETRY) .push_constant(Type pos additional_info ("overlay_outline_prepass", "draw_object_infos", "draw_mesh", "draw_resource_handle") .vertex_source("overlay_outline_prepass_vert_no_geom.glsl")
 

Function Documentation

◆ additional_info() [1/2]

overlay_outline_prepass additional_info ( "draw_object_infos" )

◆ additional_info() [2/2]

draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn gpu_index_load storage_buf(0, Qualifier::READ, "float", "pos[]", Frequency::GEOMETRY) .push_constant(Type pos additional_info ( "overlay_outline_prepass" ,
"draw_object_infos" ,
"draw_mesh" ,
"draw_resource_handle"  )

◆ do_static_compilation()

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_source()

GPU_SHADER_INTERFACE_INFO(overlay_outline_prepass_iface, "interp").flat(Type out_object_id fragment_source ( "overlay_outline_prepass_frag.glsl" )

◆ metal_backend_only()

draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn gpu_index_load storage_buf(0, Qualifier::READ, "float", "pos[]", Frequency::GEOMETRY) .push_constant(Type metal_backend_only ( true )

◆ push_constant()

GPU_SHADER_INTERFACE_INFO(overlay_outline_prepass_iface, "interp").flat(Type push_constant ( Type::BOOL ,
"isTransform"  )

◆ vertex_source()

pos vertex_source ( "overlay_outline_prepass_vert.glsl" )

Variable Documentation

◆ draw_mesh

draw_mesh

Definition at line 48 of file overlay_outline_info.hh.

◆ draw_mesh_new

draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn draw_mesh_new

Definition at line 62 of file overlay_outline_info.hh.

◆ draw_object_infos

draw_object_infos

Definition at line 47 of file overlay_outline_info.hh.

◆ draw_object_infos_new

draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn draw_object_infos_new

Definition at line 63 of file overlay_outline_info.hh.

◆ draw_resource_handle

draw_resource_handle

Definition at line 25 of file overlay_outline_info.hh.

◆ draw_resource_handle_new

draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn draw_resource_handle_new

Definition at line 64 of file overlay_outline_info.hh.

◆ draw_view

draw_resource_handle vertex_in(0, Type::VEC3, "pos") .define("USE_GEOM") .vertex_out(overlay_outline_prepass_wire_iface) .geometry_layout(PrimitiveIn draw_view

Definition at line 61 of file overlay_outline_info.hh.

◆ drw_clipped

drw_clipped

Definition at line 30 of file overlay_outline_info.hh.