|
Blender V4.3
|
#include <Python.h>#include "BLI_string.h"#include "GPU_context.hh"#include "GPU_uniform_buffer.hh"#include "../generic/python_compat.hh"#include "gpu_py.hh"#include "gpu_py_uniformbuffer.hh"Go to the source code of this file.
Functions | |
Public API | |
| PyObject * | BPyGPUUniformBuf_CreatePyObject (GPUUniformBuf *ubo) |
GPUUniformBuf Common Utilities | |
| #define | BPYGPU_UNIFORMBUF_CHECK_OBJ(bpygpu) |
| static int | pygpu_uniformbuffer_valid_check (BPyGPUUniformBuf *bpygpu_ub) |
GPUUniformBuf Type | |
| static PyGetSetDef | pygpu_uniformbuffer__tp_getseters [] |
| static PyMethodDef | pygpu_uniformbuffer__tp_methods [] |
| PyTypeObject | BPyGPUUniformBuf_Type |
| static PyObject * | pygpu_uniformbuffer__tp_new (PyTypeObject *, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (pygpu_uniformbuffer_update_doc, ".. method:: update(data)\n" "\n" " Update the data of the uniform buffer object.\n") | |
| static PyObject * | pygpu_uniformbuffer_update (BPyGPUUniformBuf *self, PyObject *obj) |
| static void | BPyGPUUniformBuf__tp_dealloc (BPyGPUUniformBuf *self) |
| PyDoc_STRVAR (pygpu_uniformbuffer__tp_doc, ".. class:: GPUUniformBuf(data)\n" "\n" " This object gives access to off uniform buffers.\n" "\n" " :arg data: Data to fill the buffer.\n" " :type data: object exposing buffer interface\n") | |
This file defines the uniform buffer functionalities of the 'gpu' module
bpygpu_ for local API.BPyGPU for public API. Definition in file gpu_py_uniformbuffer.cc.
| #define BPYGPU_UNIFORMBUF_CHECK_OBJ | ( | bpygpu | ) |
Definition at line 45 of file gpu_py_uniformbuffer.cc.
Referenced by pygpu_uniformbuffer_update().
|
static |
Definition at line 147 of file gpu_py_uniformbuffer.cc.
References GPU_uniformbuf_free(), and self.
| PyObject * BPyGPUUniformBuf_CreatePyObject | ( | GPUUniformBuf * | ubo | ) |
Definition at line 234 of file gpu_py_uniformbuffer.cc.
References BPyGPUUniformBuf_Type, and self.
Referenced by pygpu_uniformbuffer__tp_new().
| PyDoc_STRVAR | ( | pygpu_uniformbuffer__tp_doc | , |
| ".. class:: GPUUniformBuf(data)\n" "\n" " This object gives access to off uniform buffers.\n" "\n" " :arg data: Data to fill the buffer.\n" " :type data: object exposing buffer interface\n" | ) |
| PyDoc_STRVAR | ( | pygpu_uniformbuffer_update_doc | , |
| ".. method:: update(data)\n" "\n" " Update the data of the uniform buffer object.\n" | ) |
|
static |
Definition at line 59 of file gpu_py_uniformbuffer.cc.
References BPYGPU_IS_INIT_OR_ERROR_OBJ, BPyGPUUniformBuf_CreatePyObject(), GPU_context_active_get(), GPU_uniformbuf_create_ex(), PY_ARG_PARSER_HEAD_COMPAT, and STRNCPY.
|
static |
Definition at line 114 of file gpu_py_uniformbuffer.cc.
References BPYGPU_UNIFORMBUF_CHECK_OBJ, GPU_uniformbuf_update(), and self.
|
static |
Definition at line 30 of file gpu_py_uniformbuffer.cc.
References BPYGPU_USE_GPUOBJ_FREE_METHOD, BPyGPUUniformBuf::ubo, and UNLIKELY.
| PyTypeObject BPyGPUUniformBuf_Type |
Definition at line 176 of file gpu_py_uniformbuffer.cc.
Referenced by bpygpu_types_init(), BPyGPUUniformBuf_CreatePyObject(), and pygpu_shader_uniform_block().
|
static |
Definition at line 155 of file gpu_py_uniformbuffer.cc.
|
static |
Definition at line 159 of file gpu_py_uniformbuffer.cc.