AllocatorMemoryException

Inheritance diagram of pyglet.graphics.allocation.AllocatorMemoryException

Exception defined in pyglet.graphics.allocation

exception AllocatorMemoryException(requested_capacity)

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

Previous topic

Allocator Class

Next topic

pyglet.graphics.vertexattribute