GPU Python: optionally init the vertexformat in the vertexbuffer itself.
This commit is contained in:
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user