This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
+30
View File
@@ -0,0 +1,30 @@
#ifndef I_DATA_BUFFER_H__
#define I_DATA_BUFFER_H__
#include "IDataStream.h"
#include "IResource.h"
namespace LifeGraphics
{
enum IBufferLockFlags
{
LF_None = 0,
LF_DoNotCopyData = 1,
LF_ReadOnly = 16,
LF_NoSystemLock = 2048,
LF_NoOverwrite = 4096,
LF_Discard = 8192,
LF_DoNotWait = 16384,
LF_NoDirtyUpdate = 32768,
};
class IDataBuffer : public IResource
{
public:
virtual ~IDataBuffer(){}
virtual LifeCore::IDataStream* Map(int offset, int flags) = 0;
virtual void Unmap() = 0;
int length;
};
}
#endif