Blender V4.3
BPyGPUBuffer Struct Reference

#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 
 

Detailed Description

Buffer Object

For Python access to GPU functions requiring a pointer.

Definition at line 22 of file gpu_py_buffer.hh.

Member Data Documentation

◆ as_byte

char* BPyGPUBuffer::as_byte

Definition at line 31 of file gpu_py_buffer.hh.

◆ as_float

float* BPyGPUBuffer::as_float

Definition at line 34 of file gpu_py_buffer.hh.

◆ as_int

int* BPyGPUBuffer::as_int

Definition at line 32 of file gpu_py_buffer.hh.

◆ as_uint

uint* BPyGPUBuffer::as_uint

Definition at line 33 of file gpu_py_buffer.hh.

◆ as_void

◆ [union]

◆ format

◆ parent

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().

◆ shape

Py_ssize_t* BPyGPUBuffer::shape

◆ shape_len

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().


The documentation for this struct was generated from the following file: