Python GPU: Improve the Python GPU API documentation
This fixes some errors of continuity and consistency of formatting on https://docs.blender.org/api/current/gpu.html This also details the description of some parameters. Differential Revision: https://developer.blender.org/D10531
This commit is contained in:
@@ -184,12 +184,9 @@ PyDoc_STRVAR(pygpu_IndexBuf__tp_doc,
|
||||
"\n"
|
||||
" Contains an index buffer.\n"
|
||||
"\n"
|
||||
" :param type: One of these primitive types: {\n"
|
||||
" `POINTS`,\n"
|
||||
" `LINES`,\n"
|
||||
" `TRIS`,\n"
|
||||
" `LINE_STRIP_ADJ` }\n"
|
||||
" :type type: `str`\n"
|
||||
" :arg type: The primitive type this index buffer is composed of.\n"
|
||||
" Possible values are `POINTS`, `LINES`, `TRIS` and `LINE_STRIP_ADJ`.\n"
|
||||
" :type type: str\n"
|
||||
" :param seq: Indices this index buffer will contain.\n"
|
||||
" Whether a 1D or 2D sequence is required depends on the type.\n"
|
||||
" Optionally the sequence can support the buffer protocol.\n"
|
||||
|
||||
Reference in New Issue
Block a user