22 lines
387 B
C++
22 lines
387 B
C++
/*
|
|
#ifndef PixelBuffer_h__
|
|
#define PixelBuffer_h__
|
|
|
|
#include "RawBuffer.h"
|
|
#include "Types.h"
|
|
|
|
namespace LifeCore {
|
|
class PixelBuffer : public RawBuffer<uint8> {
|
|
public:
|
|
PixelBuffer(uint32 _format, uint32 _width, uint32 _height, uint8 _bpp, uint32 _stride);
|
|
private:
|
|
uint32 format;
|
|
uint32 width;
|
|
uint32 height;
|
|
uint8 bpp;
|
|
uint32 stride;
|
|
};
|
|
}
|
|
#endif // PixelBuffer_h__
|
|
*/
|