Blender V5.3
workbench::volume::Resources Struct Reference

#include <workbench_volume.bsl.hh>

Public Member Functions

float4 sample_volume_texture (sampler3D ima, float3 co)

Public Attributes

Constants consts
const sampler2DDepth depth_buffer
const sampler3D density_tx
const usampler2D stencil_tx
const int samples_len
const float noise_ofs
const float step_length
const float density_fac
const bool do_depth_test
const int slice_axis
const float slice_position
Volume volume
Smoke smoke
ColorBand color_band
ColorUniform color_uniform

Detailed Description

Definition at line 111 of file workbench_volume.bsl.hh.

Member Function Documentation

◆ sample_volume_texture()

float4 workbench::volume::Resources::sample_volume_texture ( sampler3D ima,
float3 co )
inline

Member Data Documentation

◆ color_band

ColorBand workbench::volume::Resources::color_band

Definition at line 130 of file workbench_volume.bsl.hh.

◆ color_uniform

ColorUniform workbench::volume::Resources::color_uniform

Definition at line 131 of file workbench_volume.bsl.hh.

◆ consts

Constants workbench::volume::Resources::consts

Definition at line 112 of file workbench_volume.bsl.hh.

Referenced by sample_volume_texture().

◆ density_fac

const float workbench::volume::Resources::density_fac

Definition at line 121 of file workbench_volume.bsl.hh.

◆ density_tx

const sampler3D workbench::volume::Resources::density_tx

Definition at line 115 of file workbench_volume.bsl.hh.

◆ depth_buffer

const sampler2DDepth workbench::volume::Resources::depth_buffer

Definition at line 114 of file workbench_volume.bsl.hh.

◆ do_depth_test

const bool workbench::volume::Resources::do_depth_test

Definition at line 122 of file workbench_volume.bsl.hh.

◆ noise_ofs

const float workbench::volume::Resources::noise_ofs

Definition at line 119 of file workbench_volume.bsl.hh.

◆ samples_len

const int workbench::volume::Resources::samples_len

Definition at line 118 of file workbench_volume.bsl.hh.

◆ slice_axis

const int workbench::volume::Resources::slice_axis

Definition at line 124 of file workbench_volume.bsl.hh.

◆ slice_position

const float workbench::volume::Resources::slice_position

Definition at line 125 of file workbench_volume.bsl.hh.

◆ smoke

Smoke workbench::volume::Resources::smoke

Definition at line 128 of file workbench_volume.bsl.hh.

◆ stencil_tx

const usampler2D workbench::volume::Resources::stencil_tx

Definition at line 116 of file workbench_volume.bsl.hh.

◆ step_length

const float workbench::volume::Resources::step_length

Definition at line 120 of file workbench_volume.bsl.hh.

◆ volume

Volume workbench::volume::Resources::volume

Definition at line 127 of file workbench_volume.bsl.hh.


The documentation for this struct was generated from the following file: