|
Blender V4.3
|
#include <gpu_py_buffer.hh>
Public Attributes | ||
| PyObject_VAR_HEAD PyObject * | parent | |
| int | format | |
| int | shape_len | |
| Py_ssize_t * | shape | |
| union { | ||
| char * as_byte | ||
| int * as_int | ||
| uint * as_uint | ||
| float * as_float | ||
| void * as_void | ||
| } | buf | |
Buffer Object
For Python access to GPU functions requiring a pointer.
Definition at line 22 of file gpu_py_buffer.hh.
| char* BPyGPUBuffer::as_byte |
Definition at line 31 of file gpu_py_buffer.hh.
| float* BPyGPUBuffer::as_float |
Definition at line 34 of file gpu_py_buffer.hh.
| int* BPyGPUBuffer::as_int |
Definition at line 32 of file gpu_py_buffer.hh.
| uint* BPyGPUBuffer::as_uint |
Definition at line 33 of file gpu_py_buffer.hh.
| void* BPyGPUBuffer::as_void |
Definition at line 36 of file gpu_py_buffer.hh.
Referenced by pygpu_buffer_make_from_data(), pygpu_framebuffer_read_color(), pygpu_framebuffer_read_depth(), and pygpu_texture__tp_new().
| union { ... } BPyGPUBuffer::buf |
| int BPyGPUBuffer::format |
Definition at line 26 of file gpu_py_buffer.hh.
Referenced by bpygpu_Buffer_size(), pygpu_buffer_make_from_data(), pygpu_framebuffer_read_color(), pygpu_framebuffer_read_depth(), and pygpu_texture__tp_new().
| PyObject_VAR_HEAD PyObject* BPyGPUBuffer::parent |
Definition at line 24 of file gpu_py_buffer.hh.
Referenced by pygpu_buffer__tp_is_gc(), and pygpu_buffer_make_from_data().
| Py_ssize_t* BPyGPUBuffer::shape |
Definition at line 28 of file gpu_py_buffer.hh.
Referenced by bpygpu_Buffer_size(), pygpu_buffer__sq_ass_item(), and pygpu_buffer_make_from_data().
| int BPyGPUBuffer::shape_len |
Definition at line 27 of file gpu_py_buffer.hh.
Referenced by bpygpu_Buffer_size(), and pygpu_buffer_make_from_data().