Files
test/source/blender/draw/intern/draw_pointcloud_private.hh

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