HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IMG_TTMipSampler Class Reference

#include <IMG_TTMipSampler.h>

Public Member Functions

 IMG_TTMipSampler (int xres, int yres, IMG_TTChannel *ch)
 
 ~IMG_TTMipSampler ()
 
int64 getMemoryUsage (bool inclusive) const
 
void getPixel (void *pixel, int iu, int iv)
 This method returns raw pixel data. iu and iv are in screen space. More...
 
void sample (float *result, int nchan, float u, float v, const IMG_TextureFilter &filter)
 
void sample (float *result, float &visible, int nchan, float u, float v, float du, float dv, const IMG_TextureFilter &filter, float mipblend)
 
void sampleBilinear (float *result, int nchan, float u, float v, float &visible, const IMG_TextureFilter &filter)
 
void sampleBicubic (float *result, int nchan, float u, float v, float &visible, const IMG_TextureFilter &filter)
 
void sampleBiquadratic (float *result, int nchan, float u, float v, float &visible, const IMG_TextureFilter &filter)
 

Detailed Description

Definition at line 21 of file IMG_TTMipSampler.h.

Constructor & Destructor Documentation

IMG_TTMipSampler::IMG_TTMipSampler ( int  xres,
int  yres,
IMG_TTChannel ch 
)
IMG_TTMipSampler::~IMG_TTMipSampler ( )

Member Function Documentation

int64 IMG_TTMipSampler::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 27 of file IMG_TTMipSampler.h.

void IMG_TTMipSampler::getPixel ( void pixel,
int  iu,
int  iv 
)

This method returns raw pixel data. iu and iv are in screen space.

void IMG_TTMipSampler::sample ( float *  result,
int  nchan,
float  u,
float  v,
const IMG_TextureFilter filter 
)
void IMG_TTMipSampler::sample ( float *  result,
float &  visible,
int  nchan,
float  u,
float  v,
float  du,
float  dv,
const IMG_TextureFilter filter,
float  mipblend 
)
void IMG_TTMipSampler::sampleBicubic ( float *  result,
int  nchan,
float  u,
float  v,
float &  visible,
const IMG_TextureFilter filter 
)
void IMG_TTMipSampler::sampleBilinear ( float *  result,
int  nchan,
float  u,
float  v,
float &  visible,
const IMG_TextureFilter filter 
)
void IMG_TTMipSampler::sampleBiquadratic ( float *  result,
int  nchan,
float  u,
float  v,
float &  visible,
const IMG_TextureFilter filter 
)

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