Blender
V5.3
source
blender
draw
engines
eevee
shaders
eevee_geom_types_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
7
#include "
draw_shader_shared.hh
"
8
#include "
gpu_shader_compat.hh
"
9
10
struct
MeshVertex
{
11
float3
lP
;
12
/* Needed for tangent transformation. */
13
float3x3
world_to_object
;
14
/* TODO(fclem): Add explicit attribute loading for mesh through vertex fetch. */
15
16
/* Default derived from local position. */
17
float3
orco_default
;
18
};
19
20
struct
PointCloudPoint
{
21
float3
lP
;
22
int
point_id
;
23
/* Default derived from local position. */
24
float3
orco_default
;
25
};
26
27
struct
CurvesPoint
{
28
int
curve_id
;
29
int
point_id
;
30
int
curve_segment
;
31
/* One bit per attribute (up to 16). */
32
uint
is_point_attribute
;
33
/* Default derived from local position. */
34
float3
orco_default
;
35
};
36
37
struct
WorldPoint
{
38
float3
lP
;
39
};
40
41
struct
VolumePoint
{
42
float3
lP
;
43
/* Default derived from local position. */
44
float3
orco_default
;
45
46
float3
grid_co
[DRW_GRID_PER_VOLUME_MAX];
47
};
draw_shader_shared.hh
gpu_shader_compat.hh
blender::float3
VecBase< float, 3 > float3
Definition
BLI_math_vector_types.hh:799
CurvesPoint
Definition
eevee_geom_types_lib.bsl.hh:27
CurvesPoint::is_point_attribute
uint is_point_attribute
Definition
eevee_geom_types_lib.bsl.hh:32
CurvesPoint::curve_id
int curve_id
Definition
eevee_geom_types_lib.bsl.hh:28
CurvesPoint::point_id
int point_id
Definition
eevee_geom_types_lib.bsl.hh:29
CurvesPoint::curve_segment
int curve_segment
Definition
eevee_geom_types_lib.bsl.hh:30
CurvesPoint::orco_default
float3 orco_default
Definition
eevee_geom_types_lib.bsl.hh:34
MeshVertex
Definition
eevee_geom_types_lib.bsl.hh:10
MeshVertex::world_to_object
float3x3 world_to_object
Definition
eevee_geom_types_lib.bsl.hh:13
MeshVertex::lP
float3 lP
Definition
eevee_geom_types_lib.bsl.hh:11
MeshVertex::orco_default
float3 orco_default
Definition
eevee_geom_types_lib.bsl.hh:17
PointCloudPoint
Definition
eevee_geom_types_lib.bsl.hh:20
PointCloudPoint::orco_default
float3 orco_default
Definition
eevee_geom_types_lib.bsl.hh:24
PointCloudPoint::lP
float3 lP
Definition
eevee_geom_types_lib.bsl.hh:21
PointCloudPoint::point_id
int point_id
Definition
eevee_geom_types_lib.bsl.hh:22
VolumePoint
Definition
eevee_geom_types_lib.bsl.hh:41
VolumePoint::lP
float3 lP
Definition
eevee_geom_types_lib.bsl.hh:42
VolumePoint::orco_default
float3 orco_default
Definition
eevee_geom_types_lib.bsl.hh:44
VolumePoint::grid_co
float3 grid_co[DRW_GRID_PER_VOLUME_MAX]
Definition
eevee_geom_types_lib.bsl.hh:46
WorldPoint
Definition
eevee_geom_types_lib.bsl.hh:37
WorldPoint::lP
float3 lP
Definition
eevee_geom_types_lib.bsl.hh:38
float3x3
Definition
types_float3x3.h:21
Generated on
for Blender by
doxygen
1.18.0