Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_batch.h
| Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
| Gwn_Batch *GPU_batch_wire_from_poly_2d_encoded( | Gwn_Batch *GPU_batch_wire_from_poly_2d_encoded( | ||||
| const uchar *polys_flat, uint polys_flat_len, const struct rctf *rect | const uchar *polys_flat, uint polys_flat_len, const struct rctf *rect | ||||
| ) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1); | ) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1); | ||||
| void gpu_batch_init(void); | void gpu_batch_init(void); | ||||
| void gpu_batch_exit(void); | void gpu_batch_exit(void); | ||||
| /* gpu_batch_presets.c */ | /* gpu_batch_presets.c */ | ||||
| /* Only use by draw manager. Use the presets function instead for interface. */ | |||||
| Gwn_Batch *gpu_batch_sphere(int lat_res, int lon_res) ATTR_WARN_UNUSED_RESULT; | |||||
| /* Replacement for gluSphere */ | /* Replacement for gluSphere */ | ||||
| Gwn_Batch *GPU_batch_preset_sphere(int lod) ATTR_WARN_UNUSED_RESULT; | Gwn_Batch *GPU_batch_preset_sphere(int lod) ATTR_WARN_UNUSED_RESULT; | ||||
| Gwn_Batch *GPU_batch_preset_sphere_wire(int lod) ATTR_WARN_UNUSED_RESULT; | Gwn_Batch *GPU_batch_preset_sphere_wire(int lod) ATTR_WARN_UNUSED_RESULT; | ||||
| void gpu_batch_presets_init(void); | void gpu_batch_presets_init(void); | ||||
| void gpu_batch_presets_exit(void); | void gpu_batch_presets_exit(void); | ||||
| #endif /* __GPU_BATCH_H__ */ | #endif /* __GPU_BATCH_H__ */ | ||||