Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormano-wii <germano.costa@ig.com.br>2018-10-05 23:21:10 +0300
committermano-wii <germano.costa@ig.com.br>2018-10-05 23:22:03 +0300
commit9bd65528e3206012a6c842bea289cecb17b309b8 (patch)
treed3078a33c241c6329fd89378347b7e55d1e360e3 /source/blender/python/gpu/gpu_py_vertex_format.h
parent8882b3d7b67e5047bb57ae056226a4d5385d93c7 (diff)
GPU Python: optionally init the vertexformat in the vertexbuffer itself.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_vertex_format.h')
-rw-r--r--source/blender/python/gpu/gpu_py_vertex_format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/gpu/gpu_py_vertex_format.h b/source/blender/python/gpu/gpu_py_vertex_format.h
index 5b0bf1addc2..f1f1961b0ad 100644
--- a/source/blender/python/gpu/gpu_py_vertex_format.h
+++ b/source/blender/python/gpu/gpu_py_vertex_format.h
@@ -37,5 +37,7 @@ typedef struct BPyGPUVertFormat {
} BPyGPUVertFormat;
PyObject *BPyGPUVertFormat_CreatePyObject(struct GPUVertFormat *fmt);
+bool bpygpu_vertformat_from_PyList(
+ const PyListObject *list, const char *error_prefix, GPUVertFormat *r_fmt);
#endif /* __GPU_PY_VERTEX_FORMAT_H__ */