Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/gpu/gpu_py_element.h
| Show All 29 Lines | |||||
| #define BPyGPUIndexBuf_Check(v) (Py_TYPE(v) == &BPyGPUIndexBuf_Type) | #define BPyGPUIndexBuf_Check(v) (Py_TYPE(v) == &BPyGPUIndexBuf_Type) | ||||
| typedef struct BPyGPUIndexBuf { | typedef struct BPyGPUIndexBuf { | ||||
| PyObject_VAR_HEAD | PyObject_VAR_HEAD | ||||
| struct GPUIndexBuf *elem; | struct GPUIndexBuf *elem; | ||||
| } BPyGPUIndexBuf; | } BPyGPUIndexBuf; | ||||
| PyObject *BPyGPUIndexBuf_CreatePyObject(struct GPUIndexBuf *elem); | PyObject *BPyGPUIndexBuf_CreatePyObject(struct GPUIndexBuf *elem); | ||||
| PyObject *bpygpu_IndexBuf_new(PyTypeObject *type, PyObject *args, PyObject *kwds); | |||||
| #endif /* __GPU_PY_ELEMENT_H__ */ | #endif /* __GPU_PY_ELEMENT_H__ */ | ||||