Blender  V3.3
Functions
overlay_motion_path.c File Reference
#include "DRW_render.h"
#include "BLI_listbase.h"
#include "BLI_string.h"
#include "DNA_armature_types.h"
#include "DEG_depsgraph_query.h"
#include "GPU_batch.h"
#include "UI_resources.h"
#include "draw_manager_text.h"
#include "overlay_private.h"

Go to the source code of this file.

Functions

void OVERLAY_motion_path_cache_init (OVERLAY_Data *vedata)
 
static GPUVertBufmpath_vbo_get (bMotionPath *mpath)
 
static GPUBatchmpath_batch_line_get (bMotionPath *mpath)
 
static GPUBatchmpath_batch_points_get (bMotionPath *mpath)
 
static void motion_path_get_frame_range_to_draw (bAnimVizSettings *avs, bMotionPath *mpath, int current_frame, int *r_start, int *r_end, int *r_step)
 
static void motion_path_cache (OVERLAY_Data *vedata, Object *ob, bPoseChannel *pchan, bAnimVizSettings *avs, bMotionPath *mpath)
 
void OVERLAY_motion_path_cache_populate (OVERLAY_Data *vedata, Object *ob)
 
void OVERLAY_motion_path_draw (OVERLAY_Data *vedata)
 

Function Documentation

◆ motion_path_cache()

static void motion_path_cache ( OVERLAY_Data vedata,
Object ob,
bPoseChannel pchan,
bAnimVizSettings avs,
bMotionPath mpath 
)
static

◆ motion_path_get_frame_range_to_draw()

static void motion_path_get_frame_range_to_draw ( bAnimVizSettings avs,
bMotionPath mpath,
int  current_frame,
int *  r_start,
int *  r_end,
int *  r_step 
)
static

◆ mpath_batch_line_get()

static GPUBatch* mpath_batch_line_get ( bMotionPath mpath)
static

◆ mpath_batch_points_get()

static GPUBatch* mpath_batch_points_get ( bMotionPath mpath)
static

◆ mpath_vbo_get()

static GPUVertBuf* mpath_vbo_get ( bMotionPath mpath)
static

◆ OVERLAY_motion_path_cache_init()

void OVERLAY_motion_path_cache_init ( OVERLAY_Data vedata)

◆ OVERLAY_motion_path_cache_populate()

void OVERLAY_motion_path_cache_populate ( OVERLAY_Data vedata,
Object ob 
)

◆ OVERLAY_motion_path_draw()

void OVERLAY_motion_path_draw ( OVERLAY_Data vedata)