Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h
| Show All 11 Lines | |||||
| #include "BLI_math.h" | #include "BLI_math.h" | ||||
| #include "BLI_threads.h" | #include "BLI_threads.h" | ||||
| #include "DNA_lineart_types.h" | #include "DNA_lineart_types.h" | ||||
| #include <math.h> | #include <math.h> | ||||
| #include <string.h> | #include <string.h> | ||||
| #ifdef __cplusplus | |||||
| extern "C" { | |||||
| #endif | |||||
| struct LineartEdge; | struct LineartEdge; | ||||
| struct LineartData; | struct LineartData; | ||||
| struct LineartStaticMemPool; | struct LineartStaticMemPool; | ||||
| struct LineartStaticMemPoolNode; | struct LineartStaticMemPoolNode; | ||||
| void *lineart_list_append_pointer_pool(ListBase *h, struct LineartStaticMemPool *smp, void *data); | void *lineart_list_append_pointer_pool(ListBase *h, struct LineartStaticMemPool *smp, void *data); | ||||
| void *lineart_list_append_pointer_pool_sized(ListBase *h, | void *lineart_list_append_pointer_pool_sized(ListBase *h, | ||||
| struct LineartStaticMemPool *smp, | struct LineartStaticMemPool *smp, | ||||
| ▲ Show 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | void lineart_edge_cut(struct LineartData *ld, | ||||
| double end, | double end, | ||||
| uchar material_mask_bits, | uchar material_mask_bits, | ||||
| uchar mat_occlusion, | uchar mat_occlusion, | ||||
| uint32_t shadow_bits); | uint32_t shadow_bits); | ||||
| void lineart_add_edge_to_array(struct LineartPendingEdges *pe, struct LineartEdge *e); | void lineart_add_edge_to_array(struct LineartPendingEdges *pe, struct LineartEdge *e); | ||||
| void lineart_finalize_object_edge_array_reserve(struct LineartPendingEdges *pe, int count); | void lineart_finalize_object_edge_array_reserve(struct LineartPendingEdges *pe, int count); | ||||
| void lineart_destroy_render_data_keep_init(struct LineartData *ld); | void lineart_destroy_render_data_keep_init(struct LineartData *ld); | ||||
| #ifdef __cplusplus | |||||
| extern "C" { | |||||
| #endif | |||||
| void lineart_sort_adjacent_items(struct LineartAdjacentEdge *ai, int length); | void lineart_sort_adjacent_items(struct LineartAdjacentEdge *ai, int length); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||