Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Protected Attributes
render::PixelBuffer Class Reference

Class for pixel buffers, still abstract. More...

#include <PixelBuffer.h>

Inheritance diagram for render::PixelBuffer:
resource::Buffer render::HardwarePixelBuffer render::MemoryPixelBuffer

List of all members.

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

Detailed Description

Class for pixel buffers, still abstract.


Constructor & Destructor Documentation

render::PixelBuffer::PixelBuffer ( u32  width,
u32  height,
u32  depth,
resource::PixelFormat  format,
resource::BufferUsage  usage,
bool  systemMemory,
bool  useShadowBuffer 
)
render::PixelBuffer::~PixelBuffer ( ) [virtual]

Member Function Documentation

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.


Member Data Documentation

Referenced by PixelBuffer().

Referenced by PixelBuffer().

Referenced by PixelBuffer().


The documentation for this class was generated from the following files:

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:09 by Doxygen (1.7.4)