Blender
V5.3
source
blender
gpu
shaders
material
gpu_shader_material_output_aov.bsl.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2020-2022 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
gpu_shader_material_interface.bsl.hh
"
8
9
[[
node
]]
10
void
node_output_aov
(
float4
color,
11
float
value,
12
float
hash
,
13
[[
resource_table
]]
KernelGlobals
&kg,
14
const
ShadingData
&sd,
15
Closure
&
/*dummy*/
)
16
{
17
output_aov
(kg,
18
int2
(sd.
frag_co
.xy),
19
color,
20
value,
21
floatBitsToUint
(
hash
),
22
sd.
holdout
,
/* TODO(fclem): This is not supposed to be read. */
23
kg.object_infos_get(sd).flag);
24
}
Closure
#define Closure
Definition
eevee_nodetree_closures_lib.bsl.hh:10
output_aov
void output_aov(KernelGlobals &kg, int2 texel, float4 color, float value, uint hash, float holdout, eObjectInfoFlag ob_flag)
Definition
eevee_nodetree_lib.bsl.hh:1341
resource_table
#define resource_table
Definition
gpu_shader_cxx_attribute.hh:128
node
#define node
Definition
gpu_shader_cxx_attribute.hh:142
floatBitsToUint
VecBase< uint, D > floatBitsToUint(VecOp< float, D >) RET
gpu_shader_material_interface.bsl.hh
node_output_aov
void node_output_aov(float4 color, float value, float hash, KernelGlobals &kg, const ShadingData &sd, Closure &)
Definition
gpu_shader_material_output_aov.bsl.hh:10
hash
#define hash
Definition
noise_c.cc:156
KernelGlobals
Definition
eevee_nodetree_lib.bsl.hh:141
ShadingData
Definition
eevee_nodetree_lib.bsl.hh:56
ShadingData::frag_co
float4 frag_co
Definition
eevee_nodetree_lib.bsl.hh:58
ShadingData::holdout
float holdout
Definition
eevee_nodetree_lib.bsl.hh:93
float4
Definition
sky_math.h:224
int2
Definition
int_vector_types.h:8
Generated on
for Blender by
doxygen
1.18.0