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
-
bool changed_size(GeomPrimitivePipelineReader const *reader) const
Returns true if the data has changed size since the last time mark_loaded() was called.
-
bool changed_usage_hint(GeomPrimitivePipelineReader const *reader) const
Returns true if the data has changed its usage hint since the last time mark_loaded() was called.
-
static TypeHandle get_class_type(void)
-
GeomPrimitive *get_data(void) const
Returns the pointer to the client-side array data object.
-
bool was_modified(GeomPrimitivePipelineReader const *reader) const
Returns true if the data has been modified since the last time mark_loaded() was called.
-
bool changed_size(GeomPrimitivePipelineReader const *reader) const