class ffw::ImageBuffer

Class List > ffw :: ImageBuffer

Inherits the following classes: ffw::ImageFormat

Public Functions

Type Name
ImageBuffer ()
ImageBuffer (const ImageBuffer & other) = delete
ImageBuffer (ImageBuffer && other)
virtual ~ImageBuffer ()
bool isAllocated () const
operator bool () const
int getNumOfMipMaps () const
void swap (ImageBuffer & second)
void destroy ()
bool allocate (int w, int h, ffw::ImageType type, const void * pixels = NULL, int mips = 0)
unsigned char * getPtr ()
const unsigned char * getPtr () const
unsigned char * getMipMapPtr (int level)
const unsigned char * getMipMapPtr (int level) const
size_t getSize () const
ImageBuffer & operator= (const ImageBuffer & other) = delete
ImageBuffer & operator= (ImageBuffer && other)
bool operator== (const ImageBuffer & other) const

Public Functions Documentation

function ImageBuffer (1/3)

ffw::ImageBuffer::ImageBuffer ()

function ImageBuffer (2/3)

ffw::ImageBuffer::ImageBuffer (
    const ImageBuffer & other
) = delete

function ImageBuffer (3/3)

ffw::ImageBuffer::ImageBuffer (
    ImageBuffer && other
)

function ~ImageBuffer

virtual ffw::ImageBuffer::~ImageBuffer ()

function isAllocated

bool ffw::ImageBuffer::isAllocated () const

function operator bool

ffw::ImageBuffer::operator bool () const

function getNumOfMipMaps

int ffw::ImageBuffer::getNumOfMipMaps () const

function swap

void ffw::ImageBuffer::swap (
    ImageBuffer & second
)

function destroy

void ffw::ImageBuffer::destroy ()

function allocate

bool ffw::ImageBuffer::allocate (
    int w,
    int h,
    ffw::ImageType type,
    const void * pixels = NULL,
    int mips = 0
)

function getPtr (1/2)

unsigned char * ffw::ImageBuffer::getPtr ()

function getPtr (2/2)

const unsigned char * ffw::ImageBuffer::getPtr () const

function getMipMapPtr (1/2)

unsigned char * ffw::ImageBuffer::getMipMapPtr (
    int level
)

function getMipMapPtr (2/2)

const unsigned char * ffw::ImageBuffer::getMipMapPtr (
    int level
) const

function getSize

size_t ffw::ImageBuffer::getSize () const

function operator= (1/2)

ImageBuffer & ffw::ImageBuffer::operator= (
    const ImageBuffer & other
) = delete

function operator= (2/2)

ImageBuffer & ffw::ImageBuffer::operator= (
    ImageBuffer && other
)

function operator==

bool ffw::ImageBuffer::operator== (
    const ImageBuffer & other
) const

The documentation for this class was generated from the following file: include/ffw/media/imagebuffer.h