X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=include%2FIMeshBuffer.h;h=a2cd13a46bc66ed7766c80788f2564c7bf7e7c01;hb=fc0440ff8900aeb71af7ce3bc6d44464e0cca727;hp=488eb029dc949ff2ceab1342c0f871c8265c93bd;hpb=2ae2a551a6290f46734307bbfdafea4b1a2cf2ba;p=irrlicht.git diff --git a/include/IMeshBuffer.h b/include/IMeshBuffer.h index 488eb02..a2cd13a 100644 --- a/include/IMeshBuffer.h +++ b/include/IMeshBuffer.h @@ -145,6 +145,10 @@ namespace scene /** This shouldn't be used for anything outside the VideoDriver. */ virtual u32 getChangedID_Index() const = 0; + //! Used by the VideoDriver to remember the buffer link. + virtual void setHWBuffer(void *ptr) const = 0; + virtual void *getHWBuffer() const = 0; + //! Describe what kind of primitive geometry is used by the meshbuffer /** Note: Default is EPT_TRIANGLES. Using other types is fine for rendering. But meshbuffer manipulation functions might expect type EPT_TRIANGLES