Blender V5.3
GPU_batch_utils.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::gpu

Functions

Polygon Creation (2D)
gpu::Batch * blender::GPU_batch_tris_from_poly_2d_encoded (const uchar *polys_flat, uint polys_flat_len, const rctf *rect) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
gpu::Batch * blender::GPU_batch_wire_from_poly_2d_encoded (const uchar *polys_flat, uint polys_flat_len, const rctf *rect) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
Common shapes (3D)
gpu::Batch * blender::GPU_batch_unit_cube () ATTR_WARN_UNUSED_RESULT
Create Sphere (3D)
gpu::Batch * blender::gpu_batch_sphere (int lat_res, int lon_res) ATTR_WARN_UNUSED_RESULT