|
Blender V4.3
|
#include <Python.h>#include "BLI_utildefines.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.
Functions | |
| 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" " :arg shader: The shader that you want to dispatch.\n" " :type shader: :class:`gpu.types.GPUShader`\n" " :arg groups_x_len: Int for group x length:\n" " :type groups_x_len: int\n" " :arg groups_y_len: Int for group y length:\n" " :type groups_y_len: int\n" " :arg groups_z_len: Int for group z length:\n" " :type groups_z_len: int\n" " :return: Shader object.\n" " :rtype: :class:`gpu.types.GPUShader`\n") | |
| static PyObject * | pygpu_compute_dispatch (PyObject *, PyObject *args, PyObject *kwds) |
Module | |
| static PyMethodDef | pygpu_compute__tp_methods [] |
| static PyModuleDef | pygpu_compute_module_def |
| PyDoc_STRVAR (pygpu_compute__tp_doc, "This module provides access to the global GPU compute functions") | |
| PyObject * | bpygpu_compute_init () |
bpygpu_ for local API.BPyGPU for public API. Definition in file gpu_py_compute.cc.
| PyObject * bpygpu_compute_init | ( | ) |
Definition at line 139 of file gpu_py_compute.cc.
References pygpu_compute_module_def.
Referenced by BPyInit_gpu().
| PyDoc_STRVAR | ( | pygpu_compute__tp_doc | , |
| "This module provides access to the global GPU compute functions" | ) |
| 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" " :arg shader: The shader that you want to dispatch.\n" " :type shader: :class:`gpu.types.GPUShader`\n" " :arg groups_x_len: Int for group x length:\n" " :type groups_x_len: int\n" " :arg groups_y_len: Int for group y length:\n" " :type groups_y_len: int\n" " :arg groups_z_len: Int for group z length:\n" " :type groups_z_len: int\n" " :return: Shader object.\n" " :rtype: :class:`gpu.types.GPUShader`\n" | ) |
|
static |
Definition at line 43 of file gpu_py_compute.cc.
References BPYGPU_IS_INIT_OR_ERROR_OBJ, BPyGPUShader_Check, GPU_BARRIER_SHADER_IMAGE_ACCESS, GPU_BARRIER_TEXTURE_FETCH, GPU_compute_dispatch(), GPU_max_work_group_count(), GPU_memory_barrier(), PY_ARG_PARSER_HEAD_COMPAT, and BPyGPUShader::shader.
|
static |
Definition at line 111 of file gpu_py_compute.cc.
|
static |
Definition at line 127 of file gpu_py_compute.cc.
Referenced by bpygpu_compute_init().