57bke::VolumeGridData *fog_volume_grid_add_from_points(
Volume *volume,
69bool is_point_attribute_grid_supported(
const CPPType &cpp_type);
74struct PointDataGridAttributeInfo {
79using PointAttributeNameMap = Vector<std::pair<std::string, std::string>>;
81struct MappedPointDataGrid {
83 bke::GVolumeGrid grid;
87 PointAttributeNameMap attribute_map;
98MappedPointDataGrid points_to_point_data_grid(
const Span<float3> positions,
99 const Span<PointDataGridAttributeInfo> attributes,
111MappedPointDataGrid points_to_point_data_grid(
const VArray<float3> positions,
112 const bke::AttributeAccessor &attributes,
113 const bke::AttributeFilter &attribute_filter,
117struct PointRasterizeAttributeInfo {
137void points_rasterize(
const MappedPointDataGrid &point_data_grid,
139 Span<PointRasterizeAttributeInfo> point_attributes,
141 MutableSpan<bke::GVolumeGrid> r_attribute_grids);
const CPPType & points_rasterize_grid_type(const PointRasterizeType rasterize_type)
const CPPType & points_rasterize_attribute_type(const PointRasterizeType rasterize_type)
MatBase< float, 4, 4 > float4x4
BMesh const char void * data