Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/gpu/gpu_py_vertex_buffer.h
| Show All 32 Lines | |||||
| typedef struct BPyGPUVertBuf { | typedef struct BPyGPUVertBuf { | ||||
| PyObject_VAR_HEAD | PyObject_VAR_HEAD | ||||
| /* The buf is owned, we may support thin wrapped batches later. */ | /* The buf is owned, we may support thin wrapped batches later. */ | ||||
| struct GPUVertBuf *buf; | struct GPUVertBuf *buf; | ||||
| } BPyGPUVertBuf; | } BPyGPUVertBuf; | ||||
| PyObject *BPyGPUVertBuf_CreatePyObject(struct GPUVertBuf *vbo) ATTR_NONNULL(1); | PyObject *BPyGPUVertBuf_CreatePyObject(struct GPUVertBuf *vbo) ATTR_NONNULL(1); | ||||
| PyObject *bpygpu_VertBuf_new(PyTypeObject *type, PyObject *args, PyObject *kwds); | |||||
| PyObject *bpygpu_VertBuf_attr_fill(BPyGPUVertBuf *self, PyObject *args, PyObject *kwds); | |||||
| #endif /* __GPU_PY_VERTEX_BUFFER_H__ */ | #endif /* __GPU_PY_VERTEX_BUFFER_H__ */ | ||||