panda3d.core.VertexDataBlock

from panda3d.core import VertexDataBlock
class VertexDataBlock

Bases: SimpleAllocatorBlock, ReferenceCount

A block of bytes that stores the actual raw vertex data referenced by a GeomVertexArrayData object.

Inheritance diagram

Inheritance diagram of VertexDataBlock

getPage() → VertexDataPage

Returns the page from which this buffer was allocated.

Return type

VertexDataPage

getNextBlock() → VertexDataBlock

Returns a pointer to the next allocated block in the chain, or NULL if there are no more allocated blocks.

Return type

VertexDataBlock