Blender V4.3
gpu_py_batch.hh File Reference

Go to the source code of this file.

Classes

struct  BPyGPUBatch
 

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Macros

#define USE_GPU_PY_REFERENCES
 
#define BPyGPUBatch_Check(v)   (Py_TYPE(v) == &BPyGPUBatch_Type)
 

Functions

PyObject * BPyGPUBatch_CreatePyObject (blender::gpu::Batch *batch) ATTR_NONNULL(1)
 

Variables

PyTypeObject BPyGPUBatch_Type
 

Macro Definition Documentation

◆ BPyGPUBatch_Check

#define BPyGPUBatch_Check ( v)    (Py_TYPE(v) == &BPyGPUBatch_Type)

Definition at line 21 of file gpu_py_batch.hh.

◆ USE_GPU_PY_REFERENCES

#define USE_GPU_PY_REFERENCES

Definition at line 17 of file gpu_py_batch.hh.

Function Documentation

◆ BPyGPUBatch_CreatePyObject()

PyObject * BPyGPUBatch_CreatePyObject ( blender::gpu::Batch * batch)

Definition at line 529 of file gpu_py_batch.cc.

References batch, BPyGPUBatch_Type, BPyGPUBatch::references, and self.

Referenced by pygpu_batch__tp_new().

Variable Documentation

◆ BPyGPUBatch_Type

PyTypeObject BPyGPUBatch_Type
extern

Definition at line 455 of file gpu_py_batch.cc.

Referenced by bpygpu_types_init(), and BPyGPUBatch_CreatePyObject().