Blender V5.3
workbench_volume.bsl.hh File Reference

Go to the source code of this file.

Classes

struct  workbench::volume::Smoke
struct  workbench::volume::Volume
struct  workbench::volume::ColorBand
struct  workbench::volume::ColorUniform
struct  workbench::volume::Constants
struct  workbench::volume::Resources
struct  workbench::volume::VertIn
struct  workbench::volume::ResourceIDOut
struct  workbench::volume::VertOut
struct  workbench::volume::FragOut

Namespaces

namespace  workbench
namespace  workbench::volume

Functions

float4 workbench::volume::sample_tricubic (sampler3D ima, float3 co)
float4 workbench::volume::sample_closest (sampler3D ima, float3 co)
float workbench::volume::phase_function_isotropic ()
float workbench::volume::line_unit_box_intersect_dist (float3 lineorigin, float3 linedirection)
float4 workbench::volume::flag_to_color (uint flag)
void workbench::volume::volume_properties (Resources &srt, float3 ls_pos, float3 &scattering, float &extinction)
void workbench::volume::eval_volume_step (float3 &Lscat, float extinction, float step_len, float &Tr)
float4 workbench::volume::volume_integration (Resources &srt, float4 frag_coord, float3 ray_ori, float3 ray_dir, float ray_inc, float ray_max, float step_len)
void workbench::volume::vertex_function (Resources &srt, draw::Resource &ids, draw::View &views, draw::Model &models, draw::Infos &infos, const int inst_index, const VertIn &v_in, ResourceIDOut &res_id_out, VertOut &v_out, float4 &out_position)
void workbench::volume::fragment_function (Resources &srt, draw::View &views, draw::Model &models, draw::Infos &infos, const float4 &frag_coord, const ResourceIDOut &res_id, const VertOut &v_out, FragOut &frag_out)

Variables

PipelineGraphic workbench::volume::smoke_closest_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=true,.is_legacy_smoke=true,.interpolation=0})
PipelineGraphic workbench::volume::smoke_closest_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=true,.is_legacy_smoke=true,.interpolation=0})
PipelineGraphic workbench::volume::smoke_linear_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=true,.is_legacy_smoke=true,.interpolation=1})
PipelineGraphic workbench::volume::smoke_linear_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=true,.is_legacy_smoke=true,.interpolation=1})
PipelineGraphic workbench::volume::smoke_cubic_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=true,.is_legacy_smoke=true,.interpolation=2})
PipelineGraphic workbench::volume::smoke_cubic_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=true,.is_legacy_smoke=true,.interpolation=2})
PipelineGraphic workbench::volume::smoke_closest_no_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=false,.is_legacy_smoke=true,.interpolation=0})
PipelineGraphic workbench::volume::smoke_closest_no_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=false,.is_legacy_smoke=true,.interpolation=0})
PipelineGraphic workbench::volume::smoke_linear_no_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=false,.is_legacy_smoke=true,.interpolation=1})
PipelineGraphic workbench::volume::smoke_linear_no_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=false,.is_legacy_smoke=true,.interpolation=1})
PipelineGraphic workbench::volume::smoke_cubic_no_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=false,.is_legacy_smoke=true,.interpolation=2})
PipelineGraphic workbench::volume::smoke_cubic_no_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=false,.is_legacy_smoke=true,.interpolation=2})
PipelineGraphic workbench::volume::object_closest_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=true,.is_legacy_smoke=false,.interpolation=0})
PipelineGraphic workbench::volume::object_closest_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=true,.is_legacy_smoke=false,.interpolation=0})
PipelineGraphic workbench::volume::object_linear_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=true,.is_legacy_smoke=false,.interpolation=1})
PipelineGraphic workbench::volume::object_linear_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=true,.is_legacy_smoke=false,.interpolation=1})
PipelineGraphic workbench::volume::object_cubic_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=true,.is_legacy_smoke=false,.interpolation=2})
PipelineGraphic workbench::volume::object_cubic_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=true,.is_legacy_smoke=false,.interpolation=2})
PipelineGraphic workbench::volume::object_closest_no_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=false,.is_legacy_smoke=false,.interpolation=0})
PipelineGraphic workbench::volume::object_closest_no_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=false,.is_legacy_smoke=false,.interpolation=0})
PipelineGraphic workbench::volume::object_linear_no_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=false,.is_legacy_smoke=false,.interpolation=1})
PipelineGraphic workbench::volume::object_linear_no_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=false,.is_legacy_smoke=false,.interpolation=1})
PipelineGraphic workbench::volume::object_cubic_no_coba_slice (vertex_function, fragment_function, Constants{.use_slice=true,.use_color_band=false,.is_legacy_smoke=false,.interpolation=2})
PipelineGraphic workbench::volume::object_cubic_no_coba_no_slice (vertex_function, fragment_function, Constants{.use_slice=false,.use_color_band=false,.is_legacy_smoke=false,.interpolation=2})