3ds Max C++ API Reference
|
Interface used to provide generic access to the bitmap aperture. More...
#include <IPhysicalCamera_BitmapApertureSampler.h>
Public Member Functions | |
virtual unsigned int | get_x_resolution () const =0 |
Returns the resolution of the bitmap aperture in X. More... | |
virtual unsigned int | get_y_resolution () const =0 |
Returns the resolution of the bitmap aperture in Y. More... | |
virtual RGBValue | get_pixel_value (const unsigned int x, const unsigned int y) const =0 |
Returns the contents of the pixel in the bitmap aperture, at the given X and Y coordinates. More... | |
Interface used to provide generic access to the bitmap aperture.
This class abstracts the access mechanism to the bitmap aperture, such that we have no direct dependency to class Texmap. If the client is implementing this interface from a Max SDK plugin, then it may provide direct access to the contents of the Texmap, baked using Texmap::RenderBitmap. But if the client is calling the sampler from a shader that doesn't have access to the Max SDK, then it should access the texmap using whatever facilities are exposed by the shading API.
|
pure virtual |
Returns the resolution of the bitmap aperture in X.
|
pure virtual |
Returns the resolution of the bitmap aperture in Y.