Blender V5.0
gpu_py_element.hh File Reference
#include <Python.h>

Go to the source code of this file.

Classes

struct  BPyGPUIndexBuf

Namespaces

namespace  blender
namespace  blender::gpu

Macros

#define BPyGPUIndexBuf_Check(v)

Functions

PyObject * BPyGPUIndexBuf_CreatePyObject (blender::gpu::IndexBuf *elem)

Variables

PyTypeObject BPyGPUIndexBuf_Type

Macro Definition Documentation

◆ BPyGPUIndexBuf_Check

#define BPyGPUIndexBuf_Check ( v)
Value:
(Py_TYPE(v) == &BPyGPUIndexBuf_Type)
ATTR_WARN_UNUSED_RESULT const BMVert * v
PyTypeObject BPyGPUIndexBuf_Type

Definition at line 19 of file gpu_py_element.hh.

Function Documentation

◆ BPyGPUIndexBuf_CreatePyObject()

PyObject * BPyGPUIndexBuf_CreatePyObject ( blender::gpu::IndexBuf * elem)
nodiscard

Definition at line 252 of file gpu_py_element.cc.

References BPyGPUIndexBuf_Type, and self.

Referenced by pygpu_IndexBuf__tp_new().

Variable Documentation

◆ BPyGPUIndexBuf_Type

PyTypeObject BPyGPUIndexBuf_Type
extern