PyAPI: gpu utility module to create new batches

Support the common case of creating batches from python geometry,
a shader and optionally indices.

See D3779
This commit is contained in:
2018-10-26 12:38:04 +11:00
committed by Campbell Barton
parent ca8fee62ab
commit 0264c050bf
2 changed files with 63 additions and 0 deletions

View File

@@ -17,5 +17,6 @@
# ***** END GPL LICENSE BLOCK *****
__all__ = (
"batch",
"presets",
)