Blender  V3.3
Classes | Macros | Typedefs | Functions | Variables
gpu_py_batch.h File Reference
#include "BLI_compiler_attrs.h"

Go to the source code of this file.

Classes

struct  BPyGPUBatch
 

Macros

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

Typedefs

typedef struct BPyGPUBatch BPyGPUBatch
 

Functions

PyObject * BPyGPUBatch_CreatePyObject (struct GPUBatch *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 15 of file gpu_py_batch.h.

◆ USE_GPU_PY_REFERENCES

#define USE_GPU_PY_REFERENCES

Definition at line 11 of file gpu_py_batch.h.

Typedef Documentation

◆ BPyGPUBatch

typedef struct BPyGPUBatch BPyGPUBatch

Function Documentation

◆ BPyGPUBatch_CreatePyObject()

PyObject* BPyGPUBatch_CreatePyObject ( struct GPUBatch batch)

Definition at line 329 of file gpu_py_batch.c.

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

Referenced by pygpu_batch__tp_new().

Variable Documentation

◆ BPyGPUBatch_Type

PyTypeObject BPyGPUBatch_Type
extern

Definition at line 307 of file gpu_py_batch.c.

Referenced by bpygpu_types_init(), and BPyGPUBatch_CreatePyObject().