VRay SDK for C++
|
Base class for LocalJpeg, LocalPng, LocalBmp. Can't be instantiated. More...
#include <vraysdk.hpp>
Public Member Functions | |
void * | getBuf () const |
Returns a pointer to the image data. | |
size_t | getLen () const |
Returns size of image data in bytes. | |
operator size_t () const | |
bool | saveToFile (const char *fileName) const |
Write the data to disk. | |
bool | saveToFile (const std::string &fileName) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | swap (CompressImage &ci) |
Protected Attributes | |
byte * | bufAddr |
size_t | bufSize |