Blender  V3.3
gpu_py_api.c File Reference
#include <Python.h>
#include "BLI_utildefines.h"
#include "gpu_py_capabilities.h"
#include "gpu_py_matrix.h"
#include "gpu_py_platform.h"
#include "gpu_py_select.h"
#include "gpu_py_state.h"
#include "gpu_py_types.h"
#include "gpu_py_api.h"

Go to the source code of this file.

GPU Module

static struct PyModuleDef pygpu_module_def
 
 PyDoc_STRVAR (pygpu_doc, "This module provides Python wrappers for the GPU implementation in Blender.\n" "Some higher level functions can be found in the `gpu_extras` module.")
 
PyObject * BPyInit_gpu (void)
 

Detailed Description

Experimental Python API, not considered public yet (called '_gpu'), we may re-expose as public later.

Definition in file gpu_py_api.c.

Function Documentation

◆ BPyInit_gpu()

PyObject* BPyInit_gpu ( void  )

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( pygpu_doc  ,
"This module provides Python wrappers for the GPU implementation in Blender.\n" "Some higher level functions can be found in the `gpu_extras` module."   
)

Variable Documentation

◆ pygpu_module_def

struct PyModuleDef pygpu_module_def
static
Initial value:
= {
PyModuleDef_HEAD_INIT,
.m_name = "gpu",
.m_doc = pygpu_doc,
}

Definition at line 30 of file gpu_py_api.c.

Referenced by BPyInit_gpu().