#include <spImageBufferFloat.hpp>
Public Member Functions | |
ImageBufferFloat () | |
ImageBufferFloat (const EPixelFormats Format, const dim::size2di &Size, u32 Depth=1, const f32 *InitBuffer=0) | |
ImageBufferFloat (const ImageBufferFloat *Original) | |
~ImageBufferFloat () | |
ImageBuffer * | copy () 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. |
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 | ( | ) |
ImageBuffer * sp::video::ImageBufferFloat::copy | ( | ) | const [virtual] |
Creates a copy of this image buffer and returns the resulting pointer.
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.