Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/gpu/gpu_py_batch.h
| Show All 38 Lines | typedef struct BPyGPUBatch { | ||||
| struct GPUBatch *batch; | struct GPUBatch *batch; | ||||
| #ifdef USE_GPU_PY_REFERENCES | #ifdef USE_GPU_PY_REFERENCES | ||||
| /* Just to keep a user to prevent freeing buf's we're using */ | /* Just to keep a user to prevent freeing buf's we're using */ | ||||
| PyObject *references; | PyObject *references; | ||||
| #endif | #endif | ||||
| } BPyGPUBatch; | } BPyGPUBatch; | ||||
| PyObject *BPyGPUBatch_CreatePyObject(struct GPUBatch *batch) ATTR_NONNULL(1); | PyObject *BPyGPUBatch_CreatePyObject(struct GPUBatch *batch) ATTR_NONNULL(1); | ||||
| PyObject *bpygpu_Batch_new(PyTypeObject *type, PyObject *args, PyObject *kwds); | |||||
| #endif /* __GPU_PY_BATCH_H__ */ | #endif /* __GPU_PY_BATCH_H__ */ | ||||