diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-10-12 01:19:42 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-10-12 01:19:42 +0300 |
commit | 1b575cbb75c3cfd402374a876c2e900f31dda791 (patch) | |
tree | da2cd3c86e3c556b2b49b97f783b1e3ce502a82e /source/blender/python/gpu/gpu_py_vertex_format.c | |
parent | e8a29312999baa7191c15dfeda61e7d28c78c337 (diff) |
Cleanup: Pydoc strings
Diffstat (limited to 'source/blender/python/gpu/gpu_py_vertex_format.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_vertex_format.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/python/gpu/gpu_py_vertex_format.c b/source/blender/python/gpu/gpu_py_vertex_format.c index 1cbcaba6bfb..2d45eadcfe3 100644 --- a/source/blender/python/gpu/gpu_py_vertex_format.c +++ b/source/blender/python/gpu/gpu_py_vertex_format.c @@ -168,14 +168,13 @@ PyDoc_STRVAR( " :param comp_type: The data type that will be used store the value in memory.\n" " Possible values are `I8`, `U8`, `I16`, `U16`, `I32`, `U32`, `F32` and `I10`.\n" " :type comp_type: `str`\n" - " :param len: How many individual values the attribute consists of (e.g. 2 for uv " - "coordinates).\n" + " :param len: How many individual values the attribute consists of\n" + " (e.g. 2 for uv coordinates).\n" " :type len: int\n" " :param fetch_mode: How values from memory will be converted when used in the shader.\n" - " This is mainly useful for memory optimizations when you want to store values with " - "reduced precision.\n" - " E.g. you can store a float in only 1 byte but it will be converted to a normal 4 byte " - "float when used.\n" + " This is mainly useful for memory optimizations when you want to store values with\n" + " reduced precision. E.g. you can store a float in only 1 byte but it will be\n" + " converted to a normal 4 byte float when used.\n" " Possible values are `FLOAT`, `INT`, `INT_TO_FLOAT_UNIT` and `INT_TO_FLOAT`.\n" " :type fetch_mode: `str`\n"); static PyObject *bpygpu_VertFormat_attr_add(BPyGPUVertFormat *self, PyObject *args, PyObject *kwds) |