|
Blender V4.3
|
#include <BKE_grease_pencil.hh>
Public Member Functions | |
| GreasePencilRuntime () | |
| ~GreasePencilRuntime () | |
Public Attributes | |
| void * | batch_cache = nullptr |
| int | eval_frame = 0 |
| bool | is_drawing_stroke = false |
| bool | temp_use_eraser = false |
| float | temp_eraser_size = 0.0f |
| std::unique_ptr< bake::BakeMaterialsList > | bake_materials |
Definition at line 887 of file BKE_grease_pencil.hh.
|
default |
|
default |
| std::unique_ptr<bake::BakeMaterialsList> blender::bke::GreasePencilRuntime::bake_materials |
Definition at line 908 of file BKE_grease_pencil.hh.
| void* blender::bke::GreasePencilRuntime::batch_cache = nullptr |
Allocated and freed by the drawing code. See DRW_grease_pencil_batch_cache_* functions.
Definition at line 892 of file BKE_grease_pencil.hh.
| int blender::bke::GreasePencilRuntime::eval_frame = 0 |
The frame on which the object was evaluated (only valid for evaluated object).
Definition at line 896 of file BKE_grease_pencil.hh.
| bool blender::bke::GreasePencilRuntime::is_drawing_stroke = false |
Set to true while drawing a stroke (e.g. with the draw tool). Used for example to temporarily hide the paint cursor in the viewport.
Definition at line 901 of file BKE_grease_pencil.hh.
| float blender::bke::GreasePencilRuntime::temp_eraser_size = 0.0f |
Definition at line 906 of file BKE_grease_pencil.hh.
| bool blender::bke::GreasePencilRuntime::temp_use_eraser = false |
Temporarily enable the eraser. Used by the draw tool.
Definition at line 905 of file BKE_grease_pencil.hh.