|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| struct GPUBatch * | GPU_batch_tris_from_poly_2d_encoded (const uchar *polys_flat, uint polys_flat_len, const struct rctf *rect) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) |
| struct GPUBatch * | GPU_batch_wire_from_poly_2d_encoded (const uchar *polys_flat, uint polys_flat_len, const struct rctf *rect) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) |
| struct GPUBatch * | gpu_batch_sphere (int lat_res, int lon_res) ATTR_WARN_UNUSED_RESULT |
| struct GPUBatch* gpu_batch_sphere | ( | int | lat_res, |
| int | lon_res | ||
| ) |
Definition at line 158 of file gpu_batch_presets.c.
References batch_sphere_lat_lon_vert(), BLI_assert, g_presets_3d, GPU_batch_create_ex(), GPU_BATCH_OWNS_VBO, GPU_PRIM_TRIS, GPU_vertbuf_attr_get_raw_data(), GPU_vertbuf_create_with_format, GPU_vertbuf_data_alloc(), GPU_vertbuf_raw_used(), M_PI, NULL, and preset_3d_format().
Referenced by gpu_batch_presets_init().
| struct GPUBatch* GPU_batch_tris_from_poly_2d_encoded | ( | const uchar * | polys_flat, |
| uint | polys_flat_len, | ||
| const struct rctf * | rect | ||
| ) |
Referenced by button2d_draw_intern().
| struct GPUBatch* GPU_batch_wire_from_poly_2d_encoded | ( | const uchar * | polys_flat, |
| uint | polys_flat_len, | ||
| const struct rctf * | rect | ||
| ) |
Referenced by button2d_draw_intern().