Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
00001 // Copyright 2006-2011 by Kat'Oun 00002 00003 #ifndef _PIXEL_BUFFER_H_ 00004 #define _PIXEL_BUFFER_H_ 00005 00006 #include <EngineConfig.h> 00007 #include <core/Types.h> 00008 #include <resource/Buffer.h> 00009 #include <resource/PixelFormat.h> 00010 00011 namespace render 00012 { 00013 00015 class ENGINE_PUBLIC_EXPORT PixelBuffer : public resource::Buffer 00016 { 00017 public: 00018 00019 PixelBuffer(u32 width, u32 height, u32 depth, resource::PixelFormat format, resource::BufferUsage usage, bool systemMemory, bool useShadowBuffer); 00020 00021 virtual ~PixelBuffer(); 00022 00024 u32 getWidth(); 00025 00027 u32 getHeight(); 00028 00030 u32 getDepth(); 00031 00033 resource::PixelFormat getPixelFormat() const; 00034 00035 protected: 00036 00037 u32 mWidth; 00038 u32 mHeight; 00039 u32 mDepth; 00040 00041 resource::PixelFormat mPixelFormat; 00042 }; 00043 00044 }// end namespace render 00045 00046 #endif// _PIXELBUFFER_H_
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:04 by
Doxygen
(1.7.4)
|