The ImageSamplerNearest class.
More...
#include <display.hpp>
|
| ImageSamplerNearest () |
| ImageSamplerNearest. More...
|
|
void | SampleImage (Image *img, float x, float y, float *vOut) |
| SampleImage samples an image in uniform coordiantes. More...
|
|
void | SampleImageUC (Image *img, float x, float y, float *vOut) |
| SampleImageUC samples an image in unnormalized coordinates [0,width-1]x[0,height-1]. More...
|
|
void | SampleImage (Image *img, float x, float y, float t, float *vOut) |
| SampleImage samples an image in uniform coordiantes. More...
|
|
| ImageSampler () |
| ImageSampler. More...
|
|
| ~ImageSampler () |
|
void | SetDirection (unsigned int direction) |
|
◆ ImageSamplerNearest()
pic::pic::ImageSamplerNearest::ImageSamplerNearest |
( |
| ) |
|
|
inline |
◆ SampleImage() [1/2]
void pic::pic::ImageSamplerNearest::SampleImage |
( |
Image * |
img, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float * |
vOut |
|
) |
| |
|
inlinevirtual |
◆ SampleImage() [2/2]
void pic::pic::ImageSamplerNearest::SampleImage |
( |
Image * |
img, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
t, |
|
|
float * |
vOut |
|
) |
| |
|
inlinevirtual |
◆ SampleImageUC()
void pic::pic::ImageSamplerNearest::SampleImageUC |
( |
Image * |
img, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float * |
vOut |
|
) |
| |
|
inlinevirtual |
SampleImageUC samples an image in unnormalized coordinates [0,width-1]x[0,height-1].
- Parameters
-
Reimplemented from pic::pic::ImageSampler.
The documentation for this class was generated from the following file:
- C:/Users/Francesco/Documents/GitHub/piccante/include/util/gl/display.hpp