Trees | Indices | Toggle frames |
---|
Memory allocation algorithm for vertex arrays and buffers.
The region allocator is used to allocate vertex indices within a vertex domain's multiple buffers. ("Buffer" refers to any abstract buffer presented by pyglet.graphics.vertexbuffer.
The allocator will at times request more space from the buffers. The current policy is to double the buffer size when there is not enough room to fulfil an allocation. The buffer is never resized smaller.
The allocator maintains references to free space only; it is the caller's responsibility to maintain the allocated regions.
AllocatorMemoryException
The buffer is not large enough to fulfil an allocation.
|
|
Allocator
Buffer space allocation implementation.
|
__package__ = None
|
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:17 2009 | http://epydoc.sourceforge.net |