#ifndef __I_Z_BUFFER_H_INCLUDED__
#define __I_Z_BUFFER_H_INCLUDED__
#include "IReferenceCounted.h"
#include "dimension2d.h"
#include "S2DVertex.h"
namespace irr
{
namespace video
{
class IZBuffer : public virtual IReferenceCounted
{
public:
virtual ~IZBuffer() {};
virtual void clear() = 0;
virtual void setSize(const core::dimension2d<u32>& size) = 0;
virtual const core::dimension2d<u32>& getSize() const = 0;
virtual TZBufferType* lock() = 0;
virtual void unlock() = 0;
};
IZBuffer* createZBuffer(const core::dimension2d<u32>& size);
}
}
#endif