This class represents a sampler object.
More...
#include <talvos/Image.h>
|
| VkSamplerCreateInfo | Info |
| | The sampler parameters. More...
|
| |
This class represents a sampler object.
Definition at line 252 of file Image.h.
| talvos::Sampler::Sampler |
( |
const VkSamplerCreateInfo & |
CreateInfo | ) |
|
|
inline |
Create a sampler.
Definition at line 256 of file Image.h.
| void talvos::Sampler::sample |
( |
const ImageView * |
Image, |
|
|
Image::Texel & |
Texel, |
|
|
float |
S, |
|
|
float |
T = 0, |
|
|
float |
R = 0, |
|
|
float |
A = 0, |
|
|
float |
Lod = 0 |
|
) |
| const |
Sample a texel from an image at the specified coordinates.
Definition at line 517 of file Image.cpp.
| VkSamplerCreateInfo talvos::Sampler::Info |
|
private |
The sampler parameters.
Definition at line 264 of file Image.h.