Blender V5.3
gpu_py_api.cc File Reference
#include <Python.h>
#include "../generic/py_capi_utils.hh"
#include "gpu_py_capabilities.hh"
#include "gpu_py_compute.hh"
#include "gpu_py_matrix.hh"
#include "gpu_py_platform.hh"
#include "gpu_py_select.hh"
#include "gpu_py_state.hh"
#include "gpu_py_types.hh"
#include "BKE_global.hh"
#include "GPU_context.hh"
#include "GPU_init_exit.hh"
#include "WM_api.hh"
#include "gpu_py_api.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

GPU Module

static PyMethodDef blender::pygpu_tp_methods []
static PyModuleDef blender::pygpu_module_def
 blender::PyDoc_STRVAR (pygpu_init_doc, ".. function:: init()\n" "\n" " Initializes the GPU module for background use.\n" " If the initialization fails, a SystemError will be raised.\n")
static PyObject * blender::pygpu_init (PyObject *)
 blender::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 :mod:`gpu_extras` module.\n")
PyObject * blender::BPyInit_gpu ()

Detailed Description

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

  • Use bpygpu_ for local API.
  • Use BPyGPU for public API.

Definition in file gpu_py_api.cc.