Blender V5.3
eevee_attributes_pointcloud_lib.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
5#pragma once
6
9
10/* -------------------------------------------------------------------- */
15
16float3 attr_load_orco(PointCloudPoint point, float4 /*orco*/, int /*index*/)
17{
18 /* NOTE: Doesn't support ORCO attribute. */
19 return point.orco_default;
20}
22{
24}
25float3 attr_load_uv(PointCloudPoint point, samplerBuffer cd_buf, int /*index*/)
26{
28}
30{
32}
34{
36}
38{
40}
42{
44}
45float attr_load_float(PointCloudPoint point, samplerBuffer cd_buf, int /*index*/)
46{
48}
49
float attr_load_float(CurvesPoint point, samplerBuffer cd_buf, int index)
float2 attr_load_float2(CurvesPoint point, samplerBuffer cd_buf, int index)
float3 attr_load_uv(CurvesPoint point, samplerBuffer cd_buf, int)
float4 attr_load_float4(CurvesPoint point, samplerBuffer cd_buf, int index)
float3 attr_load_float3(CurvesPoint point, samplerBuffer cd_buf, int index)
float3 attr_load_orco(CurvesPoint point, float4, int)
float4 attr_load_tangent(CurvesPoint, samplerBuffer, int)
float4 attr_load_color(CurvesPoint point, samplerBuffer cd_buf, int)
SamplerBase< float, 1 > samplerBuffer
float get_customdata_float(const int point_id, const samplerBuffer cd_buf)
float3 get_customdata_vec3(const int point_id, const samplerBuffer cd_buf)
float4 get_customdata_vec4(const int point_id, const samplerBuffer cd_buf)
float2 get_customdata_vec2(const int point_id, const samplerBuffer cd_buf)