Blender V5.3
gpu_py_compute.cc File Reference
#include <Python.h>
#include "GPU_capabilities.hh"
#include "GPU_compute.hh"
#include "GPU_state.hh"
#include "../generic/python_compat.hh"
#include "gpu_py.hh"
#include "gpu_py_compute.hh"
#include "gpu_py_shader.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

 blender::PyDoc_STRVAR (pygpu_compute_dispatch_doc, ".. function:: dispatch(shader, groups_x_len, groups_y_len, groups_z_len)\n" "\n" " Dispatches GPU compute.\n" "\n" " :param shader: The shader that you want to dispatch.\n" " :type shader: :class:`gpu.types.GPUShader`\n" " :param groups_x_len: Int for group x length:\n" " :type groups_x_len: int\n" " :param groups_y_len: Int for group y length:\n" " :type groups_y_len: int\n" " :param groups_z_len: Int for group z length:\n" " :type groups_z_len: int\n")
static PyObject * blender::pygpu_compute_dispatch (PyObject *, PyObject *args, PyObject *kwds)

Module

static PyMethodDef blender::pygpu_compute__tp_methods []
static PyModuleDef blender::pygpu_compute_module_def
 blender::PyDoc_STRVAR (pygpu_compute__tp_doc, "This module provides access to the global GPU compute functions.")
PyObject * blender::bpygpu_compute_init ()

Detailed Description

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

Definition in file gpu_py_compute.cc.