VertexBufferContext
from panda3d.core import VertexBufferContext
- class VertexBufferContext
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
- __init__(*args, **kwargs)
- changedSize()
C++ Interface: changed_size(VertexBufferContext self, const GeomVertexArrayDataHandle reader)
- /**
Returns true if the data has changed size since the last time mark_loaded()
was called.
*/
- changedUsageHint()
C++ Interface: changed_usage_hint(VertexBufferContext self, const GeomVertexArrayDataHandle reader)
- /**
Returns true if the data has changed its usage hint since the last time
mark_loaded() was called.
*/
- changed_size()
C++ Interface: changed_size(VertexBufferContext self, const GeomVertexArrayDataHandle reader)
- /**
Returns true if the data has changed size since the last time mark_loaded()
was called.
*/
- changed_usage_hint()
C++ Interface: changed_usage_hint(VertexBufferContext self, const GeomVertexArrayDataHandle reader)
- /**
Returns true if the data has changed its usage hint since the last time
mark_loaded() was called.
*/
- getClassType()
C++ Interface: get_class_type()
- getData()
C++ Interface: get_data(VertexBufferContext 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(VertexBufferContext self)
- /**
Returns the pointer to the client-side array data object.
*/
- upcastToAdaptiveLruPage()
C++ Interface: upcast_to_AdaptiveLruPage(const VertexBufferContext self)
upcast from VertexBufferContext to AdaptiveLruPage
- upcastToBufferContext()
C++ Interface: upcast_to_BufferContext(const VertexBufferContext self)
upcast from VertexBufferContext to BufferContext
- upcast_to_AdaptiveLruPage()
C++ Interface: upcast_to_AdaptiveLruPage(const VertexBufferContext self)
upcast from VertexBufferContext to AdaptiveLruPage
- upcast_to_BufferContext()
C++ Interface: upcast_to_BufferContext(const VertexBufferContext self)
upcast from VertexBufferContext to BufferContext