Blender V5.0
gpu_py_vertex_buffer.hh File Reference
#include <Python.h>
#include "BLI_compiler_attrs.h"

Go to the source code of this file.

Classes

struct  BPyGPUVertBuf

Namespaces

namespace  blender
namespace  blender::gpu

Macros

#define BPyGPUVertBuf_Check(v)

Functions

PyObject * BPyGPUVertBuf_CreatePyObject (blender::gpu::VertBuf *buf) ATTR_NONNULL(1)

Variables

PyTypeObject BPyGPUVertBuf_Type

Macro Definition Documentation

◆ BPyGPUVertBuf_Check

#define BPyGPUVertBuf_Check ( v)
Value:
(Py_TYPE(v) == &BPyGPUVertBuf_Type)
ATTR_WARN_UNUSED_RESULT const BMVert * v
PyTypeObject BPyGPUVertBuf_Type

Definition at line 21 of file gpu_py_vertex_buffer.hh.

Referenced by pygpu_batch_vertbuf_add().

Function Documentation

◆ BPyGPUVertBuf_CreatePyObject()

PyObject * BPyGPUVertBuf_CreatePyObject ( blender::gpu::VertBuf * buf)
nodiscard

Definition at line 420 of file gpu_py_vertex_buffer.cc.

References BPyGPUVertBuf_Type, and self.

Referenced by pygpu_vertbuf__tp_new().

Variable Documentation

◆ BPyGPUVertBuf_Type

PyTypeObject BPyGPUVertBuf_Type
extern