|
Blender V5.3
|
#include <Python.h>#include "GPU_index_buffer.hh"#include "MEM_guardedalloc.h"#include "../generic/py_capi_utils.hh"#include "../generic/python_compat.hh"#include "gpu_py.hh"#include "gpu_py_element.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
Public API | |
| PyObject * | blender::BPyGPUIndexBuf_CreatePyObject (gpu::IndexBuf *elem) |
IndexBuf Type | |
| PyTypeObject | blender::BPyGPUIndexBuf_Type |
| static PyObject * | blender::pygpu_IndexBuf__tp_new (PyTypeObject *, PyObject *args, PyObject *kwds) |
| static void | blender::pygpu_IndexBuf__tp_dealloc (BPyGPUIndexBuf *self) |
| blender::PyDoc_STRVAR (pygpu_IndexBuf__tp_doc, ".. class:: GPUIndexBuf\n" "\n" " Contains an index buffer.\n" "\n" " .. method:: __init__(type, seq)\n" "\n" " :param type: The primitive type this index buffer is composed of.\n" " :type type: Literal['POINTS', 'LINES', 'TRIS', 'LINES_ADJ', 'TRIS_ADJ']\n" " :param seq: Indices this index buffer will contain.\n" " Whether a 1D or 2D sequence is required depends on the type.\n" " Optionally the sequence can support the buffer protocol.\n" " :type seq: Buffer | Sequence[int] | Sequence[Sequence[int]]\n") | |
Definition in file gpu_py_element.cc.