add a virtual getBufferData to Texture
This commit is contained in:
@@ -84,11 +84,11 @@ class OSG_EXPORT TextureBuffer : public Texture
|
||||
/** Bind the texture buffer.*/
|
||||
virtual void apply(State& state) const;
|
||||
|
||||
/** Set setBufferData attached */
|
||||
/** Set BufferData attached */
|
||||
void setBufferData(BufferData *bo);
|
||||
|
||||
/** Set setBufferData attached */
|
||||
const BufferData * getBufferData()const {return _bufferData.get();}
|
||||
/** Get BufferData attached */
|
||||
virtual const BufferData * getBufferData() const { return _bufferData.get(); }
|
||||
protected :
|
||||
|
||||
virtual ~TextureBuffer();
|
||||
|
||||
Reference in New Issue
Block a user