IndexBufferContext

from panda3d.core import IndexBufferContext
class IndexBufferContext

Bases: BufferContext, AdaptiveLruPage

This is a special class object that holds all the information returned by a particular GSG to indicate the vertex data array’s internal context identifier.

This allows the GSG to cache the vertex data array in whatever way makes sense. For instance, DirectX can allocate a vertex buffer for the array. OpenGL can create a buffer object.

Inheritance diagram

Inheritance diagram of IndexBufferContext

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

getData()

C++ Interface: get_data(IndexBufferContext self)

/**
  • Returns the pointer to the client-side array data object.

*/

get_class_type()

C++ Interface: get_class_type()

get_data()

C++ Interface: get_data(IndexBufferContext self)

/**
  • Returns the pointer to the client-side array data object.

*/

upcastToAdaptiveLruPage()

C++ Interface: upcast_to_AdaptiveLruPage(const IndexBufferContext self)

upcast from IndexBufferContext to AdaptiveLruPage

upcastToBufferContext()

C++ Interface: upcast_to_BufferContext(const IndexBufferContext self)

upcast from IndexBufferContext to BufferContext

upcast_to_AdaptiveLruPage()

C++ Interface: upcast_to_AdaptiveLruPage(const IndexBufferContext self)

upcast from IndexBufferContext to AdaptiveLruPage

upcast_to_BufferContext()

C++ Interface: upcast_to_BufferContext(const IndexBufferContext self)

upcast from IndexBufferContext to BufferContext