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

Go to the source code of this file.

Classes

struct  BPyGPUFrameBuffer

Namespaces

namespace  blender
namespace  blender::gpu

Macros

#define BPyGPUFrameBuffer_Check(v)

Functions

PyObject * BPyGPUFrameBuffer_CreatePyObject (blender::gpu::FrameBuffer *fb, bool shared_reference) ATTR_NONNULL(1)

Variables

PyTypeObject BPyGPUFrameBuffer_Type

Macro Definition Documentation

◆ BPyGPUFrameBuffer_Check

#define BPyGPUFrameBuffer_Check ( v)
Value:
(Py_TYPE(v) == &BPyGPUFrameBuffer_Type)
ATTR_WARN_UNUSED_RESULT const BMVert * v
PyTypeObject BPyGPUFrameBuffer_Type

Definition at line 21 of file gpu_py_framebuffer.hh.

Function Documentation

◆ BPyGPUFrameBuffer_CreatePyObject()

PyObject * BPyGPUFrameBuffer_CreatePyObject ( blender::gpu::FrameBuffer * fb,
bool shared_reference )
nodiscard

Variable Documentation

◆ BPyGPUFrameBuffer_Type

PyTypeObject BPyGPUFrameBuffer_Type
extern

Definition at line 824 of file gpu_py_framebuffer.cc.

Referenced by bpygpu_types_init(), and BPyGPUFrameBuffer_CreatePyObject().