Blender  V3.3
Public Attributes | List of all members
BPyGPUBuffer Struct Reference

#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
 

Detailed Description

Buffer Object

For Python access to GPU functions requiring a pointer.

Definition at line 18 of file gpu_py_buffer.h.

Member Data Documentation

◆ as_byte

char* BPyGPUBuffer::as_byte

Definition at line 27 of file gpu_py_buffer.h.

◆ as_float

float* BPyGPUBuffer::as_float

Definition at line 30 of file gpu_py_buffer.h.

◆ as_int

int* BPyGPUBuffer::as_int

Definition at line 28 of file gpu_py_buffer.h.

◆ as_uint

uint* BPyGPUBuffer::as_uint

Definition at line 29 of file gpu_py_buffer.h.

◆ as_void

void* BPyGPUBuffer::as_void

◆ 

union { ... } BPyGPUBuffer::buf

◆ format

int BPyGPUBuffer::format

◆ parent

PyObject_VAR_HEAD PyObject* BPyGPUBuffer::parent

Definition at line 20 of file gpu_py_buffer.h.

◆ shape

Py_ssize_t* BPyGPUBuffer::shape

Definition at line 24 of file gpu_py_buffer.h.

◆ shape_len

int BPyGPUBuffer::shape_len

Definition at line 23 of file gpu_py_buffer.h.


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