Blender
V5.3
source
blender
gpu
shaders
material
gpu_shader_material_particle_info.bsl.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2019-2022 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
particle_info
(
float
&
index
,
11
float
&
random
,
12
float
&age,
13
float
&life_time,
14
float3
&location,
15
float
&size,
16
float3
&velocity,
17
float3
&angular_velocity)
18
{
19
/* Unsupported for now. */
20
index
= 0.0f;
21
random
= 0.0f;
22
age = 0.0f;
23
life_time = 0.0f;
24
size = 0.0f;
25
26
location =
float3
(0.0f);
27
velocity =
float3
(0.0f);
28
angular_velocity =
float3
(0.0f);
29
}
gpu_shader_compat.hh
index
#define index(i)
Definition
gpu_shader_cxx_attribute.hh:103
node
#define node
Definition
gpu_shader_cxx_attribute.hh:142
particle_info
void particle_info(float &index, float &random, float &age, float &life_time, float3 &location, float &size, float3 &velocity, float3 &angular_velocity)
Definition
gpu_shader_material_particle_info.bsl.hh:10
random
Definition
eevee_sampling_lib.bsl.hh:85
float3
Definition
sky_math.h:135
Generated on
for Blender by
doxygen
1.18.0