Promote PrimitiveSetIndirect's VBO to a target explicited DIBO (in order to benefit from BOSet queue management)
This commit is contained in:
@@ -635,6 +635,28 @@ class OSG_EXPORT ElementBufferObject : public BufferObject
|
||||
virtual ~ElementBufferObject();
|
||||
};
|
||||
|
||||
class OSG_EXPORT DrawIndirectBufferObject : public BufferObject
|
||||
{
|
||||
public:
|
||||
|
||||
DrawIndirectBufferObject();
|
||||
|
||||
/** Copy constructor using CopyOp to manage deep vs shallow copy.*/
|
||||
DrawIndirectBufferObject(const DrawIndirectBufferObject& vbo,const CopyOp& copyop=CopyOp::SHALLOW_COPY);
|
||||
|
||||
META_Object(osg,DrawIndirectBufferObject);
|
||||
|
||||
unsigned int addArray(osg::Array* array);
|
||||
void removeArray(osg::Array* array);
|
||||
|
||||
void setArray(unsigned int i, Array* array);
|
||||
Array* getArray(unsigned int i);
|
||||
const Array* getArray(unsigned int i) const;
|
||||
|
||||
protected:
|
||||
virtual ~DrawIndirectBufferObject();
|
||||
};
|
||||
|
||||
class Image;
|
||||
class OSG_EXPORT PixelBufferObject : public BufferObject
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user