|
Blender
V3.3
|
#include <gpu_py_buffer.h>
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 18 of file gpu_py_buffer.h.
| char* BPyGPUBuffer::as_byte |
Definition at line 27 of file gpu_py_buffer.h.
| float* BPyGPUBuffer::as_float |
Definition at line 30 of file gpu_py_buffer.h.
| int* BPyGPUBuffer::as_int |
Definition at line 28 of file gpu_py_buffer.h.
| uint* BPyGPUBuffer::as_uint |
Definition at line 29 of file gpu_py_buffer.h.
| void* BPyGPUBuffer::as_void |
Definition at line 32 of file gpu_py_buffer.h.
Referenced by pygpu_framebuffer_read_color(), pygpu_framebuffer_read_depth(), and pygpu_texture__tp_new().
| union { ... } BPyGPUBuffer::buf |
Referenced by pygpu_framebuffer_read_color(), pygpu_framebuffer_read_depth(), and pygpu_texture__tp_new().
| int BPyGPUBuffer::format |
Definition at line 22 of file gpu_py_buffer.h.
Referenced by pygpu_framebuffer_read_color(), pygpu_framebuffer_read_depth(), and pygpu_texture__tp_new().
| PyObject_VAR_HEAD PyObject* BPyGPUBuffer::parent |
Definition at line 20 of file gpu_py_buffer.h.
| Py_ssize_t* BPyGPUBuffer::shape |
Definition at line 24 of file gpu_py_buffer.h.
| int BPyGPUBuffer::shape_len |
Definition at line 23 of file gpu_py_buffer.h.