Laid the basis for rendering

This commit is contained in:
Lynix
2012-05-02 16:45:44 +02:00
parent e8ef4b59da
commit 7d117ce97c
25 changed files with 412 additions and 95 deletions

View File

@@ -55,6 +55,9 @@ class NAZARA_API NzBuffer : public NzResource
bool Fill(const void* data, unsigned int offset, unsigned int length);
void* GetBufferPtr();
const void* GetBufferPtr() const;
NzBufferImpl* GetImpl() const;
unsigned int GetLength() const;
unsigned int GetSize() const;
nzBufferStorage GetStorage() const;
@@ -67,7 +70,7 @@ class NAZARA_API NzBuffer : public NzResource
void* Lock(nzBufferLock lock, unsigned int offset = 0, unsigned int length = 0);
bool Unlock();
static bool IsHardwareSupported();
static bool IsSupported(nzBufferStorage storage);
private:
nzBufferStorage m_storage;