Similar to fe76d8c946
Pull Request: https://projects.blender.org/blender/blender/pulls/119898
27 lines
656 B
C++
27 lines
656 B
C++
/* SPDX-FileCopyrightText: 2021 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup draw
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
struct PointCloud;
|
|
namespace blender::gpu {
|
|
class Batch;
|
|
class VertBuf;
|
|
} // namespace blender::gpu
|
|
struct GPUMaterial;
|
|
|
|
namespace blender::draw {
|
|
|
|
gpu::VertBuf *pointcloud_position_and_radius_get(PointCloud *pointcloud);
|
|
gpu::Batch **pointcloud_surface_shaded_get(PointCloud *pointcloud,
|
|
GPUMaterial **gpu_materials,
|
|
int mat_len);
|
|
gpu::Batch *pointcloud_surface_get(PointCloud *pointcloud);
|
|
|
|
} // namespace blender::draw
|