Blender
V5.3
source
blender
gpu
shaders
material
gpu_shader_material_separate_xyz.bsl.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2019 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
gpu_shader_compat.hh
"
8
9
[[
node
]]
10
void
separate_xyz
(
float3
vec,
float
&
x
,
float
&
y
,
float
&
z
)
11
{
12
x
= vec.r;
13
y
= vec.g;
14
z
= vec.b;
15
}
z
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
Definition
btQuadWord.h:117
y
y
Definition
compositor_morphological_blur_infos.hh:32
gpu_shader_compat.hh
node
#define node
Definition
gpu_shader_cxx_attribute.hh:142
separate_xyz
void separate_xyz(float3 vec, float &x, float &y, float &z)
Definition
gpu_shader_material_separate_xyz.bsl.hh:10
x
uint x
Definition
kernel/device/gpu/kernel.h:142
float3
Definition
sky_math.h:135
Generated on
for Blender by
doxygen
1.18.0