Blender
V3.3
|
#include <Python.h>
#include "BLI_utildefines.h"
#include "GPU_platform.h"
#include "gpu_py_platform.h"
Go to the source code of this file.
Functions | |
Functions | |
PyDoc_STRVAR (pygpu_platform_vendor_get_doc, ".. function:: vendor_get()\n" "\n" " Get GPU vendor.\n" "\n" " :return: Vendor name.\n" " :rtype: str\n") | |
static PyObject * | pygpu_platform_vendor_get (PyObject *UNUSED(self)) |
PyDoc_STRVAR (pygpu_platform_renderer_get_doc, ".. function:: renderer_get()\n" "\n" " Get GPU to be used for rendering.\n" "\n" " :return: GPU name.\n" " :rtype: str\n") | |
static PyObject * | pygpu_platform_renderer_get (PyObject *UNUSED(self)) |
PyDoc_STRVAR (pygpu_platform_version_get_doc, ".. function:: version_get()\n" "\n" " Get GPU driver version.\n" "\n" " :return: Driver version.\n" " :rtype: str\n") | |
static PyObject * | pygpu_platform_version_get (PyObject *UNUSED(self)) |
Module | |
static struct PyMethodDef | pygpu_platform__tp_methods [] |
static PyModuleDef | pygpu_platform_module_def |
PyDoc_STRVAR (pygpu_platform__tp_doc, "This module provides access to GPU Platform definitions.") | |
PyObject * | bpygpu_platform_init (void) |
bpygpu_
for local API.BPyGPU
for public API. Definition in file gpu_py_platform.c.
PyObject* bpygpu_platform_init | ( | void | ) |
Definition at line 88 of file gpu_py_platform.c.
References pygpu_platform_module_def.
Referenced by BPyInit_gpu().
PyDoc_STRVAR | ( | pygpu_platform__tp_doc | , |
"This module provides access to GPU Platform definitions." | |||
) |
PyDoc_STRVAR | ( | pygpu_platform_renderer_get_doc | , |
".. function:: renderer_get()\n" "\n" " Get GPU to be used for rendering.\n" "\n" " :return: GPU name.\n" " :rtype: str\n" | |||
) |
PyDoc_STRVAR | ( | pygpu_platform_vendor_get_doc | , |
".. function:: vendor_get()\n" "\n" " Get GPU vendor.\n" "\n" " :return: Vendor name.\n" " :rtype: str\n" | |||
) |
PyDoc_STRVAR | ( | pygpu_platform_version_get_doc | , |
".. function:: version_get()\n" "\n" " Get GPU driver version.\n" "\n" " :return: Driver version.\n" " :rtype: str\n" | |||
) |
|
static |
Definition at line 41 of file gpu_py_platform.c.
References GPU_platform_renderer().
|
static |
Definition at line 29 of file gpu_py_platform.c.
References GPU_platform_vendor().
|
static |
Definition at line 53 of file gpu_py_platform.c.
|
static |
Definition at line 53 of file gpu_py_platform.c.
|
static |
Definition at line 81 of file gpu_py_platform.c.
Referenced by bpygpu_platform_init().