Package glitter :: Package arrays :: Module elementarray :: Class ElementArrayBuffer
[hide private]
[frames] | no frames]

Class ElementArrayBuffer

source code

              object --+            
                       |            
  utils.objects.GLObject --+        
                           |        
 utils.objects.ManagedObject --+    
                               |    
              object --+       |    
                       |       |    
  utils.objects.GLObject --+   |    
                           |   |    
              object --+   |   |    
                       |   |   |    
utils.objects.StateMixin --+   |    
                           |   |    
utils.objects.BindableObject --+    
                               |    
           basebuffer.BaseBuffer --+
                                   |
                                  ElementArrayBuffer

Instance Methods [hide private]
 
set_data(self, data=None, shape=None, dtype=None, usage=None) source code
 
draw(self, mode=None, count=None, first=0, instances=None) source code

Inherited from basebuffer.BaseBuffer: __init__, __len__, get_data

Inherited from utils.objects.ManagedObject: __del__

Inherited from utils.objects.BindableObject: __enter__, __exit__, bind

Inherited from utils.objects.StateMixin: __call__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _binding = 'element_array_buffer_binding'
Name of the corresponding property in the Context.
  _target = GL_ELEMENT_ARRAY_BUFFER(34963)

Inherited from basebuffer.BaseBuffer: drawmodes, usages

Inherited from basebuffer.BaseBuffer (private): _db, _delete_id, _generate_id

Inherited from utils.objects.ManagedObject (private): _type

Instance Variables [hide private]

Inherited from utils.objects.ManagedObject (private): _id

Inherited from utils.objects.BindableObject (private): _stack

Inherited from utils.objects.GLObject (private): _context

Properties [hide private]

Inherited from basebuffer.BaseBuffer: data, dtype, shape, usage

Inherited from basebuffer.BaseBuffer (private): _size

Inherited from utils.objects.GLObject: context

Inherited from object: __class__

Method Details [hide private]

set_data(self, data=None, shape=None, dtype=None, usage=None)

source code 
Overrides: basebuffer.BaseBuffer.set_data