24class EXPCL_PANDADX DXIndexBufferContext9 :
public IndexBufferContext {
26 DXIndexBufferContext9(PreparedGraphicsObjects *pgo,
GeomPrimitive *data);
27 virtual ~DXIndexBufferContext9();
36 IDirect3DIndexBuffer9 *_ibuffer;
43 static void init_type() {
44 IndexBufferContext::init_type();
46 IndexBufferContext::get_class_type());
49 return get_class_type();
51 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
virtual void evict_lru()
Evicts the page from the LRU.
bool upload_data(const GeomPrimitivePipelineReader *reader, bool force)
Copies the latest data from the client store to DirectX.
void allocate_ibuffer(DXScreenData &scrn, const GeomPrimitivePipelineReader *reader)
Allocates index buffer memory.
void create_ibuffer(DXScreenData &scrn, const GeomPrimitivePipelineReader *reader)
Creates a new index buffer (but does not upload data to it).
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...