2017-02-07 11:20:15 +01:00
|
|
|
/*
|
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
*
|
2019-01-23 11:29:18 +11:00
|
|
|
* Copyright 2016, Blender Foundation.
|
2017-02-07 11:20:15 +01:00
|
|
|
*/
|
|
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup draw
|
2017-02-07 11:20:15 +01:00
|
|
|
*/
|
|
|
|
|
|
2020-08-07 09:50:34 +02:00
|
|
|
#pragma once
|
2017-02-07 11:20:15 +01:00
|
|
|
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch;
|
2017-06-28 13:38:24 +10:00
|
|
|
struct GPUMaterial;
|
2017-06-22 19:19:55 +02:00
|
|
|
struct ModifierData;
|
2018-05-09 11:14:27 +02:00
|
|
|
struct Object;
|
|
|
|
|
struct PTCacheEdit;
|
2019-08-20 10:11:53 +10:00
|
|
|
struct ParticleSystem;
|
2020-03-17 16:27:08 +01:00
|
|
|
struct Volume;
|
|
|
|
|
struct VolumeGrid;
|
2020-03-09 16:27:24 +01:00
|
|
|
struct bGPDstroke;
|
2017-02-07 11:20:15 +01:00
|
|
|
|
|
|
|
|
void DRW_shape_cache_free(void);
|
|
|
|
|
|
2018-03-27 23:50:26 +02:00
|
|
|
/* 3D cursor */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_cursor_get(bool crosshair_lines);
|
2018-03-27 23:50:26 +02:00
|
|
|
|
2017-02-07 11:20:15 +01:00
|
|
|
/* Common Shapes */
|
2019-12-02 01:40:58 +01:00
|
|
|
struct GPUBatch *DRW_cache_groundline_get(void);
|
2018-08-23 13:35:10 +02:00
|
|
|
struct GPUBatch *DRW_cache_grid_get(void);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_fullscreen_quad_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_quad_get(void);
|
2019-03-06 12:39:07 -03:00
|
|
|
struct GPUBatch *DRW_cache_quad_wires_get(void);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_cube_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_sphere_get(void);
|
2019-12-02 01:40:58 +01:00
|
|
|
struct GPUBatch *DRW_cache_normal_arrow_get(void);
|
2017-02-07 11:20:15 +01:00
|
|
|
|
2020-03-09 16:27:24 +01:00
|
|
|
/* Dummy VBOs */
|
|
|
|
|
struct GPUBatch *DRW_gpencil_dummy_buffer_get(void);
|
|
|
|
|
|
2017-04-21 02:18:14 +10:00
|
|
|
/* Common Object */
|
2018-12-18 17:10:38 +01:00
|
|
|
struct GPUBatch *DRW_cache_object_all_edges_get(struct Object *ob);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_object_edge_detection_get(struct Object *ob, bool *r_is_manifold);
|
|
|
|
|
struct GPUBatch *DRW_cache_object_surface_get(struct Object *ob);
|
|
|
|
|
struct GPUBatch *DRW_cache_object_loose_edges_get(struct Object *ob);
|
2019-04-17 06:17:24 +02:00
|
|
|
struct GPUBatch **DRW_cache_object_surface_material_get(struct Object *ob,
|
|
|
|
|
struct GPUMaterial **gpumat_array,
|
2020-01-17 16:05:19 +01:00
|
|
|
uint gpumat_array_len);
|
2019-08-15 12:34:31 -03:00
|
|
|
struct GPUBatch *DRW_cache_object_face_wireframe_get(struct Object *ob);
|
2020-01-28 16:39:33 +01:00
|
|
|
int DRW_cache_object_material_count_get(struct Object *ob);
|
2017-04-21 02:18:14 +10:00
|
|
|
|
2020-06-19 17:02:55 +02:00
|
|
|
struct GPUVertBuf *DRW_cache_object_pos_vertbuf_get(struct Object *ob);
|
|
|
|
|
|
2017-02-07 11:20:15 +01:00
|
|
|
/* Empties */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_plain_axes_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_single_arrow_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_empty_cube_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_circle_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_empty_sphere_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_empty_cylinder_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_empty_cone_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_empty_capsule_cap_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_empty_capsule_body_get(void);
|
2017-02-07 11:20:15 +01:00
|
|
|
|
2017-04-10 22:22:37 +02:00
|
|
|
/* Force Field */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_field_wind_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_field_force_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_field_vortex_get(void);
|
2019-12-02 01:40:58 +01:00
|
|
|
struct GPUBatch *DRW_cache_field_curve_get(void);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_field_tube_limit_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_field_cone_limit_get(void);
|
2019-12-02 01:40:58 +01:00
|
|
|
struct GPUBatch *DRW_cache_field_sphere_limit_get(void);
|
2018-07-31 10:22:19 +02:00
|
|
|
|
2019-02-27 12:02:02 +11:00
|
|
|
/* Lights */
|
2019-12-02 01:40:58 +01:00
|
|
|
struct GPUBatch *DRW_cache_light_point_lines_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_light_sun_lines_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_light_spot_lines_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_light_area_disk_lines_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_light_area_square_lines_get(void);
|
2019-02-27 12:02:02 +11:00
|
|
|
struct GPUBatch *DRW_cache_light_spot_volume_get(void);
|
2017-02-07 11:20:15 +01:00
|
|
|
|
2017-03-04 00:09:22 +01:00
|
|
|
/* Camera */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_camera_frame_get(void);
|
2019-12-02 01:40:58 +01:00
|
|
|
struct GPUBatch *DRW_cache_camera_volume_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_camera_volume_wire_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_camera_tria_wire_get(void);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_camera_tria_get(void);
|
2019-12-02 01:40:58 +01:00
|
|
|
struct GPUBatch *DRW_cache_camera_distances_get(void);
|
2017-03-04 00:09:22 +01:00
|
|
|
|
2017-02-15 03:38:21 +01:00
|
|
|
/* Speaker */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_speaker_get(void);
|
2017-02-15 03:38:21 +01:00
|
|
|
|
2017-06-07 16:00:10 +02:00
|
|
|
/* Probe */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_lightprobe_cube_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_lightprobe_grid_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_lightprobe_planar_get(void);
|
2017-06-07 16:00:10 +02:00
|
|
|
|
2017-02-22 13:00:15 +01:00
|
|
|
/* Bones */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_bone_octahedral_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_octahedral_wire_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_box_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_box_wire_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_envelope_solid_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_envelope_outline_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_point_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_point_wire_outline_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_stick_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_arrows_get(void);
|
2018-10-03 15:42:05 +02:00
|
|
|
struct GPUBatch *DRW_cache_bone_dof_sphere_get(void);
|
|
|
|
|
struct GPUBatch *DRW_cache_bone_dof_lines_get(void);
|
2017-02-22 13:00:15 +01:00
|
|
|
|
2017-02-07 11:20:15 +01:00
|
|
|
/* Meshes */
|
2018-12-18 17:10:38 +01:00
|
|
|
struct GPUBatch *DRW_cache_mesh_all_verts_get(struct Object *ob);
|
|
|
|
|
struct GPUBatch *DRW_cache_mesh_all_edges_get(struct Object *ob);
|
|
|
|
|
struct GPUBatch *DRW_cache_mesh_loose_edges_get(struct Object *ob);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_mesh_edge_detection_get(struct Object *ob, bool *r_is_manifold);
|
2018-12-16 15:17:31 +01:00
|
|
|
struct GPUBatch *DRW_cache_mesh_surface_get(struct Object *ob);
|
2018-12-18 17:10:38 +01:00
|
|
|
struct GPUBatch *DRW_cache_mesh_surface_edges_get(struct Object *ob);
|
2019-04-17 06:17:24 +02:00
|
|
|
struct GPUBatch **DRW_cache_mesh_surface_shaded_get(struct Object *ob,
|
|
|
|
|
struct GPUMaterial **gpumat_array,
|
2020-01-17 16:05:19 +01:00
|
|
|
uint gpumat_array_len);
|
2018-12-16 15:17:31 +01:00
|
|
|
struct GPUBatch **DRW_cache_mesh_surface_texpaint_get(struct Object *ob);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_mesh_surface_texpaint_single_get(struct Object *ob);
|
2018-12-18 17:10:38 +01:00
|
|
|
struct GPUBatch *DRW_cache_mesh_surface_vertpaint_get(struct Object *ob);
|
Sculpt Vertex Colors: Initial implementation
Sculpt Vertex Colors is a painting system that runs inside sculpt mode, reusing all its tools and optimizations. This provides much better performance, easier to maintain code and more advanced features (new brush engine, filters, symmetry options, masks and face sets compatibility...). This is also the initial step for future features like vertex painting in Multires and brushes that can sculpt and paint at the same time.
This commit includes:
- SCULPT_UNDO_COLOR for undo support in sculpt mode
- SCULPT_UPDATE_COLOR and PBVH flags and rendering
- Sculpt Color API functions
- Sculpt capability for sculpt tools (only enabled in the Paint Brush for now)
- Rendering support in workbench (default to Sculpt Vertex Colors except in Vertex Paint)
- Conversion operator between MPropCol (Sculpt Vertex Colors) and MLoopCol (Vertex Paint)
- Remesher reprojection in the Voxel Remehser
- Paint Brush and Smear Brush with color smoothing in alt-smooth mode
- Parameters for the new brush engine (density, opacity, flow, wet paint mixing, tip scale) implemented in Sculpt Vertex Colors
- Color Filter
- Color picker (uses S shortcut, replaces smooth)
- Color selector in the top bar
Reviewed By: brecht
Maniphest Tasks: T72866
Differential Revision: https://developer.blender.org/D5975
2020-06-22 20:05:28 +02:00
|
|
|
struct GPUBatch *DRW_cache_mesh_surface_sculptcolors_get(struct Object *ob);
|
2018-12-18 17:10:38 +01:00
|
|
|
struct GPUBatch *DRW_cache_mesh_surface_weights_get(struct Object *ob);
|
2019-04-18 08:00:59 +02:00
|
|
|
struct GPUBatch *DRW_cache_mesh_surface_mesh_analysis_get(struct Object *ob);
|
2018-12-07 05:03:01 +01:00
|
|
|
struct GPUBatch *DRW_cache_mesh_face_wireframe_get(struct Object *ob);
|
2017-02-07 11:20:15 +01:00
|
|
|
|
2017-04-15 16:46:17 +10:00
|
|
|
/* Curve */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_curve_surface_get(struct Object *ob);
|
2019-04-17 06:17:24 +02:00
|
|
|
struct GPUBatch **DRW_cache_curve_surface_shaded_get(struct Object *ob,
|
|
|
|
|
struct GPUMaterial **gpumat_array,
|
|
|
|
|
uint gpumat_array_len);
|
2018-12-14 15:23:13 +01:00
|
|
|
struct GPUBatch *DRW_cache_curve_loose_edges_get(struct Object *ob);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_curve_edge_wire_get(struct Object *ob);
|
2019-08-15 12:34:31 -03:00
|
|
|
struct GPUBatch *DRW_cache_curve_face_wireframe_get(struct Object *ob);
|
2019-03-28 14:51:29 +01:00
|
|
|
struct GPUBatch *DRW_cache_curve_edge_detection_get(struct Object *ob, bool *r_is_manifold);
|
2017-04-21 17:58:18 +10:00
|
|
|
/* edit-mode */
|
2018-12-13 01:26:07 +01:00
|
|
|
struct GPUBatch *DRW_cache_curve_edge_normal_get(struct Object *ob);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_curve_edge_overlay_get(struct Object *ob);
|
2020-05-13 21:20:18 +02:00
|
|
|
struct GPUBatch *DRW_cache_curve_vert_overlay_get(struct Object *ob);
|
2017-04-21 02:18:14 +10:00
|
|
|
|
|
|
|
|
/* Font */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_text_surface_get(struct Object *ob);
|
2019-08-15 12:34:31 -03:00
|
|
|
struct GPUBatch *DRW_cache_text_edge_detection_get(struct Object *ob, bool *r_is_manifold);
|
2018-12-14 15:23:13 +01:00
|
|
|
struct GPUBatch *DRW_cache_text_loose_edges_get(struct Object *ob);
|
|
|
|
|
struct GPUBatch *DRW_cache_text_edge_wire_get(struct Object *ob);
|
2019-04-17 06:17:24 +02:00
|
|
|
struct GPUBatch **DRW_cache_text_surface_shaded_get(struct Object *ob,
|
|
|
|
|
struct GPUMaterial **gpumat_array,
|
|
|
|
|
uint gpumat_array_len);
|
2019-08-15 12:34:31 -03:00
|
|
|
struct GPUBatch *DRW_cache_text_face_wireframe_get(struct Object *ob);
|
2017-04-21 02:18:14 +10:00
|
|
|
|
|
|
|
|
/* Surface */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_surf_surface_get(struct Object *ob);
|
2018-12-14 15:23:13 +01:00
|
|
|
struct GPUBatch *DRW_cache_surf_edge_wire_get(struct Object *ob);
|
|
|
|
|
struct GPUBatch *DRW_cache_surf_loose_edges_get(struct Object *ob);
|
2019-04-17 06:17:24 +02:00
|
|
|
struct GPUBatch **DRW_cache_surf_surface_shaded_get(struct Object *ob,
|
|
|
|
|
struct GPUMaterial **gpumat_array,
|
|
|
|
|
uint gpumat_array_len);
|
2019-08-15 12:34:31 -03:00
|
|
|
struct GPUBatch *DRW_cache_surf_face_wireframe_get(struct Object *ob);
|
2019-03-28 14:51:29 +01:00
|
|
|
struct GPUBatch *DRW_cache_surf_edge_detection_get(struct Object *ob, bool *r_is_manifold);
|
2017-04-15 16:46:17 +10:00
|
|
|
|
2017-04-13 22:09:59 +10:00
|
|
|
/* Lattice */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_lattice_verts_get(struct Object *ob);
|
|
|
|
|
struct GPUBatch *DRW_cache_lattice_wire_get(struct Object *ob, bool use_weight);
|
|
|
|
|
struct GPUBatch *DRW_cache_lattice_vert_overlay_get(struct Object *ob);
|
2017-04-13 22:09:59 +10:00
|
|
|
|
2017-05-09 16:23:47 +02:00
|
|
|
/* Particles */
|
2019-04-17 06:17:24 +02:00
|
|
|
struct GPUBatch *DRW_cache_particles_get_hair(struct Object *object,
|
|
|
|
|
struct ParticleSystem *psys,
|
|
|
|
|
struct ModifierData *md);
|
|
|
|
|
struct GPUBatch *DRW_cache_particles_get_dots(struct Object *object, struct ParticleSystem *psys);
|
|
|
|
|
struct GPUBatch *DRW_cache_particles_get_edit_strands(struct Object *object,
|
|
|
|
|
struct ParticleSystem *psys,
|
|
|
|
|
struct PTCacheEdit *edit,
|
|
|
|
|
bool use_weight);
|
|
|
|
|
struct GPUBatch *DRW_cache_particles_get_edit_inner_points(struct Object *object,
|
|
|
|
|
struct ParticleSystem *psys,
|
|
|
|
|
struct PTCacheEdit *edit);
|
|
|
|
|
struct GPUBatch *DRW_cache_particles_get_edit_tip_points(struct Object *object,
|
|
|
|
|
struct ParticleSystem *psys,
|
|
|
|
|
struct PTCacheEdit *edit);
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_particles_get_prim(int type);
|
2017-05-09 16:23:47 +02:00
|
|
|
|
2017-11-16 15:12:32 -02:00
|
|
|
/* Metaball */
|
2018-07-18 00:12:21 +02:00
|
|
|
struct GPUBatch *DRW_cache_mball_surface_get(struct Object *ob);
|
2019-04-17 06:17:24 +02:00
|
|
|
struct GPUBatch **DRW_cache_mball_surface_shaded_get(struct Object *ob,
|
|
|
|
|
struct GPUMaterial **gpumat_array,
|
|
|
|
|
uint gpumat_array_len);
|
2019-08-15 12:34:31 -03:00
|
|
|
struct GPUBatch *DRW_cache_mball_face_wireframe_get(struct Object *ob);
|
2019-03-28 14:51:29 +01:00
|
|
|
struct GPUBatch *DRW_cache_mball_edge_detection_get(struct Object *ob, bool *r_is_manifold);
|
2017-11-16 15:12:32 -02:00
|
|
|
|
2020-03-17 16:27:08 +01:00
|
|
|
/* Hair */
|
|
|
|
|
struct GPUBatch *DRW_cache_hair_surface_get(struct Object *ob);
|
|
|
|
|
struct GPUBatch **DRW_cache_hair_surface_shaded_get(struct Object *ob,
|
|
|
|
|
struct GPUMaterial **gpumat_array,
|
|
|
|
|
uint gpumat_array_len);
|
|
|
|
|
struct GPUBatch *DRW_cache_hair_face_wireframe_get(struct Object *ob);
|
|
|
|
|
struct GPUBatch *DRW_cache_hair_edge_detection_get(struct Object *ob, bool *r_is_manifold);
|
|
|
|
|
|
|
|
|
|
/* PointCloud */
|
|
|
|
|
struct GPUBatch *DRW_cache_pointcloud_get_dots(struct Object *obj);
|
2020-07-15 20:10:45 +02:00
|
|
|
struct GPUBatch *DRW_cache_pointcloud_surface_get(struct Object *obj);
|
2020-03-17 16:27:08 +01:00
|
|
|
|
|
|
|
|
/* Volume */
|
|
|
|
|
typedef struct DRWVolumeGrid {
|
|
|
|
|
struct DRWVolumeGrid *next, *prev;
|
|
|
|
|
|
|
|
|
|
/* Grid name. */
|
|
|
|
|
char *name;
|
|
|
|
|
|
|
|
|
|
/* 3D texture. */
|
|
|
|
|
struct GPUTexture *texture;
|
|
|
|
|
|
|
|
|
|
/* Transform between 0..1 texture space and object space. */
|
|
|
|
|
float texture_to_object[4][4];
|
|
|
|
|
float object_to_texture[4][4];
|
|
|
|
|
|
|
|
|
|
/* Transfrom from bounds to texture space. */
|
|
|
|
|
float object_to_bounds[4][4];
|
|
|
|
|
float bounds_to_texture[4][4];
|
|
|
|
|
} DRWVolumeGrid;
|
|
|
|
|
|
|
|
|
|
DRWVolumeGrid *DRW_volume_batch_cache_get_grid(struct Volume *volume, struct VolumeGrid *grid);
|
|
|
|
|
struct GPUBatch *DRW_cache_volume_face_wireframe_get(struct Object *ob);
|
|
|
|
|
|
2020-03-09 16:27:24 +01:00
|
|
|
/* GPencil */
|
|
|
|
|
struct GPUBatch *DRW_cache_gpencil_strokes_get(struct Object *ob, int cfra);
|
|
|
|
|
struct GPUBatch *DRW_cache_gpencil_fills_get(struct Object *ob, int cfra);
|
|
|
|
|
struct GPUBatch *DRW_cache_gpencil_edit_lines_get(struct Object *ob, int cfra);
|
|
|
|
|
struct GPUBatch *DRW_cache_gpencil_edit_points_get(struct Object *ob, int cfra);
|
|
|
|
|
struct GPUBatch *DRW_cache_gpencil_sbuffer_stroke_get(struct Object *ob);
|
|
|
|
|
struct GPUBatch *DRW_cache_gpencil_sbuffer_fill_get(struct Object *ob);
|
|
|
|
|
|
|
|
|
|
struct GPUBatch *DRW_cache_gpencil_face_wireframe_get(struct Object *ob);
|
|
|
|
|
|
|
|
|
|
struct bGPDstroke *DRW_cache_gpencil_sbuffer_stroke_data_get(struct Object *ob);
|
|
|
|
|
void DRW_cache_gpencil_sbuffer_clear(struct Object *ob);
|