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

__init__(*args, **kwargs)
getNextBlock()

C++ Interface: get_next_block(VertexDataBlock self)

/**
  • Returns a pointer to the next allocated block in the chain, or NULL if

  • there are no more allocated blocks.

*/

getPage()

C++ Interface: get_page(VertexDataBlock self)

/**
  • Returns the page from which this buffer was allocated.

*/

get_next_block()

C++ Interface: get_next_block(VertexDataBlock self)

/**
  • Returns a pointer to the next allocated block in the chain, or NULL if

  • there are no more allocated blocks.

*/

get_page()

C++ Interface: get_page(VertexDataBlock self)

/**
  • Returns the page from which this buffer was allocated.

*/

upcastToReferenceCount()

C++ Interface: upcast_to_ReferenceCount(const VertexDataBlock self)

upcast from VertexDataBlock to ReferenceCount

upcastToSimpleAllocatorBlock()

C++ Interface: upcast_to_SimpleAllocatorBlock(const VertexDataBlock self)

upcast from VertexDataBlock to SimpleAllocatorBlock

upcast_to_ReferenceCount()

C++ Interface: upcast_to_ReferenceCount(const VertexDataBlock self)

upcast from VertexDataBlock to ReferenceCount

upcast_to_SimpleAllocatorBlock()

C++ Interface: upcast_to_SimpleAllocatorBlock(const VertexDataBlock self)

upcast from VertexDataBlock to SimpleAllocatorBlock