Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/gpencil/gpencil_engine.h
| Show First 20 Lines • Show All 301 Lines • ▼ Show 20 Lines | typedef struct GPENCIL_PrivateData { | ||||
| float object_bound_mat[4][4]; | float object_bound_mat[4][4]; | ||||
| /* Used for computing object distance to camera. */ | /* Used for computing object distance to camera. */ | ||||
| float camera_z_axis[3], camera_z_offset; | float camera_z_axis[3], camera_z_offset; | ||||
| float camera_pos[3]; | float camera_pos[3]; | ||||
| /* Pseudo depth of field parameter. Used to scale blur radius. */ | /* Pseudo depth of field parameter. Used to scale blur radius. */ | ||||
| float dof_params[2]; | float dof_params[2]; | ||||
| /* Used for DoF Setup. */ | /* Used for DoF Setup. */ | ||||
| Object *camera; | Object *camera; | ||||
| /* Copy of draw_ctx->depsgraph for convenience. */ | |||||
| struct Depsgraph *depsgraph; | |||||
| /* Copy of draw_ctx->scene for convenience. */ | /* Copy of draw_ctx->scene for convenience. */ | ||||
| struct Scene *scene; | struct Scene *scene; | ||||
| /* Copy of draw_ctx->vie3d for convenience. */ | /* Copy of draw_ctx->vie3d for convenience. */ | ||||
| struct View3D *v3d; | struct View3D *v3d; | ||||
| /* Active object. */ | /* Active object. */ | ||||
| Object *obact; | Object *obact; | ||||
| /* Object being in draw mode. */ | /* Object being in draw mode. */ | ||||
| ▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines | |||||