Blender
V5.3
source
blender
draw
engines
eevee
shaders
eevee_hiz.bsl.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2022-2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
19
20
#pragma once
21
22
#include "
gpu_shader_compat.hh
"
23
24
namespace
eevee
{
25
26
/* CurrentLayerHiZ. */
27
struct
HiZ
{
28
[[
sampler
(
HIZ_TEX_SLOT
)]]
sampler2D
hiz_tx
;
29
};
30
31
struct
PreviousLayerHiZ
{
32
[[
sampler
(
HIZ_PREVIOUS_LAYER_TEX_SLOT
)]]
sampler2D
hiz_prev_tx
;
33
};
34
35
struct
PreviousLayerRadiance
{
36
[[
sampler
(
RADIANCE_PREVIOUS_LAYER_TEX_SLOT
)]]
sampler2D
previous_layer_radiance_tx
;
37
};
38
39
}
// namespace eevee
RADIANCE_PREVIOUS_LAYER_TEX_SLOT
#define RADIANCE_PREVIOUS_LAYER_TEX_SLOT
Definition
eevee_defines.hh:239
HIZ_PREVIOUS_LAYER_TEX_SLOT
#define HIZ_PREVIOUS_LAYER_TEX_SLOT
Definition
eevee_defines.hh:238
HIZ_TEX_SLOT
#define HIZ_TEX_SLOT
Definition
eevee_defines.hh:230
gpu_shader_compat.hh
sampler
#define sampler(slot)
Definition
gpu_shader_cxx_attribute.hh:115
sampler2D
SamplerBase< float, 2 > sampler2D
Definition
gpu_shader_cxx_sampler.hh:64
eevee
Definition
eevee_bxdf_lut.bsl.hh:20
eevee::HiZ
Definition
eevee_hiz.bsl.hh:27
eevee::HiZ::hiz_tx
sampler2D hiz_tx
Definition
eevee_hiz.bsl.hh:28
eevee::PreviousLayerHiZ
Definition
eevee_hiz.bsl.hh:31
eevee::PreviousLayerHiZ::hiz_prev_tx
sampler2D hiz_prev_tx
Definition
eevee_hiz.bsl.hh:32
eevee::PreviousLayerRadiance
Definition
eevee_hiz.bsl.hh:35
eevee::PreviousLayerRadiance::previous_layer_radiance_tx
sampler2D previous_layer_radiance_tx
Definition
eevee_hiz.bsl.hh:36
Generated on
for Blender by
doxygen
1.18.0