Blender V4.3
_Buffer Struct Reference

#include <bgl.h>

Public Attributes

PyObject_VAR_HEAD PyObject * parent
 
int type
 
int ndimensions
 
intdimensions
 
union { 
 
   char *   asbyte 
 
   short *   asshort 
 
   int *   asint 
 
   float *   asfloat 
 
   double *   asdouble 
 
   void *   asvoid 
 
buf 
 

Detailed Description

Buffer Object

For Python access to OpenGL functions requiring a pointer.

Definition at line 36 of file bgl.h.

Member Data Documentation

◆ asbyte

char* _Buffer::asbyte

Definition at line 45 of file bgl.h.

◆ asdouble

double* _Buffer::asdouble

Definition at line 49 of file bgl.h.

◆ asfloat

float* _Buffer::asfloat

Definition at line 48 of file bgl.h.

◆ asint

int* _Buffer::asint

Definition at line 47 of file bgl.h.

◆ asshort

short* _Buffer::asshort

Definition at line 46 of file bgl.h.

◆ asvoid

void* _Buffer::asvoid

Definition at line 51 of file bgl.h.

Referenced by BGL_MakeBuffer(), and BGL_MakeBuffer_FromData().

◆ [union]

union { ... } _Buffer::buf

◆ dimensions

int* _Buffer::dimensions

Definition at line 42 of file bgl.h.

Referenced by BGL_MakeBuffer_FromData(), Buffer_ass_item(), and Buffer_len().

◆ ndimensions

int _Buffer::ndimensions

Definition at line 41 of file bgl.h.

Referenced by BGL_MakeBuffer_FromData().

◆ parent

PyObject_VAR_HEAD PyObject* _Buffer::parent

Definition at line 38 of file bgl.h.

Referenced by BGL_MakeBuffer_FromData().

◆ type

int _Buffer::type

Definition at line 40 of file bgl.h.

Referenced by BGL_MakeBuffer_FromData().


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