Public Member Functions

sp::video::ImageBufferFloat Class Reference

#include <spImageBufferFloat.hpp>

Inheritance diagram for sp::video::ImageBufferFloat:
sp::video::ImageBufferContainer< f32, 1 > sp::video::ImageBuffer

List of all members.

Public Member Functions

 ImageBufferFloat ()
 ImageBufferFloat (const EPixelFormats Format, const dim::size2di &Size, u32 Depth=1, const f32 *InitBuffer=0)
 ImageBufferFloat (const ImageBufferFloat *Original)
 ~ImageBufferFloat ()
ImageBuffercopy () const
void copy (const ImageBuffer *Other)
 Copies the image bufer data into this image buffer. This can also be used to convert from UByte to Float.
void setBuffer (const void *ImageBuffer, const dim::point2di &Pos, const dim::size2di &Size)
 Sets a new sub-buffer.
void getBuffer (void *ImageBuffer, const dim::point2di &Pos, const dim::size2di &Size) const
 Gets a sub-buffer.

Constructor & Destructor Documentation

sp::video::ImageBufferFloat::ImageBufferFloat (  ) 
sp::video::ImageBufferFloat::ImageBufferFloat ( const EPixelFormats  Format,
const dim::size2di Size,
u32  Depth = 1,
const f32 InitBuffer = 0 
)
sp::video::ImageBufferFloat::ImageBufferFloat ( const ImageBufferFloat Original  ) 
sp::video::ImageBufferFloat::~ImageBufferFloat (  ) 

Member Function Documentation

ImageBuffer * sp::video::ImageBufferFloat::copy (  )  const [virtual]

Creates a copy of this image buffer and returns the resulting pointer.

Note:
Don't forget to delete this object!

Implements sp::video::ImageBuffer.

void sp::video::ImageBufferFloat::copy ( const ImageBuffer Other  )  [virtual]

Copies the image bufer data into this image buffer. This can also be used to convert from UByte to Float.

Implements sp::video::ImageBuffer.

void sp::video::ImageBufferFloat::getBuffer ( void *  ImageBuffer,
const dim::point2di Pos,
const dim::size2di Size 
) const [virtual]

Gets a sub-buffer.

Implements sp::video::ImageBuffer.

void sp::video::ImageBufferFloat::setBuffer ( const void *  ImageBuffer,
const dim::point2di Pos,
const dim::size2di Size 
) [virtual]

Sets a new sub-buffer.

Implements sp::video::ImageBuffer.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines