Blender V5.0
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
12#include "BLI_vector.hh"
13
14struct GPUMaterial;
15struct Object;
16namespace blender::gpu {
17class Batch;
18}
19
20namespace blender::draw {
21
22#define SCULPT_DEBUG_DRAW (G.debug_value == 889)
23
25 gpu::Batch *batch;
29};
30
40
43
47
48} // namespace blender::draw
#define ENUM_OPERATORS(_type, _max)
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)
VecBase< float, 3 > float3