Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_view3d.h
| Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | |||||
| struct rcti; | struct rcti; | ||||
| struct wmOperator; | struct wmOperator; | ||||
| struct wmOperatorType; | struct wmOperatorType; | ||||
| struct wmWindow; | struct wmWindow; | ||||
| struct wmWindowManager; | struct wmWindowManager; | ||||
| struct GPUFX; | struct GPUFX; | ||||
| struct GPUOffScreen; | struct GPUOffScreen; | ||||
| struct GPUFXSettings; | struct GPUFXSettings; | ||||
| struct WorkSpace; | |||||
| enum eGPUFXFlags; | enum eGPUFXFlags; | ||||
| /* for derivedmesh drawing callbacks, for view3d_select, .... */ | /* for derivedmesh drawing callbacks, for view3d_select, .... */ | ||||
| typedef struct ViewContext { | typedef struct ViewContext { | ||||
| struct Depsgraph *depsgraph; | struct Depsgraph *depsgraph; | ||||
| struct Scene *scene; | struct Scene *scene; | ||||
| struct SceneLayer *scene_layer; | struct SceneLayer *scene_layer; | ||||
| struct Object *obact; | struct Object *obact; | ||||
| ▲ Show 20 Lines • Show All 285 Lines • ▼ Show 20 Lines | |||||
| struct RV3DMatrixStore *ED_view3d_mats_rv3d_backup(struct RegionView3D *rv3d); | struct RV3DMatrixStore *ED_view3d_mats_rv3d_backup(struct RegionView3D *rv3d); | ||||
| void ED_view3d_mats_rv3d_restore(struct RegionView3D *rv3d, struct RV3DMatrixStore *rv3dmat); | void ED_view3d_mats_rv3d_restore(struct RegionView3D *rv3d, struct RV3DMatrixStore *rv3dmat); | ||||
| void ED_draw_object_facemap(const struct EvaluationContext *eval_ctx, struct Scene *scene, struct Object *ob, const float col[4], const int facemap); | void ED_draw_object_facemap(const struct EvaluationContext *eval_ctx, struct Scene *scene, struct Object *ob, const float col[4], const int facemap); | ||||
| bool ED_view3d_context_activate(struct bContext *C); | bool ED_view3d_context_activate(struct bContext *C); | ||||
| void ED_view3d_draw_offscreen_init( | void ED_view3d_draw_offscreen_init( | ||||
| const struct EvaluationContext *eval_ctx, struct Scene *scene, struct SceneLayer *sl, struct View3D *v3d); | const struct EvaluationContext *eval_ctx, struct Scene *scene, const struct WorkSpace *workspace, | ||||
| struct SceneLayer *sl, struct View3D *v3d); | |||||
| void ED_view3d_draw_offscreen( | void ED_view3d_draw_offscreen( | ||||
| const struct EvaluationContext *eval_ctx, struct Scene *scene, struct SceneLayer *sl, struct View3D *v3d, struct ARegion *ar, int winx, int winy, float viewmat[4][4], | const struct EvaluationContext *eval_ctx, struct Scene *scene, const struct WorkSpace *workspace, | ||||
| struct SceneLayer *sl, struct View3D *v3d, struct ARegion *ar, int winx, int winy, float viewmat[4][4], | |||||
| float winmat[4][4], bool do_bgpic, bool do_sky, bool is_persp, const char *viewname, | float winmat[4][4], bool do_bgpic, bool do_sky, bool is_persp, const char *viewname, | ||||
| struct GPUFX *fx, struct GPUFXSettings *fx_settings, | struct GPUFX *fx, struct GPUFXSettings *fx_settings, | ||||
| struct GPUOffScreen *ofs); | struct GPUOffScreen *ofs); | ||||
| void ED_view3d_draw_setup_view( | void ED_view3d_draw_setup_view( | ||||
| struct wmWindow *win, const struct EvaluationContext *eval_ctx, struct Scene *scene, struct ARegion *ar, struct View3D *v3d, | struct wmWindow *win, const struct EvaluationContext *eval_ctx, struct Scene *scene, struct ARegion *ar, struct View3D *v3d, | ||||
| float viewmat[4][4], float winmat[4][4], const struct rcti *rect); | float viewmat[4][4], float winmat[4][4], const struct rcti *rect); | ||||
| struct ImBuf *ED_view3d_draw_offscreen_imbuf( | struct ImBuf *ED_view3d_draw_offscreen_imbuf( | ||||
| const struct EvaluationContext *eval_ctx, struct Scene *scene, struct SceneLayer *sl, struct View3D *v3d, struct ARegion *ar, | const struct EvaluationContext *eval_ctx, struct Scene *scene, const struct WorkSpace *workspace, | ||||
| struct SceneLayer *sl, struct View3D *v3d, struct ARegion *ar, | |||||
| int sizex, int sizey, unsigned int flag, bool draw_background, | int sizex, int sizey, unsigned int flag, bool draw_background, | ||||
| int alpha_mode, int samples, bool full_samples, const char *viewname, | int alpha_mode, int samples, bool full_samples, const char *viewname, | ||||
| struct GPUFX *fx, struct GPUOffScreen *ofs, char err_out[256]); | struct GPUFX *fx, struct GPUOffScreen *ofs, char err_out[256]); | ||||
| struct ImBuf *ED_view3d_draw_offscreen_imbuf_simple( | struct ImBuf *ED_view3d_draw_offscreen_imbuf_simple( | ||||
| const struct EvaluationContext *eval_ctx, struct Scene *scene, struct SceneLayer *sl, struct Object *camera, int width, int height, | const struct EvaluationContext *eval_ctx, struct Scene *scene, const struct WorkSpace *workspace, | ||||
| struct SceneLayer *sl, struct Object *camera, int width, int height, | |||||
| unsigned int flag, int drawtype, bool use_solid_tex, bool use_gpencil, bool draw_background, | unsigned int flag, int drawtype, bool use_solid_tex, bool use_gpencil, bool draw_background, | ||||
| int alpha_mode, int samples, bool full_samples, const char *viewname, | int alpha_mode, int samples, bool full_samples, const char *viewname, | ||||
| struct GPUFX *fx, struct GPUOffScreen *ofs, char err_out[256]); | struct GPUFX *fx, struct GPUOffScreen *ofs, char err_out[256]); | ||||
| struct BaseLegacy *ED_view3d_give_base_under_cursor(struct bContext *C, const int mval[2]); | struct BaseLegacy *ED_view3d_give_base_under_cursor(struct bContext *C, const int mval[2]); | ||||
| void ED_view3d_quadview_update(struct ScrArea *sa, struct ARegion *ar, bool do_clip); | void ED_view3d_quadview_update(struct ScrArea *sa, struct ARegion *ar, bool do_clip); | ||||
| void ED_view3d_update_viewmat( | void ED_view3d_update_viewmat( | ||||
| const struct EvaluationContext *eval_ctx, struct Scene *scene, struct View3D *v3d, struct ARegion *ar, | const struct EvaluationContext *eval_ctx, struct Scene *scene, struct View3D *v3d, struct ARegion *ar, | ||||
| ▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines | |||||