Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
Class for pixel buffers, still abstract. More...
#include <PixelBuffer.h>
Public Member Functions | |
u32 | getDepth () |
Returns the depth of the texture. | |
u32 | getHeight () |
Returns the height of the texture. | |
resource::PixelFormat | getPixelFormat () const |
Returns the pixel format for the texture surface. | |
u32 | getWidth () |
Returns the width of the texture. | |
PixelBuffer (u32 width, u32 height, u32 depth, resource::PixelFormat format, resource::BufferUsage usage, bool systemMemory, bool useShadowBuffer) | |
virtual | ~PixelBuffer () |
Protected Attributes | |
u32 | mDepth |
u32 | mHeight |
resource::PixelFormat | mPixelFormat |
u32 | mWidth |
Class for pixel buffers, still abstract.
render::PixelBuffer::PixelBuffer | ( | u32 | width, |
u32 | height, | ||
u32 | depth, | ||
resource::PixelFormat | format, | ||
resource::BufferUsage | usage, | ||
bool | systemMemory, | ||
bool | useShadowBuffer | ||
) |
References resource::PixelUtil::getNumElemBytes(), mHeight, mPixelFormat, resource::Buffer::mSizeInBytes, and mWidth.
render::PixelBuffer::~PixelBuffer | ( | ) | [virtual] |
References resource::Buffer::mShadowBuffer.
u32 render::PixelBuffer::getDepth | ( | ) |
Returns the depth of the texture.
u32 render::PixelBuffer::getHeight | ( | ) |
Returns the height of the texture.
resource::PixelFormat render::PixelBuffer::getPixelFormat | ( | ) | const |
Returns the pixel format for the texture surface.
u32 render::PixelBuffer::getWidth | ( | ) |
Returns the width of the texture.
u32 render::PixelBuffer::mDepth [protected] |
u32 render::PixelBuffer::mHeight [protected] |
Referenced by PixelBuffer().
Referenced by PixelBuffer().
u32 render::PixelBuffer::mWidth [protected] |
Referenced by PixelBuffer().
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:09 by
Doxygen
(1.7.4)
|