IndexBufferContext¶
-
class IndexBufferContext¶
Bases:
BufferContext,AdaptiveLruPageThis 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
digraph inheritanceceb39efb56 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "AdaptiveLruPage" [URL="acron.core.AdaptiveLruPage.html#acron.core.AdaptiveLruPage",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "AdaptiveLruPage" [arrowsize=0.75,style=""]; "BufferContext" [URL="acron.core.BufferContext.html#acron.core.BufferContext",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "SavedContext" -> "BufferContext" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "IndexBufferContext" [URL="acron.core.IndexBufferContext.html#acron.core.IndexBufferContext",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "BufferContext" -> "IndexBufferContext" [arrowsize=0.75,style=""]; "AdaptiveLruPage" -> "IndexBufferContext" [arrowsize=0.75,style=""]; "SavedContext" [URL="acron.core.SavedContext.html#acron.core.SavedContext",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "SavedContext" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; }- IndexBufferContext.changed_size()¶
Returns true if the data has changed size since the last time mark_loaded() was called.
- IndexBufferContext.changed_usage_hint()¶
Returns true if the data has changed its usage hint since the last time mark_loaded() was called.
- static IndexBufferContext.get_class_type()¶
- IndexBufferContext.get_data()¶
Returns the pointer to the client-side array data object.
- IndexBufferContext.was_modified()¶
Returns true if the data has been modified since the last time mark_loaded() was called.