diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-11-13 15:33:09 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-11-13 17:25:51 +0300 |
commit | 3f478f4260ef0ea2db27e5008c193dfec3288749 (patch) | |
tree | e11d902bdd34c223fca77f3b5fbe88d0c2cb3602 /source/blender/python/gpu/gpu_py_element.c | |
parent | 4e1057780b314abea6b2d38849b003e31243cbf8 (diff) |
Py API Docs: GPUIndexBuf documentation
Diffstat (limited to 'source/blender/python/gpu/gpu_py_element.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_element.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/source/blender/python/gpu/gpu_py_element.c b/source/blender/python/gpu/gpu_py_element.c index 2462c222146..c85d6dfbe3b 100644 --- a/source/blender/python/gpu/gpu_py_element.c +++ b/source/blender/python/gpu/gpu_py_element.c @@ -198,17 +198,18 @@ static void bpygpu_IndexBuf_dealloc(BPyGPUIndexBuf *self) PyDoc_STRVAR(py_gpu_element_doc, "GPUIndexBuf(type, seq)\n" "\n" -"Contains a VBO." +"Contains an index buffer." "\n" -" :param prim_type:\n" +" :param type:\n" " One of these primitive types: {\n" -" 'POINTS',\n" -" 'LINES',\n" -" 'TRIS',\n" -" 'LINE_STRIP_ADJ'}\n" -" :type type: `str`\n" -" :param seq: Sequence of integers.\n" -" :type buf: `Any 1D or 2D Sequence`\n" +" `POINTS`,\n" +" `LINES`,\n" +" `TRIS`,\n" +" `LINE_STRIP_ADJ` }\n" +" :type type: :class:`str`\n" +" :param seq: Indices this index buffer will contain.\n" +" :type buf: 1D or 2D sequence, depending on the type. \n" +" Optionally the sequence can support the buffer protocol. \n" ); PyTypeObject BPyGPUIndexBuf_Type = { PyVarObject_HEAD_INIT(NULL, 0) |