|
Blender V5.0
|
#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 24 of file gpu_py_buffer.hh.
| char* BPyGPUBuffer::as_byte |
Definition at line 33 of file gpu_py_buffer.hh.
| float* BPyGPUBuffer::as_float |
Definition at line 36 of file gpu_py_buffer.hh.
| int* BPyGPUBuffer::as_int |
Definition at line 34 of file gpu_py_buffer.hh.
| uint* BPyGPUBuffer::as_uint |
Definition at line 35 of file gpu_py_buffer.hh.
| void* BPyGPUBuffer::as_void |
Definition at line 38 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 28 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 26 of file gpu_py_buffer.hh.
Referenced by pygpu_buffer_make_from_data().
| Py_ssize_t* BPyGPUBuffer::shape |
Definition at line 30 of file gpu_py_buffer.hh.
Referenced by bpygpu_Buffer_size(), and pygpu_buffer_make_from_data().
| int BPyGPUBuffer::shape_len |
Definition at line 29 of file gpu_py_buffer.hh.
Referenced by bpygpu_Buffer_size(), and pygpu_buffer_make_from_data().