diff options
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/IZBuffer.h')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/IZBuffer.h | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/IZBuffer.h b/libraries/irrlicht-1.8/source/Irrlicht/IZBuffer.h index 2c235a8..e30e876 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/IZBuffer.h +++ b/libraries/irrlicht-1.8/source/Irrlicht/IZBuffer.h | |||
@@ -1,47 +1,47 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #ifndef __I_Z_BUFFER_H_INCLUDED__ | 5 | #ifndef __I_Z_BUFFER_H_INCLUDED__ |
6 | #define __I_Z_BUFFER_H_INCLUDED__ | 6 | #define __I_Z_BUFFER_H_INCLUDED__ |
7 | 7 | ||
8 | #include "IReferenceCounted.h" | 8 | #include "IReferenceCounted.h" |
9 | #include "dimension2d.h" | 9 | #include "dimension2d.h" |
10 | #include "S2DVertex.h" | 10 | #include "S2DVertex.h" |
11 | 11 | ||
12 | namespace irr | 12 | namespace irr |
13 | { | 13 | { |
14 | namespace video | 14 | namespace video |
15 | { | 15 | { |
16 | class IZBuffer : public virtual IReferenceCounted | 16 | class IZBuffer : public virtual IReferenceCounted |
17 | { | 17 | { |
18 | public: | 18 | public: |
19 | 19 | ||
20 | //! destructor | 20 | //! destructor |
21 | virtual ~IZBuffer() {}; | 21 | virtual ~IZBuffer() {}; |
22 | 22 | ||
23 | //! clears the zbuffer | 23 | //! clears the zbuffer |
24 | virtual void clear() = 0; | 24 | virtual void clear() = 0; |
25 | 25 | ||
26 | //! sets the new size of the zbuffer | 26 | //! sets the new size of the zbuffer |
27 | virtual void setSize(const core::dimension2d<u32>& size) = 0; | 27 | virtual void setSize(const core::dimension2d<u32>& size) = 0; |
28 | 28 | ||
29 | //! returns the size of the zbuffer | 29 | //! returns the size of the zbuffer |
30 | virtual const core::dimension2d<u32>& getSize() const = 0; | 30 | virtual const core::dimension2d<u32>& getSize() const = 0; |
31 | 31 | ||
32 | //! locks the zbuffer | 32 | //! locks the zbuffer |
33 | virtual TZBufferType* lock() = 0; | 33 | virtual TZBufferType* lock() = 0; |
34 | 34 | ||
35 | //! unlocks the zbuffer | 35 | //! unlocks the zbuffer |
36 | virtual void unlock() = 0; | 36 | virtual void unlock() = 0; |
37 | }; | 37 | }; |
38 | 38 | ||
39 | 39 | ||
40 | //! creates a ZBuffer | 40 | //! creates a ZBuffer |
41 | IZBuffer* createZBuffer(const core::dimension2d<u32>& size); | 41 | IZBuffer* createZBuffer(const core::dimension2d<u32>& size); |
42 | 42 | ||
43 | } // end namespace video | 43 | } // end namespace video |
44 | } // end namespace irr | 44 | } // end namespace irr |
45 | 45 | ||
46 | #endif | 46 | #endif |
47 | 47 | ||