VRay SDK for C++
Loading...
Searching...
No Matches
VRay::CompressImage Class Reference

Base class for LocalJpeg, LocalPng, LocalBmp. Can't be instantiated. More...

#include <vraysdk.hpp>

Inheritance diagram for VRay::CompressImage:
VRay::LocalBmp VRay::LocalJpeg VRay::LocalPng

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
 

Detailed Description

Base class for LocalJpeg, LocalPng, LocalBmp. Can't be instantiated.


The documentation for this class was generated from the following file: