Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_view.hh
| Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | |||||
| private: | private: | ||||
| /** Called from draw manager. */ | /** Called from draw manager. */ | ||||
| void bind(); | void bind(); | ||||
| void compute_visibility(ObjectBoundsBuf &bounds, uint resource_len, bool debug_freeze); | void compute_visibility(ObjectBoundsBuf &bounds, uint resource_len, bool debug_freeze); | ||||
| void update_viewport_size(); | void update_viewport_size(); | ||||
| void frustum_boundbox_calc(BoundBox &bbox, int view_id); | /* WARNING: These 3 functions must be called in order */ | ||||
| void frustum_boundbox_calc(int view_id); | |||||
| void frustum_culling_planes_calc(int view_id); | void frustum_culling_planes_calc(int view_id); | ||||
| void frustum_culling_sphere_calc(const BoundBox &bbox, BoundSphere &bsphere, int view_id); | void frustum_culling_sphere_calc(int view_id); | ||||
| }; | }; | ||||
| } // namespace blender::draw | } // namespace blender::draw | ||||