Blender V5.3
draw_sculpt.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "BLI_enum_flags.hh"
13#include "BLI_vector.hh"
14
15namespace blender {
16
17struct GPUMaterial;
18struct Object;
19namespace gpu {
20class Batch;
21}
22
23namespace draw {
24
26 gpu::Batch *batch;
30};
31
41
44
48
49} // namespace draw
50} // namespace blender
ENUM_OPERATORS(DRWBatchFlag)
Vector< SculptBatch > sculpt_batches_get(const Object *ob, SculptBatchFeature features)
@ SCULPT_BATCH_VERTEX_COLOR
Vector< SculptBatch > sculpt_batches_per_material_get(const Object *ob, Span< const GPUMaterial * > materials)
BMesh Iterators.
VecBase< float, 3 > float3