Class pyglet.graphics.allocation.AllocatorMemoryException

exceptions.Exception --+
                       |
                      AllocatorMemoryException

The buffer is not large enough to fulfil an allocation.

Raised by Allocator methods when the operation failed due to lack of buffer space. The buffer should be increased to at least requested_capacity and then the operation retried (guaranteed to pass second time).

Methods

  __init__(self, requested_capacity)
Inherited from exceptions.Exception: __getitem__, __str__

Method Details

__init__

(Constructor) __init__(self, requested_capacity)
Overrides:
exceptions.Exception.__init__