Blender V5.3
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
8
9[[node]]
11 float value,
12 float hash,
14 const ShadingData &sd,
15 Closure & /*dummy*/)
16{
17 output_aov(kg,
18 int2(sd.frag_co.xy),
19 color,
20 value,
22 sd.holdout, /* TODO(fclem): This is not supposed to be read. */
23 kg.object_infos_get(sd).flag);
24}
void output_aov(KernelGlobals &kg, int2 texel, float4 color, float value, uint hash, float holdout, eObjectInfoFlag ob_flag)
#define resource_table
VecBase< uint, D > floatBitsToUint(VecOp< float, D >) RET
void node_output_aov(float4 color, float value, float hash, KernelGlobals &kg, const ShadingData &sd, Closure &)
#define hash
Definition noise_c.cc:156