Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_view3d.h
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
| struct Main; | struct Main; | ||||
| struct MetaElem; | struct MetaElem; | ||||
| struct Nurb; | struct Nurb; | ||||
| struct Object; | struct Object; | ||||
| struct RV3DMatrixStore; | struct RV3DMatrixStore; | ||||
| struct RegionView3D; | struct RegionView3D; | ||||
| struct RenderEngineType; | struct RenderEngineType; | ||||
| struct Scene; | struct Scene; | ||||
| struct SceneLayer; | struct ViewLayer; | ||||
| struct ScrArea; | struct ScrArea; | ||||
| struct View3D; | struct View3D; | ||||
| struct ViewContext; | struct ViewContext; | ||||
| struct bContext; | struct bContext; | ||||
| struct bPoseChannel; | struct bPoseChannel; | ||||
| struct bScreen; | struct bScreen; | ||||
| struct rctf; | struct rctf; | ||||
| 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; | 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 ViewLayer *view_layer; | ||||
| struct RenderEngineType *engine; | struct RenderEngineType *engine; | ||||
| struct Object *obact; | struct Object *obact; | ||||
| struct Object *obedit; | struct Object *obedit; | ||||
| struct ARegion *ar; | struct ARegion *ar; | ||||
| struct View3D *v3d; | struct View3D *v3d; | ||||
| struct wmWindow *win; | struct wmWindow *win; | ||||
| struct RegionView3D *rv3d; | struct RegionView3D *rv3d; | ||||
| struct BMEditMesh *em; | struct BMEditMesh *em; | ||||
| ▲ Show 20 Lines • Show All 270 Lines • ▼ Show 20 Lines | |||||
| void ED_view3d_init_mats_rv3d_gl(struct Object *ob, struct RegionView3D *rv3d); | void ED_view3d_init_mats_rv3d_gl(struct Object *ob, struct RegionView3D *rv3d); | ||||
| #ifdef DEBUG | #ifdef DEBUG | ||||
| void ED_view3d_clear_mats_rv3d(struct RegionView3D *rv3d); | void ED_view3d_clear_mats_rv3d(struct RegionView3D *rv3d); | ||||
| void ED_view3d_check_mats_rv3d(struct RegionView3D *rv3d); | void ED_view3d_check_mats_rv3d(struct RegionView3D *rv3d); | ||||
| #else | #else | ||||
| # define ED_view3d_clear_mats_rv3d(rv3d) (void)(rv3d) | # define ED_view3d_clear_mats_rv3d(rv3d) (void)(rv3d) | ||||
| # define ED_view3d_check_mats_rv3d(rv3d) (void)(rv3d) | # define ED_view3d_check_mats_rv3d(rv3d) (void)(rv3d) | ||||
| #endif | #endif | ||||
| int ED_view3d_scene_layer_set(int lay, const int *values, int *active); | int ED_view3d_view_layer_set(int lay, const int *values, int *active); | ||||
| 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, | const struct EvaluationContext *eval_ctx, struct Scene *scene, | ||||
| struct SceneLayer *sl, struct View3D *v3d); | struct ViewLayer *sl, struct View3D *v3d); | ||||
| void ED_view3d_draw_offscreen( | void ED_view3d_draw_offscreen( | ||||
| const struct EvaluationContext *eval_ctx, struct Scene *scene, | const struct EvaluationContext *eval_ctx, struct Scene *scene, | ||||
| struct SceneLayer *scene_layer, struct View3D *v3d, struct ARegion *ar, int winx, int winy, float viewmat[4][4], | struct ViewLayer *view_layer, 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, | const struct EvaluationContext *eval_ctx, struct Scene *scene, | ||||
| struct SceneLayer *scene_layer, struct View3D *v3d, struct ARegion *ar, | struct ViewLayer *view_layer, 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, | const struct EvaluationContext *eval_ctx, struct Scene *scene, | ||||
| struct SceneLayer *scene_layer, struct Object *camera, int width, int height, | struct ViewLayer *view_layer, 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 Base *ED_view3d_give_base_under_cursor(struct bContext *C, const int mval[2]); | struct Base *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 58 Lines • Show Last 20 Lines | |||||